Accepting request 111622 from home:MargueriteSu:submission-to-devel-repository

- change package name libtiff4 to libtiff5.
  library number is 5 actually.

- Update to 4.0.1
  * configure.ac
    - Add libtiff private dependency on -llzma for pkg-config
    - Add support for using library symbol versioning on
      ELF systems with the GNU linker.
  * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
                         tif_win32.c
  * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
  * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
    assumption tag fetching is always successful.
  * libtiff/tiffio.h: Use double-underbar syntax in GCC printf
    attribute specification to lessen the risk of accidental macro
    substitution.
  * Update automake used to 1.11.3.

OBS-URL: https://build.opensuse.org/request/show/111622
OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=39
This commit is contained in:
Ismail Dönmez
2012-03-29 09:41:00 +00:00
committed by Git OBS Bridge
parent e6c5713f40
commit 2ff02e0b1d
9 changed files with 126 additions and 98 deletions

View File

@@ -15,8 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: tiff
License: HPND
Group: Productivity/Graphics/Convertors
@@ -24,20 +22,22 @@ BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
BuildRequires: libtool
BuildRequires: zlib-devel
BuildRequires: pkg-config
# bug437293
%ifarch ppc64
Obsoletes: tiff-64bit
%endif
Version: 3.9.5
Release: 6
Summary: Tools for Converting from and to the Tiff Format
Version: 4.0.1
Release: 1
Summary: Tools for Converting from and to the Tiff Format
#
Url: http://www.remotesensing.org/libtiff/
Url: http://www.remotesensing.org/libtiff
Source: tiff-%{version}.tar.bz2
Source2: README.SUSE
Source3: baselibs.conf
# FYI I think this is fixed by upstream, but please check.
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch2: tiff-%{version}-seek.patch
#Patch2: tiff-%{version}-seek.patch
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch3: tiff-%{version}-tiff2pdf-colors.patch
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
@@ -53,7 +53,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
This package contains the library and support programs for the TIFF
image format.
%package -n libtiff3
%package -n libtiff5
License: HPND
Summary: The Tiff Library (with JPEG and compression support)
Group: System/Libraries
@@ -65,7 +65,7 @@ Obsoletes: libtiff-64bit
%endif
#
%description -n libtiff3
%description -n libtiff5
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.
@@ -90,10 +90,10 @@ the libtiff library.
%prep
%setup -q
%patch2
#%patch2
%patch3 -p1
%patch9 -p1
%patch10
%patch10 -p1
find -type d -name "CVS" | xargs rm -rfv
find -type d | xargs chmod 755
@@ -117,12 +117,9 @@ rm -rf %{buildroot}%{_datadir}/doc/tiff*
rm -f %{buildroot}/%{_libdir}/*.la
find html -name "Makefile*" | xargs rm
%post -n libtiff3 -p /sbin/ldconfig
%post -n libtiff5 -p /sbin/ldconfig
%postun -n libtiff3 -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%postun -n libtiff5 -p /sbin/ldconfig
%files
%defattr(-,root,root)
@@ -131,7 +128,7 @@ rm -rf %{buildroot}
%doc README COPYRIGHT VERSION ChangeLog TODO RELEASE-DATE
%doc %{_mandir}/man1/*
%files -n libtiff3
%files -n libtiff5
%defattr(-,root,root)
%doc README COPYRIGHT README.SUSE
%{_libdir}/*.so.*
@@ -140,6 +137,7 @@ rm -rf %{buildroot}
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc %{_mandir}/man3/*
%changelog