Split out the xlib code as a subpackage
This commit is contained in:
parent
b8a4b68c25
commit
ee9864d67d
@ -2,7 +2,7 @@
|
||||
|
||||
Name: gdk-pixbuf2
|
||||
Version: 2.31.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: An image loading library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -46,6 +46,23 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
This package contains the additional modules that are needed to load various
|
||||
image formats such as ICO and .
|
||||
|
||||
%package xlib
|
||||
Summary: Additional library for using gdk-pixbuf with bare xlib
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description xlib
|
||||
This package contains the old libgdk-pixbuf-xlib library that is needed by some
|
||||
programs to load GdkPixbuf using bare XLib calls.
|
||||
|
||||
%package xlib-devel
|
||||
Summary: Development files for gdk-pixbuf-xlib
|
||||
Requires: %{name}-xlib%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa}-devel = %{version}-%{release}
|
||||
|
||||
%description xlib-devel
|
||||
This package contains the libraries and header files that are needed
|
||||
for writing applications that are using gdk-pixbuf-xlib.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for gdk-pixbuf
|
||||
Group: Development/Libraries
|
||||
@ -117,11 +134,14 @@ if [ $1 -gt 0 ]; then
|
||||
gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || :
|
||||
fi
|
||||
|
||||
%post xlib -p /sbin/ldconfig
|
||||
|
||||
%postun xlib -p /sbin/ldconfig
|
||||
|
||||
%files -f gdk-pixbuf.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS
|
||||
%{_libdir}/libgdk_pixbuf-2.0.so.*
|
||||
%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
|
||||
%{_libdir}/girepository-1.0
|
||||
%dir %{_libdir}/gdk-pixbuf-2.0
|
||||
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0
|
||||
@ -133,12 +153,17 @@ fi
|
||||
%files modules
|
||||
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.so
|
||||
|
||||
%files xlib
|
||||
%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
|
||||
|
||||
%files xlib-devel
|
||||
%{_libdir}/libgdk_pixbuf_xlib-2.0.so
|
||||
%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
|
||||
|
||||
%files devel
|
||||
%{_includedir}/gdk-pixbuf-2.0
|
||||
%{_libdir}/libgdk_pixbuf-2.0.so
|
||||
%{_libdir}/libgdk_pixbuf_xlib-2.0.so
|
||||
%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
|
||||
%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
|
||||
%{_bindir}/gdk-pixbuf-csource
|
||||
%{_bindir}/gdk-pixbuf-pixdata
|
||||
%{_datadir}/gir-1.0
|
||||
@ -151,6 +176,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 20 2015 Richard Hughes <rhughes@redhat.com> - 2.31.3-3
|
||||
- Split out the xlib code as a subpackage to allows us to depend on the core
|
||||
library on the cloud image and not depends on half of Xorg.
|
||||
|
||||
* Fri Mar 20 2015 Richard Hughes <rhughes@redhat.com> - 2.31.3-2
|
||||
- Split out the modules as a subpackage to allows us to depend on the core
|
||||
library on the cloud image and not drag every image loader known to man.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user