118 lines
4.1 KiB
RPMSpec
118 lines
4.1 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
Name: libbabl
|
||
|
Version: 0.1.10
|
||
|
Release: 1mamba
|
||
|
Summary: babl is a dynamic, any to any, pixel format translation library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||
|
URL: http://gegl.org/babl
|
||
|
Source: ftp://ftp.gimp.org/pub/babl/%{majver}/babl-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Provides: babl
|
||
|
Obsoletes: babl
|
||
|
|
||
|
%description
|
||
|
babl is a dynamic, any to any, pixel format translation library.
|
||
|
It allows converting between different methods of storing pixels known as pixel formats that have with different bitdepths and other data representations, color models and component permutations.
|
||
|
A vocabulary to formulate new pixel formats from existing primitives is provided as well as the framework to add new color models and data types.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Devel package for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Provides: babl-devel
|
||
|
Obsoletes: babl-devel
|
||
|
|
||
|
%description devel
|
||
|
babl is a dynamic, any to any, pixel format translation library.
|
||
|
It allows converting between different methods of storing pixels known as pixel formats that have with different bitdepths and other data representations, color models and component permutations.
|
||
|
A vocabulary to formulate new pixel formats from existing primitives is provided as well as the framework to add new color models and data types.
|
||
|
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
|
||
|
%setup -q -n babl-%{version}
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall extdir=%{_libdir}/babl-%{majver}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_libdir}/babl-%{majver}
|
||
|
%{_libdir}/babl-%{majver}/CIE.so*
|
||
|
%{_libdir}/babl-%{majver}/gegl-fixups.so*
|
||
|
%{_libdir}/babl-%{majver}/gggl-lies.so*
|
||
|
%{_libdir}/babl-%{majver}/gggl.so*
|
||
|
%{_libdir}/babl-%{majver}/gimp-8bit.so*
|
||
|
%{_libdir}/babl-%{majver}/naive-CMYK.so*
|
||
|
%{_libdir}/babl-%{majver}/sse-fixups.so*
|
||
|
%{_libdir}/libbabl-%{majver}.so.*
|
||
|
%{_libdir}/babl-%{majver}/fast-float.so
|
||
|
%{_libdir}/babl-%{majver}/cairo.so
|
||
|
%{_libdir}/babl-%{majver}/float.so
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/babl-%{majver}/babl
|
||
|
%{_libdir}/babl-%{majver}/CIE.la
|
||
|
%{_libdir}/babl-%{majver}/gegl-fixups.la
|
||
|
%{_libdir}/babl-%{majver}/gggl-lies.la
|
||
|
%{_libdir}/babl-%{majver}/gggl.la
|
||
|
%{_libdir}/babl-%{majver}/gimp-8bit.la
|
||
|
%{_libdir}/babl-%{majver}/naive-CMYK.la
|
||
|
%{_libdir}/babl-%{majver}/sse-fixups.la
|
||
|
%{_libdir}/babl-%{majver}/fast-float.la
|
||
|
%{_libdir}/babl-%{majver}/cairo.la
|
||
|
%{_libdir}/babl-%{majver}/float.la
|
||
|
%{_includedir}/babl-%{majver}/babl/*.h
|
||
|
%{_exec_prefix}/lib/pkgconfig/*.pc
|
||
|
%{_libdir}/libbabl-%{majver}.la
|
||
|
%{_libdir}/libbabl-%{majver}.so
|
||
|
#%{_libdir}/girepository-1.0/Babl-0.1.typelib
|
||
|
#%{_datadir}/gir-1.0/Babl-0.1.gir
|
||
|
#%{_datadir}/vala/vapi/babl-0.1.vapi
|
||
|
%doc ChangeLog NEWS README TODO
|
||
|
|
||
|
%changelog
|
||
|
* Thu May 03 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.1.10-1mamba
|
||
|
- update to 0.1.10
|
||
|
|
||
|
* Thu Dec 22 2011 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Feb 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.4-1mamba
|
||
|
- update to 0.1.4
|
||
|
|
||
|
* Mon Oct 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-2mamba
|
||
|
- rebuilt to add pkgconfig provides
|
||
|
|
||
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
|
||
|
- update to 0.1.2
|
||
|
|
||
|
* Mon Jun 08 2009 Automatic Build System <autodist@mambasoft.it> 0.1.0-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Thu Oct 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.22-2mamba
|
||
|
- added missing devel package description
|
||
|
- move development library files (*.la, *.so) to devel package
|
||
|
- renamed to libbabl
|
||
|
|
||
|
* Wed Oct 01 2008 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.0.22-1mamba
|
||
|
- package created by autospec
|