Cleanups
This commit is contained in:
parent
a43c8ddd62
commit
e758ad0b04
49
libtiff.spec
49
libtiff.spec
@ -1,15 +1,14 @@
|
|||||||
Summary: A library of functions for manipulating TIFF format image files.
|
Summary: Library of functions for manipulating TIFF format image files
|
||||||
Name: libtiff
|
Name: libtiff
|
||||||
Version: 3.7.4
|
Version: 3.7.4
|
||||||
Release: 1
|
Release: 3
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source0: http://www.libtiff.org/tiff-%{version}.tar.gz
|
Source: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz
|
||||||
URL: http://www.libtiff.org/
|
URL: http://www.libtiff.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: zlib-devel zlib libjpeg-devel libjpeg
|
BuildRequires: zlib-devel libjpeg-devel
|
||||||
Requires: zlib libjpeg
|
%define LIBVER %(echo %{version} | cut -f 1-2 -d .)
|
||||||
%define LIBVER %(echo %{version} | cut -f-2 -d.)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libtiff package contains a library of functions for manipulating
|
The libtiff package contains a library of functions for manipulating
|
||||||
@ -21,9 +20,9 @@ The libtiff package should be installed if you need to manipulate TIFF
|
|||||||
format image files.
|
format image files.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development tools for programs which will use the libtiff library.
|
Summary: Development tools for programs which will use the libtiff library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libtiff = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files and static libraries for
|
This package contains the header files and static libraries for
|
||||||
@ -35,32 +34,31 @@ image files, you should install this package. You'll also need to
|
|||||||
install the libtiff package.
|
install the libtiff package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q -n tiff-%{version}
|
%setup -q -n tiff-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure
|
%configure
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
rm -fr $RPM_BUILD_ROOT
|
rm -fr $RPM_BUILD_ROOT
|
||||||
%makeinstall
|
%makeinstall
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
|
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,0755)
|
||||||
%doc COPYRIGHT README RELEASE-DATE VERSION
|
%doc COPYRIGHT README RELEASE-DATE VERSION
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/libtiff.so.*
|
%{_libdir}/libtiff.so.*
|
||||||
@ -68,16 +66,23 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,0755)
|
||||||
%doc TODO ChangeLog html
|
%doc TODO ChangeLog html
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libtiff.so
|
%{_libdir}/libtiff.so
|
||||||
%{_libdir}/libtiff.a
|
|
||||||
%{_libdir}/libtiffxx.so
|
%{_libdir}/libtiffxx.so
|
||||||
%{_libdir}/libtiffxx.a
|
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 16 2005 Matthias Clasen <mclasen@redhat.com> 3.7.4-3
|
||||||
|
- Don't ship static libs
|
||||||
|
|
||||||
|
* Fri Nov 11 2005 Matthias Saou <http://freshrpms.net/> 3.7.4-2
|
||||||
|
- Remove useless explicit dependencies.
|
||||||
|
- Minor spec file cleanups.
|
||||||
|
- Move make check to %%check.
|
||||||
|
- Add _smp_mflags.
|
||||||
|
|
||||||
* Thu Sep 29 2005 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
|
* Thu Sep 29 2005 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
|
||||||
- Update to 3.7.4
|
- Update to 3.7.4
|
||||||
- Drop upstreamed patches
|
- Drop upstreamed patches
|
||||||
|
Loading…
Reference in New Issue
Block a user