Accepting request 582711 from GNOME:Factory
spec-cleaner (forwarded request 581039 from dimstar) OBS-URL: https://build.opensuse.org/request/show/582711 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdk-pixbuf?expand=0&rev=68
This commit is contained in:
commit
5d1313fcd3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:25:54 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 5 17:38:55 UTC 2018 - mgorse@suse.com
|
Fri Jan 5 17:38:55 UTC 2018 - mgorse@suse.com
|
||||||
|
|
||||||
|
@ -22,9 +22,9 @@ Name: gdk-pixbuf
|
|||||||
Version: 2.36.11
|
Version: 2.36.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An image loading library
|
Summary: An image loading library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Url: https://www.gnome.org/
|
URL: https://www.gnome.org/
|
||||||
Source: https://download.gnome.org/sources/gdk-pixbuf/2.36/%{name}-%{version}.tar.xz
|
Source: https://download.gnome.org/sources/gdk-pixbuf/2.36/%{name}-%{version}.tar.xz
|
||||||
Source1: macros.gdk-pixbuf
|
Source1: macros.gdk-pixbuf
|
||||||
Source2: README.SUSE
|
Source2: README.SUSE
|
||||||
@ -134,7 +134,7 @@ translation-update-upstream
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%if "%_lib" == "lib64"
|
%if "%{_lib}" == "lib64"
|
||||||
cp -a %{SOURCE2} .
|
cp -a %{SOURCE2} .
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -147,7 +147,7 @@ cp -a %{SOURCE2} .
|
|||||||
rm -rf %{buildroot}{%{_libexecdir},%{_datadir}}/installed-tests/
|
rm -rf %{buildroot}{%{_libexecdir},%{_datadir}}/installed-tests/
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
touch %{buildroot}%{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders.cache
|
touch %{buildroot}%{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders.cache
|
||||||
%if "%_lib" == "lib64"
|
%if "%{_lib}" == "lib64"
|
||||||
mv %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders-64
|
mv %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders %{buildroot}%{_bindir}/gdk-pixbuf-query-loaders-64
|
||||||
mv %{buildroot}%{_mandir}/man1/gdk-pixbuf-query-loaders.1 %{buildroot}%{_mandir}/man1/gdk-pixbuf-query-loaders-64.1
|
mv %{buildroot}%{_mandir}/man1/gdk-pixbuf-query-loaders.1 %{buildroot}%{_mandir}/man1/gdk-pixbuf-query-loaders-64.1
|
||||||
%endif
|
%endif
|
||||||
@ -160,7 +160,7 @@ cp %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# Convenient %%define for the scriplets
|
# Convenient %%define for the scriplets
|
||||||
%if "%_lib" == "lib64"
|
%if "%{_lib}" == "lib64"
|
||||||
%define _gdk_pixbuf_query_loaders %{_bindir}/gdk-pixbuf-query-loaders-64
|
%define _gdk_pixbuf_query_loaders %{_bindir}/gdk-pixbuf-query-loaders-64
|
||||||
%else
|
%else
|
||||||
%define _gdk_pixbuf_query_loaders %{_bindir}/gdk-pixbuf-query-loaders
|
%define _gdk_pixbuf_query_loaders %{_bindir}/gdk-pixbuf-query-loaders
|
||||||
@ -202,9 +202,9 @@ fi
|
|||||||
%postun -n libgdk_pixbuf-2_0-0 -p /sbin/ldconfig
|
%postun -n libgdk_pixbuf-2_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libgdk_pixbuf-2_0-0
|
%files -n libgdk_pixbuf-2_0-0
|
||||||
%defattr(-, root, root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING NEWS
|
%doc AUTHORS NEWS
|
||||||
%if "%_lib" == "lib64"
|
%if "%{_lib}" == "lib64"
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/libgdk_pixbuf-2.0.so.0*
|
%{_libdir}/libgdk_pixbuf-2.0.so.0*
|
||||||
@ -216,22 +216,18 @@ fi
|
|||||||
%ghost %{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders.cache
|
%ghost %{_libdir}/gdk-pixbuf-2.0/%{gdk_pixbuf_binary_version}/loaders.cache
|
||||||
|
|
||||||
%files -n typelib-1_0-GdkPixbuf-2_0
|
%files -n typelib-1_0-GdkPixbuf-2_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/GdkPixbuf-2.0.typelib
|
%{_libdir}/girepository-1.0/GdkPixbuf-2.0.typelib
|
||||||
|
|
||||||
%files query-loaders
|
%files query-loaders
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_bindir}/gdk-pixbuf-query-loaders*
|
%{_bindir}/gdk-pixbuf-query-loaders*
|
||||||
%{_mandir}/man1/gdk-pixbuf-query-loaders*.1*
|
%{_mandir}/man1/gdk-pixbuf-query-loaders*.1*
|
||||||
|
|
||||||
%files thumbnailer
|
%files thumbnailer
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_bindir}/gdk-pixbuf-thumbnailer
|
%{_bindir}/gdk-pixbuf-thumbnailer
|
||||||
%dir %{_datadir}/thumbnailers
|
%dir %{_datadir}/thumbnailers
|
||||||
%{_datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer
|
%{_datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_bindir}/gdk-pixbuf-csource
|
%{_bindir}/gdk-pixbuf-csource
|
||||||
%{_bindir}/gdk-pixbuf-pixdata
|
%{_bindir}/gdk-pixbuf-pixdata
|
||||||
%{_mandir}/man1/gdk-pixbuf-csource.1*
|
%{_mandir}/man1/gdk-pixbuf-csource.1*
|
||||||
|
Loading…
Reference in New Issue
Block a user