Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
1351100200
:
1002050299
>
tiff3
> tiff3.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tiff3.spec of Package tiff3
# # spec file for package tiff # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: tiff3 BuildRequires: autoconf >= 2.64 BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libtool BuildRequires: zlib-devel Conflicts: tiff Url: http://www.remotesensing.org/libtiff/ Version: 3.9.5 Release: 0 Summary: Tools for Converting from and to the Tiff Format License: PERMISSIVE-OSI-COMPLIANT ; MIT Group: Productivity/Graphics/Convertors Source: tiff-%{version}.tar.bz2 Source2: README.SUSE Source3: baselibs.conf Patch2: tiff-%{version}-seek.patch Patch3: tiff-%{version}-tiff2pdf-colors.patch Patch9: tiff-%{version}-dont-fancy-upsampling.patch Patch10: tiff-3.9.5-CVE-2012-1173.patch Patch11: tiff-3.9.5-CVE-2012-2113.patch Patch12: tiff-3.9.5-CVE-2012-2088.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains the library and support programs for the TIFF image format. %package -n libtiff3 Summary: The Tiff Library (with JPEG and compression support) License: PERMISSIVE-OSI-COMPLIANT ; MIT Group: System/Libraries Provides: libtiff = %{version} Obsoletes: libtiff < %{version} # bug437293 %ifarch ppc64 Obsoletes: libtiff-64bit %endif # %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. %package -n libtiff3-devel Summary: Development Tools for Programs which will use the libtiff Library License: PERMISSIVE-OSI-COMPLIANT Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libjpeg-devel Requires: libstdc++-devel Requires: libtiff3 = %{version} Requires: zlib-devel Conflicts: libtiff-devel %description -n libtiff3-devel This package contains the header files and static libraries for developing programs which will manipulate TIFF format image files using the libtiff library. %prep %setup -q -n tiff-%{version} %patch2 %patch3 -p1 %patch9 -p1 %patch10 %patch11 %patch12 find -type d -name "CVS" | xargs rm -rfv find -type d | xargs chmod 755 %build rm m4/ltversion.m4 m4/ltsugar.m4 m4/ltoptions.m4 m4/libtool.m4 autoreconf --force --install -v %configure --disable-static --with-pic make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/{man1,man3},usr/{bin,lib,include}} make install DESTDIR=$RPM_BUILD_ROOT for f in `find $RPM_BUILD_ROOT/%{_mandir} -type f -print ` ; do if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then linkto=`sed -e "s|^\.so ||" $f` [ -f "`dirname $f`/$linkto" ] && ln -sf "$linkto" $f fi done cp %{S:2} . rm -rf $RPM_BUILD_ROOT/usr/share/doc/tiff* rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la find html -name "Makefile*" | xargs rm %post -n libtiff3 -p /sbin/ldconfig %postun -n libtiff3 -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %doc html %doc README COPYRIGHT VERSION ChangeLog TODO RELEASE-DATE %doc %{_mandir}/man1/* %files -n libtiff3 %defattr(-,root,root) %doc README COPYRIGHT README.SUSE %{_libdir}/*.so.* %files -n libtiff3-devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %doc %{_mandir}/man3/* %changelog