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
|
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: gcc-c++
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
%if 0%{?suse_version} > 1030
|
||||||
BuildRequires: lzma-devel
|
BuildRequires: lzma-devel
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} <= 1000
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1000
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
%endif
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: tiff-64bit
|
Obsoletes: tiff-64bit
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1210
|
||||||
|
BuildRequires: libjbig-devel
|
||||||
|
%endif
|
||||||
Version: 4.0.1
|
Version: 4.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools for Converting from and to the Tiff Format
|
Summary: Tools for Converting from and to the Tiff Format
|
||||||
License: HPND
|
License: HPND
|
||||||
Group: Productivity/Graphics/Convertors
|
Group: Productivity/Graphics/Convertors
|
||||||
#
|
|
||||||
Url: http://www.remotesensing.org/libtiff
|
Url: http://www.remotesensing.org/libtiff
|
||||||
Source: tiff-%{version}.tar.bz2
|
Source: tiff-%{version}.tar.bz2
|
||||||
Source2: README.SUSE
|
Source2: README.SUSE
|
||||||
@ -53,7 +62,6 @@ image format.
|
|||||||
Summary: The Tiff Library (with JPEG and compression support)
|
Summary: The Tiff Library (with JPEG and compression support)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: libtiff = %{version}
|
Provides: libtiff = %{version}
|
||||||
Obsoletes: libtiff < %{version}
|
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libtiff-64bit
|
Obsoletes: libtiff-64bit
|
||||||
@ -94,7 +102,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}
|
mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}
|
||||||
%make_install
|
%makeinstall
|
||||||
for f in `find %{buildroot}/%{_mandir} -type f -print ` ; do
|
for f in `find %{buildroot}/%{_mandir} -type f -print ` ; do
|
||||||
if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then
|
if [ `wc -l <$f` -eq 1 ] && grep -q "^\.so " $f ; then
|
||||||
linkto=`sed -e "s|^\.so ||" $f`
|
linkto=`sed -e "s|^\.so ||" $f`
|
||||||
|
Loading…
Reference in New Issue
Block a user