Accepting request 122798 from graphics
Enable jbig support for > 1210, Fix building for *suse versions 10.0 to current. Jbig is in factory now. (forwarded request 122795 from aljex) OBS-URL: https://build.opensuse.org/request/show/122798 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tiff?expand=0&rev=38
This commit is contained in:
commit
c4f0cbc7df
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 10 17:37:25 UTC 2012 - brian@aljex.com
|
||||
|
||||
- Fix building on older targets from SUSE 10.0 to current.
|
||||
- Add jbig support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 09:51:49 UTC 2012 - idonmez@suse.com
|
||||
|
||||
|
14
tiff.spec
14
tiff.spec
@ -20,19 +20,28 @@ Name: tiff
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libtool
|
||||
%if 0%{?suse_version} > 1030
|
||||
BuildRequires: lzma-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1000
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1000
|
||||
BuildRequires: pkg-config
|
||||
%endif
|
||||
BuildRequires: zlib-devel
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: tiff-64bit
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1210
|
||||
BuildRequires: libjbig-devel
|
||||
%endif
|
||||
Version: 4.0.1
|
||||
Release: 0
|
||||
Summary: Tools for Converting from and to the Tiff Format
|
||||
License: HPND
|
||||
Group: Productivity/Graphics/Convertors
|
||||
#
|
||||
Url: http://www.remotesensing.org/libtiff
|
||||
Source: tiff-%{version}.tar.bz2
|
||||
Source2: README.SUSE
|
||||
@ -53,7 +62,6 @@ image format.
|
||||
Summary: The Tiff Library (with JPEG and compression support)
|
||||
Group: System/Libraries
|
||||
Provides: libtiff = %{version}
|
||||
Obsoletes: libtiff < %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libtiff-64bit
|
||||
@ -94,7 +102,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}
|
||||
%make_install
|
||||
%makeinstall
|
||||
for f in `find %{buildroot}/%{_mandir} -type f -print ` ; do
|
||||
if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then
|
||||
linkto=`sed -e "s|^\.so ||" $f`
|
||||
|
Loading…
Reference in New Issue
Block a user