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

View File

@ -21,9 +21,9 @@ Name: gegl
Version: 0.2.0
Release: 0
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
Url: http://gegl.org/
URL: http://gegl.org/
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
Patch0: gegl-lua52.patch
@ -68,7 +68,6 @@ BuildRequires: lua-devel
BuildRequires: ruby
# For umfpack
BuildRequires: suitesparse-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?BUILD_ORIG}
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
@ -177,7 +176,7 @@ export RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing"
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
%if ! 0%{?BUILD_ORIG}
for MODULE in \
%{_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}
%post -n libgegl-0_2-0 -p /sbin/ldconfig
%postun -n libgegl-0_2-0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/gegl
%files 0_2
%defattr(-,root,root)
%dir %{_libdir}/gegl-0.2/
%{_libdir}/gegl-0.2/*.so
%if 0%{?BUILD_ORIG}
@ -205,27 +201,23 @@ find %{buildroot} -type f -name "*.la" -delete -print
%exclude %{_libdir}/gegl-0.2/ff-load.so
%files 0_2-orig-addon
%defattr(-,root,root)
%{_libdir}/gegl-0.2/ff-load.so
%endif
%endif
%files -n libgegl-0_2-0
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/libgegl-0.2.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/gegl-0.2/
%{_libdir}/libgegl-0.2.so
%{_libdir}/pkgconfig/gegl-0.2.pc
%files doc
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/gegl/
%files -n %{name}-0_2-lang -f %{name}-0.2.lang
%defattr(-,root,root)
%changelog