babl/babl.spec

100 lines
2.8 KiB
RPMSpec
Raw Normal View History

2007-10-23 02:01:27 +00:00
Summary: A dynamic, any to any, pixel format conversion library
Name: babl
2008-01-10 16:03:24 +00:00
Version: 0.0.18
Release: 2%{?dist}
# The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
License: LGPLv3+ and GPLv3+
2007-10-23 02:01:27 +00:00
Group: System Environment/Libraries
URL: http://www.gegl.org/babl/
Source0: ftp://ftp.gtk.org/pub/babl/0.0/%{name}-%{version}.tar.bz2
Patch0: babl-extensions-path.patch
2007-10-23 02:01:27 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: inkscape w3m ruby
BuildRequires: automake autoconf libtool
2007-10-23 02:01:27 +00:00
%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
%patch0 -p0 -b .ext
2007-10-23 02:01:27 +00:00
%build
2008-02-09 06:13:08 +00:00
./autogen.sh
2007-10-23 02:01:27 +00:00
%configure
make %{?_smp_mflags}
%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/Makefile*
2007-10-23 02:01:27 +00:00
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 COPYING.LESSER README NEWS
2007-10-23 02:01:27 +00:00
%{_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
* Thu Jan 17 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-2
- Apply patch to fix extensions loading on 64bit systems
2008-01-10 16:03:24 +00:00
* Thu Jan 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.18-1
- Update to 0.0.18
* Mon Nov 26 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.16-1
- Update to 0.0.16 release
- License change from GPLv2+ to GPLv3+
2007-10-23 02:01:27 +00:00
* Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.5.20071011svn
- Update the License field
* Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.4.20071011svn
- Package the extension libraries in the main package
- Run 'make check'
* Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 0.0.15-0.3.20071011svn
- Ensure timestamps are kept during install
* Fri Oct 12 2007 Deji Akingunola <dakingun@gmail.com> - 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 <dakingun@gmail.com> - 0.0.15-0.1.20071011svn
- Initial packaging for Fedora