Summary: A dynamic, any to any, pixel format conversion library Name: babl Version: 0.0.15 Release: 0.5.20071011svn%{?dist} License: LGPLv2+ and GPLv2+ Group: System Environment/Libraries URL: http://www.gegl.org/babl/ # Tarball generated from svn checkout on the date referenced in the spec # 'Release' field. The tarball can be re-generated as follows; # svn co -r 241 http://svn.gnome.org/svn/babl/trunk/ babl-svn20071011 # tar -cjf babl-svn20071011.tar.bz2 babl-svn20071011 Source0: %{name}-svn20071011.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: inkscape w3m #Requires these temporarily because of the use of the autogen script BuildRequires: autoconf automake libtool %description Babl is a dynamic, any to any, pixel format conversion library. It provides conversions between the myriad of buffer types images can be stored in. Babl doesn't only help with existing pixel formats, but also facilitates creation of new and uncommon ones. %package devel Summary: Headers for developing programs that will use %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package contains the libraries and header files needed for developing with %{name}. %prep %setup -q -n %{name}-svn20071011 %build ./autogen.sh %configure make %{?_smp_mflags} #Below is not necessary with a 'release' tarball make README %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install INSTALL='install -p' mkdir -p babl_docs babl_docs/html cp -pr docs/graphics docs/*.html docs/babl.css babl_docs/html rm -rf babl_docs/html/graphics/.svn babl_docs/html/graphics/Makefile* rm -rf %{buildroot}%{_libdir}/*.la %check make check %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root, -) %doc AUTHORS ChangeLog COPYING README NEWS %{_libdir}/*.so.* %{_libdir}/babl-0.0/ %files devel %defattr(-, root, root, -) %doc babl_docs/html %{_includedir}/babl-0.0/babl/ %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Mon Oct 22 2007 Deji Akingunola - 0.0.15-0.5.20071011svn - Update the License field * Fri Oct 12 2007 Deji Akingunola - 0.0.15-0.4.20071011svn - Package the extension libraries in the main package - Run 'make check' * Fri Oct 12 2007 Deji Akingunola - 0.0.15-0.3.20071011svn - Ensure timestamps are kept during install * Fri Oct 12 2007 Deji Akingunola - 0.0.15-0.2.20071011svn - Remove the use of inexistent source url (Package reviews) - Package the html docs * Thu Oct 11 2007 Deji Akingunola - 0.0.15-0.1.20071011svn - Initial packaging for Fedora