|
|
6f33bc |
%global glib2_version 2.34.0
|
|
|
6f33bc |
|
|
|
6f33bc |
Name: gdk-pixbuf2
|
|
|
6f33bc |
Version: 2.28.2
|
|
|
5662a1 |
Release: 4%{?dist}
|
|
|
6f33bc |
Summary: An image loading library
|
|
|
6f33bc |
|
|
|
6f33bc |
Group: System Environment/Libraries
|
|
|
6f33bc |
License: LGPLv2+
|
|
|
6f33bc |
URL: http://www.gt.org
|
|
|
6f33bc |
#VCS: git:git://git.gnome.org/gdk-pixbuf
|
|
|
6f33bc |
Source0: http://download.gnome.org/sources/gdk-pixbuf/2.28/gdk-pixbuf-%{version}.tar.xz
|
|
|
6f33bc |
|
|
|
5662a1 |
# upstream fix
|
|
|
5662a1 |
Patch0: 0001-Make-update-cache-work-better.patch
|
|
|
6f33bc |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
6f33bc |
BuildRequires: libpng-devel
|
|
|
6f33bc |
BuildRequires: libjpeg-devel
|
|
|
6f33bc |
BuildRequires: libtiff-devel
|
|
|
6f33bc |
BuildRequires: jasper-devel
|
|
|
6f33bc |
BuildRequires: libX11-devel
|
|
|
6f33bc |
BuildRequires: gobject-introspection-devel >= 0.9.3
|
|
|
6f33bc |
# gdk-pixbuf does a configure time check which uses the GIO mime
|
|
|
6f33bc |
# layer; we need to actually have the mime type database.
|
|
|
6f33bc |
BuildRequires: shared-mime-info
|
|
|
6f33bc |
# Bootstrap requirements
|
|
|
6f33bc |
BuildRequires: autoconf automake libtool gtk-doc
|
|
|
6f33bc |
BuildRequires: gettext-autopoint
|
|
|
6f33bc |
|
|
|
6f33bc |
Requires: glib2 >= %{glib2_version}
|
|
|
6f33bc |
|
|
|
6f33bc |
# We also need MIME information at runtime
|
|
|
6f33bc |
Requires: shared-mime-info
|
|
|
6f33bc |
|
|
|
6f33bc |
# gdk-pixbuf was included in gtk2 until 2.21.2
|
|
|
6f33bc |
Conflicts: gtk2 <= 2.21.2
|
|
|
6f33bc |
|
|
|
6f33bc |
%description
|
|
|
6f33bc |
gdk-pixbuf is an image loading library that can be extended by loadable
|
|
|
6f33bc |
modules for new image formats. It is used by toolkits such as GTK+ or
|
|
|
6f33bc |
clutter.
|
|
|
6f33bc |
|
|
|
6f33bc |
%package devel
|
|
|
6f33bc |
Summary: Development files for gdk-pixbuf
|
|
|
6f33bc |
Group: Development/Libraries
|
|
|
6f33bc |
Requires: %{name} = %{version}-%{release}
|
|
|
6f33bc |
Requires: glib2-devel >= %{glib2_version}
|
|
|
6f33bc |
|
|
|
6f33bc |
# gdk-pixbuf was included in gtk2 until 2.21.2
|
|
|
6f33bc |
Conflicts: gtk2-devel <= 2.21.2
|
|
|
6f33bc |
|
|
|
6f33bc |
%description devel
|
|
|
6f33bc |
This package contains the libraries and header files that are needed
|
|
|
6f33bc |
for writing applications that are using gdk-pixbuf.
|
|
|
6f33bc |
|
|
|
6f33bc |
|
|
|
6f33bc |
%prep
|
|
|
6f33bc |
%setup -q -n gdk-pixbuf-%{version}
|
|
|
5662a1 |
%patch0 -p1
|
|
|
6f33bc |
|
|
|
6f33bc |
%build
|
|
|
6f33bc |
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
|
|
|
6f33bc |
%configure $CONFIGFLAGS \
|
|
|
6f33bc |
--with-x11 \
|
|
|
6f33bc |
--with-libjasper \
|
|
|
6f33bc |
--with-included-loaders=png )
|
|
|
6f33bc |
make %{?_smp_mflags}
|
|
|
6f33bc |
|
|
|
6f33bc |
|
|
|
6f33bc |
%install
|
|
|
6f33bc |
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
|
6f33bc |
RUN_QUERY_LOADER_TEST=false
|
|
|
6f33bc |
|
|
|
6f33bc |
# Remove unpackaged files
|
|
|
6f33bc |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
6f33bc |
rm $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.la
|
|
|
6f33bc |
|
|
|
6f33bc |
touch $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
|
|
6f33bc |
|
|
|
6f33bc |
(cd $RPM_BUILD_ROOT%{_bindir}
|
|
|
6f33bc |
mv gdk-pixbuf-query-loaders gdk-pixbuf-query-loaders-%{__isa_bits}
|
|
|
6f33bc |
)
|
|
|
6f33bc |
|
|
|
6f33bc |
%find_lang gdk-pixbuf
|
|
|
6f33bc |
|
|
|
6f33bc |
%post
|
|
|
6f33bc |
/sbin/ldconfig
|
|
|
6f33bc |
gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || :
|
|
|
6f33bc |
|
|
|
6f33bc |
%postun
|
|
|
6f33bc |
/sbin/ldconfig
|
|
|
6f33bc |
if [ $1 -gt 0 ]; then
|
|
|
6f33bc |
gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache || :
|
|
|
6f33bc |
fi
|
|
|
6f33bc |
|
|
|
6f33bc |
%files -f gdk-pixbuf.lang
|
|
|
6f33bc |
%doc AUTHORS COPYING NEWS
|
|
|
6f33bc |
%{_libdir}/libgdk_pixbuf-2.0.so.*
|
|
|
6f33bc |
%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
|
|
|
6f33bc |
%{_libdir}/girepository-1.0
|
|
|
6f33bc |
%dir %{_libdir}/gdk-pixbuf-2.0
|
|
|
6f33bc |
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0
|
|
|
6f33bc |
%dir %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
|
|
|
6f33bc |
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.so
|
|
|
6f33bc |
%ghost %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
|
|
6f33bc |
%{_bindir}/gdk-pixbuf-query-loaders-%{__isa_bits}
|
|
|
6f33bc |
%{_mandir}/man1/gdk-pixbuf-query-loaders.1*
|
|
|
6f33bc |
|
|
|
6f33bc |
%files devel
|
|
|
6f33bc |
%{_includedir}/gdk-pixbuf-2.0
|
|
|
6f33bc |
%{_libdir}/libgdk_pixbuf-2.0.so
|
|
|
6f33bc |
%{_libdir}/libgdk_pixbuf_xlib-2.0.so
|
|
|
6f33bc |
%{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
|
|
|
6f33bc |
%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
|
|
|
6f33bc |
%{_bindir}/gdk-pixbuf-csource
|
|
|
6f33bc |
%{_bindir}/gdk-pixbuf-pixdata
|
|
|
6f33bc |
%{_datadir}/gir-1.0
|
|
|
6f33bc |
%{_datadir}/gtk-doc/html/*
|
|
|
6f33bc |
%{_mandir}/man1/gdk-pixbuf-csource.1*
|
|
|
6f33bc |
|
|
|
6f33bc |
|
|
|
6f33bc |
%changelog
|
|
|
5662a1 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.28.2-4
|
|
|
5662a1 |
- Mass rebuild 2014-01-24
|
|
|
5662a1 |
|
|
|
5662a1 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.28.2-3
|
|
|
5662a1 |
- Mass rebuild 2013-12-27
|
|
|
5662a1 |
|
|
|
5662a1 |
* Mon Nov 18 2013 Matthias Clasen <mclasen@redhat.com> - 2.28.2-2
|
|
|
5662a1 |
- Fix interaction between --update-cache and other args
|
|
|
5662a1 |
- Resolves: #1029796
|
|
|
5662a1 |
|
|
|
6f33bc |
* Fri Jun 7 2013 Matthias Clasen <mclasen@redhat.com> - 2.28.2-1
|
|
|
6f33bc |
- Update to 2.28.2
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Apr 15 2013 Richard Hughes <rhughes@redhat.com> - 2.28.1-1
|
|
|
6f33bc |
- Update to 2.28.1
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 2.28.0-1
|
|
|
6f33bc |
- Update to 2.28.0
|
|
|
6f33bc |
|
|
|
6f33bc |
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 2.27.3-1
|
|
|
6f33bc |
- Update to 2.27.3
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Mar 04 2013 Richard Hughes <rhughes@redhat.com> - 2.27.2-1
|
|
|
6f33bc |
- Update to 2.27.2
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Feb 05 2013 Kalev Lember <kalevlember@gmail.com> - 2.27.1-1
|
|
|
6f33bc |
- Update to 2.27.1
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 2.27.0-2
|
|
|
6f33bc |
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Jan 15 2013 Matthias Clasen <mclasen@redhat.com> - 2.27.0-1
|
|
|
6f33bc |
- Update to 2.27.0
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Jan 15 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.26.5-3
|
|
|
6f33bc |
- Require glib2 >= 2.34.0 for g_type_ensure().
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 2.26.5-2
|
|
|
6f33bc |
- rebuild against new libjpeg
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Nov 12 2012 Kalev Lember <kalevlember@gmail.com> - 2.26.5-1
|
|
|
6f33bc |
- Update to 2.26.5
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Sep 18 2012 Kalev Lember <kalevlember@gmail.com> - 2.26.4-1
|
|
|
6f33bc |
- Update to 2.26.4
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Aug 07 2012 Richard Hughes <hughsient@gmail.com> - 2.26.2-1
|
|
|
6f33bc |
- Update to 2.26.2
|
|
|
6f33bc |
|
|
|
6f33bc |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.1-2
|
|
|
6f33bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri May 18 2012 Richard Hughes <hughsient@gmail.com> - 2.26.1-1
|
|
|
6f33bc |
- Update to 2.26.1
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Mar 20 2012 Kalev Lember <kalevlember@gmail.com> - 2.26.0-1
|
|
|
6f33bc |
- Update to 2.26.0
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Feb 6 2012 Matthias Clasen <mclasen@redhat.com> - 2.25.2-1
|
|
|
6f33bc |
- Update to 2.25.2
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.0-2
|
|
|
6f33bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri Dec 16 2011 Matthias Clasen <mclasen@redhat.com> - 2.25.0-1
|
|
|
6f33bc |
- Update to 2.25.0
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Nov 7 2011 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2
|
|
|
6f33bc |
- Rebuild against new libpng
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Aug 30 2011 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
|
|
|
6f33bc |
- Update to 2.24.0
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Jun 27 2011 Matthias Clasen <mclasen@redhat.com> - 2.23.5-1
|
|
|
6f33bc |
- Update to 2.23.5 (fixes CVE-2011-2485)
|
|
|
6f33bc |
|
|
|
6f33bc |
* Wed Jun 15 2011 Tomas Bzatek <tbzatek@redhat.com> - 2.23.4-1
|
|
|
6f33bc |
- Update to 2.23.4
|
|
|
6f33bc |
|
|
|
6f33bc |
* Wed Mar 30 2011 Matthias Clasen <mclasen@redhat.com> 2.23.3-1
|
|
|
6f33bc |
- Update to 2.23.3
|
|
|
6f33bc |
|
|
|
6f33bc |
* Sat Mar 5 2011 Matthias Clasen <mclasen@redhat.com> 2.23.1-1
|
|
|
6f33bc |
- Update to 2.23.1
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23.0-2
|
|
|
6f33bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6f33bc |
|
|
|
6f33bc |
* Sun Jan 9 2011 Matthias Clasen <mclasen@redhat.com> 2.23.0-1
|
|
|
6f33bc |
- Update to 2.23.0
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri Nov 5 2010 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
|
|
|
6f33bc |
- Update to 2.22.1
|
|
|
6f33bc |
|
|
|
6f33bc |
* Wed Sep 29 2010 jkeating - 2.22.0-2
|
|
|
6f33bc |
- Rebuilt for gcc bug 634757
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
|
|
|
6f33bc |
- Update to 2.22.0
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Jul 19 2010 Bastien Nocera <bnocera@redhat.com> 2.21.6-3
|
|
|
6f33bc |
- Require libpng for linking
|
|
|
6f33bc |
|
|
|
6f33bc |
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 2.21.6-2
|
|
|
6f33bc |
- Rebuild with new gobject-introspection
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 2.21.6-1
|
|
|
6f33bc |
- Update to 2.21.6
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri Jul 2 2010 Colin Walters <walters@verbum.org> - 2.21.5-4
|
|
|
6f33bc |
- Also Require shared-mime-info for same reason
|
|
|
6f33bc |
|
|
|
6f33bc |
* Fri Jul 2 2010 Colin Walters <walters@verbum.org> - 2.21.5-3
|
|
|
6f33bc |
- BR shared-mime-info; see comment above it
|
|
|
6f33bc |
|
|
|
6f33bc |
* Tue Jun 29 2010 Colin Walters <walters@pocket> - 2.21.5-2
|
|
|
6f33bc |
- Changes to support snapshot builds
|
|
|
6f33bc |
|
|
|
6f33bc |
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> 2.21.5-1
|
|
|
6f33bc |
- Update to 2.21.5
|
|
|
6f33bc |
|
|
|
6f33bc |
* Sat Jun 26 2010 Matthias Clasen <mclasen@redhat.com> 2.21.4-2
|
|
|
6f33bc |
- Rename to gdk-pixbuf2 to avoid conflict with the
|
|
|
6f33bc |
existing gdk-pixbuf package
|
|
|
6f33bc |
|
|
|
6f33bc |
* Sat Jun 26 2010 Matthias Clasen <mclasen@redhat.com> 2.21.4-1
|
|
|
6f33bc |
- Update to 2.21.4
|
|
|
6f33bc |
- Incorporate package review feedback
|
|
|
6f33bc |
|
|
|
6f33bc |
* Sat Jun 26 2010 Matthias Clasen <mclasen@redhat.com> 2.21.3-1
|
|
|
6f33bc |
- Initial packaging
|