2004-11-08 04:35:28 +00:00
|
|
|
Summary: A graphic library for file loading, saving, rendering, and manipulation
|
|
|
|
Name: imlib2
|
2004-11-08 04:35:58 +00:00
|
|
|
Version: 1.1.2
|
|
|
|
Release: 0.fdr.1.2
|
2004-11-08 04:35:28 +00:00
|
|
|
Epoch: 0
|
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Libraries
|
2004-11-08 04:35:58 +00:00
|
|
|
URL: http://www.enlightenment.org/pages/imlib2.html
|
|
|
|
Source0: http://download.sf.net/enlightenment/%{name}-%{version}.tar.gz
|
2004-11-08 04:35:28 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
BuildRequires: XFree86-devel libjpeg-devel libpng-devel libtiff-devel
|
2004-11-08 04:35:58 +00:00
|
|
|
BuildRequires: libungif-devel freetype-devel libtool bzip2-devel
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2004-11-08 04:35:58 +00:00
|
|
|
Requires: XFree86-devel freetype-devel pkgconfig
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%description
|
|
|
|
Imlib 2 is the successor to Imlib. It is NOT a newer version -- it is
|
|
|
|
a completely new library. Imlib 2 can be installed alongside Imlib 1.x
|
|
|
|
without any problems since they are effectively different libraries
|
|
|
|
which have very similar functionality. Please see the homepage for the
|
|
|
|
long description of the differences.
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains development files for %{name}.
|
|
|
|
|
|
|
|
Imlib 2 is the successor to Imlib. It is NOT a newer version -- it is
|
|
|
|
a completely new library. Imlib 2 can be installed alongside Imlib 1.x
|
|
|
|
without any problems since they are effectively different libraries
|
|
|
|
which have very similar functionality. Please see the homepage for the
|
|
|
|
long description of the differences.
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
2004-11-08 04:35:58 +00:00
|
|
|
%configure \
|
|
|
|
%ifarch %{ix86} x86_64 ia64
|
|
|
|
--enable-mmx
|
2004-11-08 04:35:28 +00:00
|
|
|
%endif
|
2004-11-08 04:35:58 +00:00
|
|
|
|
2004-11-08 04:35:28 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
make -C demo
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT __doc
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT -C demo
|
|
|
|
|
|
|
|
cp -a doc __doc
|
|
|
|
rm -f __doc/Makefile*
|
|
|
|
|
2004-11-08 04:35:58 +00:00
|
|
|
rm -f \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/libImlib2.la \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/imlib2_loaders/*/*.*a \
|
|
|
|
$RPM_BUILD_ROOT%{_bindir}/{color_spaces,imlib2,*test}
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2004-11-08 04:35:58 +00:00
|
|
|
%doc COPYING AUTHORS README ChangeLog TODO __doc/*
|
2004-11-08 04:35:28 +00:00
|
|
|
%{_bindir}/imconvert
|
|
|
|
%{_bindir}/imlib2_view
|
|
|
|
%{_libdir}/libImlib2.so.*
|
2004-11-08 04:35:58 +00:00
|
|
|
%{_libdir}/imlib2_loaders
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/imlib2-config
|
|
|
|
%{_includedir}/Imlib2.h
|
|
|
|
%{_libdir}/libImlib2.a
|
|
|
|
%{_libdir}/libImlib2.so
|
2004-11-08 04:35:58 +00:00
|
|
|
%{_libdir}/pkgconfig/imlib2.pc
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%changelog
|
2004-11-08 04:35:58 +00:00
|
|
|
* Sat Sep 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.1.2-0.fdr.1
|
|
|
|
- Update to 1.1.2, fixes CAN-2004-0802.
|
|
|
|
- Enable MMX on all ix86, x86_64 and ia64, it seems runtime-detected.
|
|
|
|
- Update URL.
|
|
|
|
|
2004-11-08 04:35:28 +00:00
|
|
|
* Tue Nov 18 2003 Dams <anvil[AT]livna.org> 0:1.0.6-0.fdr.3
|
|
|
|
- s#_prefix/lib#_libdir#
|
|
|
|
|
|
|
|
* Tue Nov 18 2003 Dams <anvil[AT]livna.org> 0:1.0.6-0.fdr.2
|
|
|
|
- Moved some binaries and loaders into main package
|
|
|
|
- Added missing Requires and BuildRequires
|
|
|
|
|
|
|
|
* Sun Oct 26 2003 Dams <anvil[AT]livna.org>
|
|
|
|
- Initial build.
|