diff --git a/imlib2.spec b/imlib2.spec index 77fd901..c3c89d0 100644 --- a/imlib2.spec +++ b/imlib2.spec @@ -1,24 +1,22 @@ -Summary: A graphic library for file loading, saving, rendering, and manipulation -Name: imlib2 -Version: 1.2.0 -Release: 5 -Epoch: 0 -License: BSD -Group: System Environment/Libraries -URL: http://www.enlightenment.org/pages/imlib2.html -Source0: http://download.sf.net/enlightenment/%{name}-%{version}.tar.gz -Patch0: imlib2-1.2.0-configure-xlib64.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +Summary: Graphic library for file loading, saving, rendering, and manipulation +Name: imlib2 +Version: 1.2.0 +Release: 5 +License: BSD +Group: System Environment/Libraries +URL: http://www.enlightenment.org/pages/imlib2.html +Source0: http://download.sf.net/enlightenment/%{name}-%{version}.tar.gz +Patch0: imlib2-1.2.0-configure-xlib64.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: XFree86-devel libjpeg-devel libpng-devel libtiff-devel BuildRequires: libungif-devel freetype-devel libtool bzip2-devel %{__perl} %package devel -Summary: Development package for %{name} -Group: Development/Libraries -Requires: %{name} = %{epoch}:%{version}-%{release} +Summary: Development package for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} Requires: XFree86-devel freetype-devel pkgconfig -# ----------------------------------------------------------------------------- %description Imlib 2 is the successor to Imlib. It is NOT a newer version -- it is @@ -36,7 +34,6 @@ 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 @@ -48,7 +45,6 @@ long description of the differences. 's|^(\w+_la_LDFLAGS .*)|$1 -L\$(top_builddir)/src/lib| ; s|^(\w+_la_LIBADD .*)|$1 -lImlib2|' src/modules/loaders/Makefile.* -# ----------------------------------------------------------------------------- %build %configure \ @@ -68,7 +64,6 @@ long description of the differences. make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool -# ----------------------------------------------------------------------------- %install rm -rf $RPM_BUILD_ROOT __doc @@ -84,16 +79,15 @@ rm -f \ # ship .la files due to a bug in kdelibs (see changelog): # $RPM_BUILD_ROOT%{_libdir}/libImlib2.la \ -# ----------------------------------------------------------------------------- %clean rm -rf $RPM_BUILD_ROOT -# ----------------------------------------------------------------------------- %post -p /sbin/ldconfig %postun -p /sbin/ldconfig + %files %defattr(-,root,root,-) %doc COPYING AUTHORS README ChangeLog TODO __doc/* @@ -121,7 +115,6 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libImlib2.so %{_libdir}/pkgconfig/imlib2.pc -# ----------------------------------------------------------------------------- %changelog * Wed Feb 9 2005 Ville Skyttä - 0:1.2.0-5