2024-01-06 04:39:03 +01:00
|
|
|
%define with_imlib2_loaders 0
|
|
|
|
|
|
|
|
Name: libimlib2
|
2024-01-06 04:39:03 +01:00
|
|
|
Version: 1.4.7
|
2024-01-06 04:39:03 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A powerful image loading and rendering library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.rasterman.com/imlib.html
|
|
|
|
Source0: http://download.sourceforge.net/sourceforge/enlightenment/imlib2-%{version}.tar.gz
|
|
|
|
Source1: http://download.sourceforge.net/sourceforge/enlightenment/imlib2_loaders-%{version}.tar.gz
|
|
|
|
Patch: %{name}-1.2.0-dload.patch
|
2024-01-06 04:39:03 +01:00
|
|
|
Patch1: libimlib2-1.4.6-libgif-5.0.6.patch
|
2024-01-06 04:39:03 +01:00
|
|
|
License: BSD
|
|
|
|
Requires: %{name}-filters = %{version}-%{release}
|
|
|
|
Requires: %{name}-loaders = %{version}-%{release}
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: bash
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libid3tag-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
2024-01-06 04:39:03 +01:00
|
|
|
BuildRequires: libgif-devel
|
2024-01-06 04:39:03 +01:00
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Obsoletes: imlib2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Imlib2 is an advanced replacement library for libraries like libXpm that provides many more features with much greater flexibility and speed than standard libraries, including font rasterization, rotation, RGBA space rendering and blending, dynamic binary filters, scripting, and more.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Imlib2 header, static libraries and documentation
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Obsoletes: imlib2-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Imlib2 is an advanced replacement library for libraries like libXpm that provides many more features with much greater flexibility and speed than standard libraries, including font rasterization, rotation, RGBA space rendering and blending, dynamic binary filters, scripting, and more.
|
|
|
|
Header, static libraries and documentation for Imlib2.
|
|
|
|
|
|
|
|
%package filters
|
|
|
|
Summary: Imlib2 basic plugin filters set
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description filters
|
|
|
|
This package contains Imlib2 basic set of plugin filters.
|
|
|
|
|
|
|
|
%package loaders
|
|
|
|
Summary: Imlib2 loader for various graphic formats
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description loaders
|
|
|
|
This package contains Imlib2 image loader/saver for various graphic formats, such as jpeg, gif, tiff, xpm etc.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n imlib2-%{version} -a1
|
|
|
|
#%patch -p1
|
2024-01-06 04:39:03 +01:00
|
|
|
%patch1 -p1
|
2024-01-06 04:39:03 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%if "%{_target_cpu}" == "i586"
|
|
|
|
--enable-mmx
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%if %{with_imlib2_loaders}
|
|
|
|
# additional loaders
|
|
|
|
cd imlib2_loaders-%{version}
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%if %{with_imlib2_loaders}
|
|
|
|
cd imlib2_loaders-%{version}
|
|
|
|
%makeinstall
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%dir %{_datadir}/imlib2/
|
|
|
|
%{_datadir}/imlib2/data/fonts/*
|
|
|
|
%{_datadir}/imlib2/data/images/*
|
2024-01-06 04:39:03 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 04:39:03 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.la
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-01-06 04:39:03 +01:00
|
|
|
%doc ChangeLog README TODO doc/{index.html,*.gif}
|
2024-01-06 04:39:03 +01:00
|
|
|
|
|
|
|
%files filters
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/imlib2
|
|
|
|
%dir %{_libdir}/imlib2/filters/
|
|
|
|
%{_libdir}/imlib2/filters/*
|
|
|
|
|
|
|
|
%files loaders
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/imlib2
|
|
|
|
%dir %{_libdir}/imlib2/loaders/
|
|
|
|
%{_libdir}/imlib2/loaders/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:39:03 +01:00
|
|
|
* Mon Apr 13 2015 Automatic Build System <autodist@mambasoft.it> 1.4.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:39:03 +01:00
|
|
|
* Sun Sep 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-1mamba
|
|
|
|
- update to 1.4.5
|
|
|
|
|
|
|
|
* Fri Nov 12 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
|
|
|
|
- rebuilt with libpng 1.4
|
|
|
|
|
|
|
|
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 08 2009 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- update to 1.4.0
|
|
|
|
- changed package maintainer
|
|
|
|
|
|
|
|
* Mon Jun 12 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.0-2qilnx
|
|
|
|
- added support for ppc platform
|
|
|
|
|
|
|
|
* Thu Apr 14 2005 Davide Madrisan <davide.madrisan@qiinux.it> 1.2.0-1qilnx
|
|
|
|
- drop all patches (merged upstream)
|
|
|
|
- added missing build requirements
|
|
|
|
- new packages filters and loaders
|
|
|
|
- fix issue with dynamic loading that broke perl bindings (patch from
|
|
|
|
Debian; see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293815)
|
|
|
|
|
|
|
|
* Thu Oct 14 2004 Davide Madrisan <davide.madrisan@qiinux.it> 1.1.0-3qilnx
|
|
|
|
- security fix: CAN-2004-0802
|
|
|
|
|
|
|
|
* Fri Oct 01 2004 Davide Madrisan <davide.madrisan@qiinux.it> 1.1.0-2qilnx
|
|
|
|
- specfile fixed and modified to match QiLinux standards
|
|
|
|
- added a patch to solve some gcc-3.4 compilation errors
|
|
|
|
- library name modified (was imlib2)
|
|
|
|
|
|
|
|
* Mon Sep 13 2004 Matteo Bernasconi <voyagernm@virgilio.it> 1.1.0-1
|
|
|
|
- first build
|