This commit is contained in:
parent
1d8ac6dcaa
commit
185c8e86bd
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 19 15:01:40 CEST 2007 - nadvornik@suse.cz
|
||||
|
||||
- renamed libtiff to libtiff3
|
||||
- do not package static libraries
|
||||
- added zlib-devel to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 13:40:43 CEST 2006 - nadvornik@suse.cz
|
||||
|
||||
|
31
tiff.spec
31
tiff.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tiff (Version 3.8.2)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -11,13 +11,13 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: tiff
|
||||
BuildRequires: gcc-c++ libjpeg-devel
|
||||
License: FSR, Other License(s), see package
|
||||
BuildRequires: gcc-c++ libjpeg-devel zlib-devel
|
||||
License: X11/MIT
|
||||
Group: Productivity/Graphics/Convertors
|
||||
Autoreqprov: on
|
||||
URL: http://www.remotesensing.org/libtiff/
|
||||
Version: 3.8.2
|
||||
Release: 6
|
||||
Release: 54
|
||||
Summary: Tools for Converting from and to the Tiff Format
|
||||
Source: tiff-%{version}.tar.bz2
|
||||
Source1: jpegint.h
|
||||
@ -37,12 +37,12 @@ Authors:
|
||||
--------
|
||||
Sam Leffler <sam@engr.sgi.com>
|
||||
|
||||
%package -n libtiff
|
||||
%package -n libtiff3
|
||||
Summary: The Tiff Library (with JPEG and compression support)
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
|
||||
%description -n libtiff
|
||||
%description -n libtiff3
|
||||
This package includes the tiff libraries. To link a program with
|
||||
libtiff, you will have to add -ljpeg and -lz to include the necessary
|
||||
libjpeg and libz in the linking process.
|
||||
@ -56,7 +56,7 @@ Authors:
|
||||
%package -n libtiff-devel
|
||||
Summary: Development Tools for Programs which will use the libtiff Library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libtiff = %{version} libjpeg-devel zlib-devel libstdc++-devel glibc-devel
|
||||
Requires: libtiff3 = %{version} libjpeg-devel zlib-devel libstdc++-devel glibc-devel
|
||||
|
||||
%description -n libtiff-devel
|
||||
This package contains the header files and static libraries for
|
||||
@ -78,7 +78,7 @@ find -type d | xargs chmod 755
|
||||
rm m4/ltversion.m4 m4/ltsugar.m4 m4/ltoptions.m4 m4/libtool.m4
|
||||
autoreconf --force --install -v
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" \
|
||||
./configure --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir}
|
||||
./configure --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} --disable-static
|
||||
make
|
||||
|
||||
%install
|
||||
@ -92,10 +92,11 @@ for f in `find $RPM_BUILD_ROOT/%{_mandir} -type f -print ` ; do
|
||||
done
|
||||
cp %{S:2} .
|
||||
rm -rf $RPM_BUILD_ROOT/usr/share/doc/tiff*
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
%post -n libtiff -p /sbin/ldconfig
|
||||
%post -n libtiff3 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtiff -p /sbin/ldconfig
|
||||
%postun -n libtiff3 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -107,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc README COPYRIGHT
|
||||
%doc %{_mandir}/man1/*
|
||||
|
||||
%files -n libtiff
|
||||
%files -n libtiff3
|
||||
%defattr(-,root,root)
|
||||
%doc README COPYRIGHT README.SUSE
|
||||
%{_libdir}/*.so.*
|
||||
@ -115,12 +116,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files -n libtiff-devel
|
||||
%defattr(-,root,root)
|
||||
/usr/include/*
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
%doc %{_mandir}/man3/*
|
||||
|
||||
%changelog -n tiff
|
||||
%changelog
|
||||
* Thu Jul 19 2007 - nadvornik@suse.cz
|
||||
- renamed libtiff to libtiff3
|
||||
- do not package static libraries
|
||||
- added zlib-devel to BuildRequires
|
||||
* Mon Jun 12 2006 - nadvornik@suse.cz
|
||||
- fixed a typo in the previous change [#179051]
|
||||
* Fri Jun 02 2006 - nadvornik@suse.cz
|
||||
|
Loading…
Reference in New Issue
Block a user