2005-09-20 19:09:39 +00:00
|
|
|
Summary: Image loading, saving, rendering, and manipulation library
|
2005-03-03 21:46:21 +00:00
|
|
|
Name: imlib2
|
2005-09-20 19:09:39 +00:00
|
|
|
Version: 1.2.1
|
2005-11-13 12:39:55 +00:00
|
|
|
Release: 4%{?dist}
|
2005-03-03 21:46:21 +00:00
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Libraries
|
2005-09-20 19:09:39 +00:00
|
|
|
URL: http://www.enlightenment.org/Libraries/Imlib2/
|
2005-03-03 21:46:21 +00:00
|
|
|
Source0: http://download.sf.net/enlightenment/%{name}-%{version}.tar.gz
|
2005-09-21 07:02:28 +00:00
|
|
|
Patch0: imlib2-1.2.1-X11-path.patch
|
2005-03-03 21:46:21 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
2005-11-13 12:39:55 +00:00
|
|
|
BuildRequires: libjpeg-devel libpng-devel libtiff-devel
|
2005-09-20 19:09:39 +00:00
|
|
|
BuildRequires: libungif-devel freetype-devel >= 2.1.9-4 libtool bzip2-devel
|
2005-11-13 12:39:55 +00:00
|
|
|
BuildRequires: libX11-devel libXext-devel
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
%package devel
|
2005-03-03 21:46:21 +00:00
|
|
|
Summary: Development package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2005-11-13 12:39:55 +00:00
|
|
|
Requires: libX11-devel libXext-devel freetype-devel >= 2.1.9-4 pkgconfig
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
2005-09-20 19:09:39 +00:00
|
|
|
Imlib 2 is a library that does image file loading and saving as well
|
|
|
|
as rendering, manipulation, arbitrary polygon support, etc. It does
|
|
|
|
ALL of these operations FAST. Imlib2 also tries to be highly
|
|
|
|
intelligent about doing them, so writing naive programs can be done
|
|
|
|
easily, without sacrificing speed. This is a complete rewrite over
|
|
|
|
the Imlib 1.x series. The architecture is more modular, simple, and
|
|
|
|
flexible.
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains development files for %{name}.
|
|
|
|
|
2005-09-20 19:09:39 +00:00
|
|
|
Imlib 2 is a library that does image file loading and saving as well
|
|
|
|
as rendering, manipulation, arbitrary polygon support, etc. It does
|
|
|
|
ALL of these operations FAST. Imlib2 also tries to be highly
|
|
|
|
intelligent about doing them, so writing naive programs can be done
|
|
|
|
easily, without sacrificing speed. This is a complete rewrite over
|
|
|
|
the Imlib 1.x series. The architecture is more modular, simple, and
|
|
|
|
flexible.
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-09-21 07:02:28 +00:00
|
|
|
%patch0 -p1 -b .x11-path
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2005-09-20 19:09:39 +00:00
|
|
|
asmopts="--disable-mmx --disable-amd64"
|
2005-01-17 09:43:09 +00:00
|
|
|
%ifarch %{ix86} ia64
|
2005-09-20 19:09:39 +00:00
|
|
|
asmopts="--enable-mmx --disable-amd64"
|
2005-01-17 09:43:09 +00:00
|
|
|
%endif
|
|
|
|
%ifarch x86_64
|
2005-09-20 19:09:39 +00:00
|
|
|
asmopts="--disable-mmx --enable-amd64"
|
2004-11-08 04:35:28 +00:00
|
|
|
%endif
|
2004-11-08 04:35:58 +00:00
|
|
|
|
2005-09-20 19:09:39 +00:00
|
|
|
# Note: --disable-static doesn't work as of 1.2.1.
|
|
|
|
%configure --disable-dependency-tracking \
|
|
|
|
--x-libraries=%{_prefix}/X11R6/%{_lib} \
|
|
|
|
--with-pic \
|
|
|
|
$asmopts
|
|
|
|
|
2005-01-17 09:43:09 +00:00
|
|
|
make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2005-09-20 19:09:39 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-01-17 09:43:09 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool
|
2004-11-08 04:35:28 +00:00
|
|
|
|
2004-11-08 04:35:58 +00:00
|
|
|
rm -f \
|
2005-01-18 20:45:26 +00:00
|
|
|
$RPM_BUILD_ROOT%{_libdir}/imlib2/{loaders,filters}/*.a \
|
2005-09-20 19:09:39 +00:00
|
|
|
$RPM_BUILD_ROOT%{_bindir}/imlib2_test
|
2004-11-08 04:35:28 +00:00
|
|
|
|
2005-09-20 19:09:39 +00:00
|
|
|
# ship .la files due to a bug in kdelibs (bugzilla.fedora.us #2284):
|
2005-01-17 09:43:09 +00:00
|
|
|
# $RPM_BUILD_ROOT%{_libdir}/libImlib2.la \
|
|
|
|
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
2005-03-05 21:10:21 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2004-11-08 04:35:28 +00:00
|
|
|
|
2005-03-03 21:46:21 +00:00
|
|
|
|
2004-11-08 04:35:28 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2005-09-20 19:09:39 +00:00
|
|
|
%doc COPYING AUTHORS README ChangeLog TODO
|
2004-11-08 04:35:28 +00:00
|
|
|
%{_bindir}/imlib2_view
|
2005-01-17 09:43:09 +00:00
|
|
|
%{_bindir}/imlib2_bumpmap
|
|
|
|
%{_bindir}/imlib2_colorspace
|
|
|
|
%{_bindir}/imlib2_conv
|
|
|
|
%{_bindir}/imlib2_poly
|
|
|
|
%{_bindir}/imlib2_show
|
2004-11-08 04:35:28 +00:00
|
|
|
%{_libdir}/libImlib2.so.*
|
2005-04-01 14:11:57 +00:00
|
|
|
%dir %{_datadir}/imlib2/
|
2005-01-17 09:43:09 +00:00
|
|
|
%{_datadir}/imlib2/data/
|
2005-04-01 14:11:57 +00:00
|
|
|
%dir %{_libdir}/imlib2/
|
2005-01-17 09:43:09 +00:00
|
|
|
%dir %{_libdir}/imlib2/filters/
|
|
|
|
%{_libdir}/imlib2/filters/*.so
|
2005-01-18 20:45:26 +00:00
|
|
|
%{_libdir}/imlib2/filters/*.la
|
2005-01-17 09:43:09 +00:00
|
|
|
%dir %{_libdir}/imlib2/loaders/
|
|
|
|
%{_libdir}/imlib2/loaders/*.so
|
2005-01-18 20:45:26 +00:00
|
|
|
%{_libdir}/imlib2/loaders/*.la
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2005-09-20 19:09:39 +00:00
|
|
|
%doc doc/*.gif doc/*.html
|
2004-11-08 04:35:28 +00:00
|
|
|
%{_bindir}/imlib2-config
|
|
|
|
%{_includedir}/Imlib2.h
|
|
|
|
%{_libdir}/libImlib2.a
|
2005-03-05 21:10:21 +00:00
|
|
|
%{_libdir}/libImlib2.la
|
2004-11-08 04:35:28 +00:00
|
|
|
%{_libdir}/libImlib2.so
|
2004-11-08 04:35:58 +00:00
|
|
|
%{_libdir}/pkgconfig/imlib2.pc
|
2004-11-08 04:35:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2005-11-13 12:39:55 +00:00
|
|
|
* Sun Nov 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.2.1-4
|
|
|
|
- Adapt to modular X.Org (#172613).
|
|
|
|
|
2005-09-21 07:02:28 +00:00
|
|
|
* Wed Sep 21 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.1-3
|
|
|
|
- Make XPM loader use /usr/lib/X11/rgb.txt instead of /usr/X11R6/...
|
|
|
|
|
2005-09-20 19:09:39 +00:00
|
|
|
* Sun Aug 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.2.1-2
|
|
|
|
- 1.2.1, patches applied/obsoleted upstream.
|
|
|
|
- Improve summary and description, fix URL.
|
|
|
|
- Move HTML docs to -devel.
|
|
|
|
- Build with dependency tracking disabled.
|
|
|
|
- Drop x86_64 freetype rpath hack, require a fixed freetype-devel.
|
|
|
|
|
2005-05-09 19:28:56 +00:00
|
|
|
* Mon May 9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.0-8.fc4
|
|
|
|
- Fix segfault in XPM loader (#156058).
|
|
|
|
|
2005-04-05 19:06:04 +00:00
|
|
|
* Tue Apr 5 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.0-7.fc4
|
|
|
|
- Fix broken pkgconfig file.
|
|
|
|
|
2005-04-01 14:11:57 +00:00
|
|
|
* Fri Apr 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.0-6
|
|
|
|
- Include imlib2 directory in datadir and libdir.
|
|
|
|
|
2005-02-09 22:06:39 +00:00
|
|
|
* Wed Feb 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.0-5
|
|
|
|
- Link loaders with the main lib, fixes load/save problems with some apps.
|
|
|
|
|
2005-01-18 20:45:26 +00:00
|
|
|
* Tue Jan 18 2005 Michael Schwendt <mschwendt[AT[users.sf.net> - 0:1.2.0-4
|
|
|
|
- Really include libtool archives to fix fedora.us bug #2284.
|
|
|
|
|
|
|
|
* Fri Jan 14 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.2.0-3
|
2005-03-05 21:10:21 +00:00
|
|
|
- Move filters and loaders back into main package where they belong
|
2005-01-17 09:43:09 +00:00
|
|
|
|
2005-01-18 20:45:26 +00:00
|
|
|
* Mon Jan 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.2.0-2
|
2005-01-17 09:43:09 +00:00
|
|
|
- Don't ship *.?.a in {_libdir}/imlib/filters/ and loaders/
|
|
|
|
|
2005-01-18 20:45:26 +00:00
|
|
|
* Sun Jan 09 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.2.0-1
|
2005-01-17 09:43:09 +00:00
|
|
|
- Ship .la files ue to a bug in kdelibs; see
|
|
|
|
https://bugzilla.fedora.us/show_bug.cgi?id=2284
|
|
|
|
http://bugzilla.redhat.com/bugzilla/142244
|
|
|
|
http://bugs.kde.org/93359
|
2005-03-05 21:10:21 +00:00
|
|
|
- Use make param LIBTOOL=/usr/bin/libtool - fixes hardcoded rpath on x86_64
|
2005-01-17 09:43:09 +00:00
|
|
|
- fix hardcoded rpath im Makefiles on x86_64 due to freetype-config --libs
|
|
|
|
returning "-L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz"
|
2005-03-05 21:10:21 +00:00
|
|
|
- Update to 1.2.0 -- fixes several security issues
|
2005-01-17 09:43:09 +00:00
|
|
|
- remove explicit libdir=_libdir - 1.2.9 does not need it anymore
|
2005-03-05 21:10:21 +00:00
|
|
|
- removeddemo compile/install;
|
2005-01-17 09:43:09 +00:00
|
|
|
- use configure param --x-libraries={_prefix}/X11R6/{_lib} and patch to fix
|
|
|
|
"cannot find -lX11"
|
|
|
|
|
2005-01-18 20:45:26 +00:00
|
|
|
* Thu Dec 30 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.1.2-2
|
2005-01-17 09:43:09 +00:00
|
|
|
- Disable mmx on x86_64 (fixes Build error)
|
|
|
|
- Add explicit libdir=_libdir to make calls to avoid install errors on x86_64
|
|
|
|
- Add --with-pic configure option (taken from Matthias Saou's package)
|
|
|
|
|
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
|
|
|
|
|
2005-03-05 21:10:21 +00:00
|
|
|
* Sun Oct 26 2003 Dams <anvil[AT]livna.org>
|
2004-11-08 04:35:28 +00:00
|
|
|
- Initial build.
|