Accepting request 583637 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/583637
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=45
This commit is contained in:
OBS User mrdocs 2018-03-06 22:32:16 +00:00 committed by Git OBS Bridge
parent c3fe5f35a8
commit 21d92d7c92
2 changed files with 10 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:26:18 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 24 12:59:26 UTC 2018 - pgajdos@suse.com Wed Jan 24 12:59:26 UTC 2018 - pgajdos@suse.com

View File

@ -21,9 +21,9 @@ Name: gegl
Version: 0.2.0 Version: 0.2.0
Release: 0 Release: 0
Summary: Generic Graphics Library Summary: Generic Graphics Library
License: GPL-3.0+ and LGPL-3.0+ License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
Url: http://gegl.org/ URL: http://gegl.org/
Source: http://ftp.gtk.org/pub/gegl/0.2/%{name}-%{version}.tar.bz2 Source: http://ftp.gtk.org/pub/gegl/0.2/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gegl-lua52.patch bgo#667675 vuntz@opensuse.org -- Fix build with lua 5.2 # PATCH-FIX-UPSTREAM gegl-lua52.patch bgo#667675 vuntz@opensuse.org -- Fix build with lua 5.2
Patch0: gegl-lua52.patch Patch0: gegl-lua52.patch
@ -68,7 +68,6 @@ BuildRequires: lua-devel
BuildRequires: ruby BuildRequires: ruby
# For umfpack # For umfpack
BuildRequires: suitesparse-devel BuildRequires: suitesparse-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavformat)
@ -177,7 +176,7 @@ export RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
%if ! 0%{?BUILD_ORIG} %if ! 0%{?BUILD_ORIG}
for MODULE in \ for MODULE in \
%{_libdir}/gegl-0.2/ff-load.so \ %{_libdir}/gegl-0.2/ff-load.so \
@ -189,15 +188,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}-0.2 %{?no_lang_C} %find_lang %{name}-0.2 %{?no_lang_C}
%post -n libgegl-0_2-0 -p /sbin/ldconfig %post -n libgegl-0_2-0 -p /sbin/ldconfig
%postun -n libgegl-0_2-0 -p /sbin/ldconfig %postun -n libgegl-0_2-0 -p /sbin/ldconfig
%files %files
%defattr(-,root,root)
%{_bindir}/gegl %{_bindir}/gegl
%files 0_2 %files 0_2
%defattr(-,root,root)
%dir %{_libdir}/gegl-0.2/ %dir %{_libdir}/gegl-0.2/
%{_libdir}/gegl-0.2/*.so %{_libdir}/gegl-0.2/*.so
%if 0%{?BUILD_ORIG} %if 0%{?BUILD_ORIG}
@ -205,27 +201,23 @@ find %{buildroot} -type f -name "*.la" -delete -print
%exclude %{_libdir}/gegl-0.2/ff-load.so %exclude %{_libdir}/gegl-0.2/ff-load.so
%files 0_2-orig-addon %files 0_2-orig-addon
%defattr(-,root,root)
%{_libdir}/gegl-0.2/ff-load.so %{_libdir}/gegl-0.2/ff-load.so
%endif %endif
%endif %endif
%files -n libgegl-0_2-0 %files -n libgegl-0_2-0
%defattr(-,root,root) %license COPYING
%doc AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README %doc AUTHORS ChangeLog NEWS README
%{_libdir}/libgegl-0.2.so.* %{_libdir}/libgegl-0.2.so.*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/gegl-0.2/ %{_includedir}/gegl-0.2/
%{_libdir}/libgegl-0.2.so %{_libdir}/libgegl-0.2.so
%{_libdir}/pkgconfig/gegl-0.2.pc %{_libdir}/pkgconfig/gegl-0.2.pc
%files doc %files doc
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/gegl/ %doc %{_datadir}/gtk-doc/html/gegl/
%files -n %{name}-0_2-lang -f %{name}-0.2.lang %files -n %{name}-0_2-lang -f %{name}-0.2.lang
%defattr(-,root,root)
%changelog %changelog