Mass letter "h" and "i" update, one or more apply :
- Drop epoch: 0 - Remove %{epoch} requirements in sub-packages - Remove trailing white spaces - Keep consistent between spaces and tabs
This commit is contained in:
parent
b2b8688750
commit
43459201a3
35
imlib2.spec
35
imlib2.spec
|
@ -1,24 +1,22 @@
|
||||||
Summary: A graphic library for file loading, saving, rendering, and manipulation
|
Summary: Graphic library for file loading, saving, rendering, and manipulation
|
||||||
Name: imlib2
|
Name: imlib2
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 5
|
Release: 5
|
||||||
Epoch: 0
|
License: BSD
|
||||||
License: BSD
|
Group: System Environment/Libraries
|
||||||
Group: System Environment/Libraries
|
URL: http://www.enlightenment.org/pages/imlib2.html
|
||||||
URL: http://www.enlightenment.org/pages/imlib2.html
|
Source0: http://download.sf.net/enlightenment/%{name}-%{version}.tar.gz
|
||||||
Source0: http://download.sf.net/enlightenment/%{name}-%{version}.tar.gz
|
Patch0: imlib2-1.2.0-configure-xlib64.patch
|
||||||
Patch0: imlib2-1.2.0-configure-xlib64.patch
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
||||||
BuildRequires: XFree86-devel libjpeg-devel libpng-devel libtiff-devel
|
BuildRequires: XFree86-devel libjpeg-devel libpng-devel libtiff-devel
|
||||||
BuildRequires: libungif-devel freetype-devel libtool bzip2-devel %{__perl}
|
BuildRequires: libungif-devel freetype-devel libtool bzip2-devel %{__perl}
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development package for %{name}
|
Summary: Development package for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: XFree86-devel freetype-devel pkgconfig
|
Requires: XFree86-devel freetype-devel pkgconfig
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Imlib 2 is the successor to Imlib. It is NOT a newer version -- it is
|
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
|
which have very similar functionality. Please see the homepage for the
|
||||||
long description of the differences.
|
long description of the differences.
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
@ -48,7 +45,6 @@ long description of the differences.
|
||||||
's|^(\w+_la_LDFLAGS .*)|$1 -L\$(top_builddir)/src/lib| ;
|
's|^(\w+_la_LDFLAGS .*)|$1 -L\$(top_builddir)/src/lib| ;
|
||||||
s|^(\w+_la_LIBADD .*)|$1 -lImlib2|' src/modules/loaders/Makefile.*
|
s|^(\w+_la_LIBADD .*)|$1 -lImlib2|' src/modules/loaders/Makefile.*
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
@ -68,7 +64,6 @@ long description of the differences.
|
||||||
|
|
||||||
make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
|
make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT __doc
|
rm -rf $RPM_BUILD_ROOT __doc
|
||||||
|
@ -84,16 +79,15 @@ rm -f \
|
||||||
# ship .la files due to a bug in kdelibs (see changelog):
|
# ship .la files due to a bug in kdelibs (see changelog):
|
||||||
# $RPM_BUILD_ROOT%{_libdir}/libImlib2.la \
|
# $RPM_BUILD_ROOT%{_libdir}/libImlib2.la \
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING AUTHORS README ChangeLog TODO __doc/*
|
%doc COPYING AUTHORS README ChangeLog TODO __doc/*
|
||||||
|
@ -121,7 +115,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/libImlib2.so
|
%{_libdir}/libImlib2.so
|
||||||
%{_libdir}/pkgconfig/imlib2.pc
|
%{_libdir}/pkgconfig/imlib2.pc
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.0-5
|
* Wed Feb 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.0-5
|
||||||
|
|
Loading…
Reference in New Issue