Projects
home:pandora:RobinOS23
libtiff
_service:download_src_package:libtiff.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:libtiff.spec of Package libtiff
%define anolis_release 2 Summary: Library of functions for manipulating TIFF format image files Name: libtiff Version: 4.4.0 Release: %{anolis_release}%{?dist} License: libtiff URL: http://www.simplesystems.org/libtiff/ Source: http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz Patch0: libtiff-am-version.patch Patch1: libtiff-make-check.patch BuildRequires: gcc, gcc-c++ BuildRequires: zlib-devel libjpeg-devel jbigkit-devel libzstd-devel libwebp-devel BuildRequires: libtool automake autoconf pkgconfig BuildRequires: make %description The libtiff package contains a library of functions for manipulating TIFF (Tagged Image File Format) image format files. TIFF is a widely used file format for bitmapped images. TIFF files usually end in the .tif extension and they are often quite large. The libtiff package should be installed if you need to manipulate TIFF format image files. %package doc Summary: Documentation files for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc The %{name}-doc package contains documentation files for %{name}. %package devel Summary: Development tools for programs which will use the libtiff library Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package contains the header files and documentation necessary for developing programs which will manipulate TIFF format image files using the libtiff library. If you need to develop programs which will manipulate TIFF format image files, you should install this package. You'll also need to install the libtiff package. %package static Summary: Static TIFF image format file library Requires: %{name}-devel = %{version}-%{release} %description static The libtiff-static package contains the statically linkable version of libtiff. Linking to static libraries is discouraged for most applications, but it is necessary for some boot packages. %package tools Summary: Command-line utility programs for manipulating TIFF files Requires: %{name} = %{version}-%{release} %description tools This package contains command-line programs for manipulating TIFF format image files using the libtiff library. %prep %autosetup -p1 -n tiff-%{version} # Use build system's libtool.m4, not the one in the package. rm -f libtool.m4 libtoolize --force --copy aclocal -I . -I m4 automake --add-missing --copy autoconf autoheader %build export CFLAGS="%{optflags} -fno-strict-aliasing" %configure --enable-ld-version-script %make_build %install %make_install # remove what we didn't want installed rm $RPM_BUILD_ROOT%{_libdir}/*.la rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/ # no libGL dependency, please rm -f $RPM_BUILD_ROOT%{_bindir}/tiffgt # no sgi2tiff or tiffsv, either rm -f $RPM_BUILD_ROOT%{_bindir}/sgi2tiff rm -f $RPM_BUILD_ROOT%{_bindir}/tiffsv rm -f $RPM_BUILD_ROOT%{_mandir}/man1/tiffgt.1 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/sgi2tiff.1 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/tiffsv.1 rm -f html/man/tiffgt.1.html rm -f html/man/sgi2tiff.1.html rm -f html/man/tiffsv.1.html %generate_compatibility_deps %ldconfig_scriptlets %check LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH make check # don't include documentation Makefiles, they are a multilib hazard find html -name 'Makefile*' | xargs rm %files %dir %{abidir} %license COPYRIGHT %{_libdir}/libtiff.so.* %{_libdir}/libtiffxx.so.* %{abidir}/libtiff*.dump %files doc %doc README.md RELEASE-DATE VERSION %files devel %doc TODO ChangeLog html %{_includedir}/* %{_libdir}/libtiff.so %{_libdir}/libtiffxx.so %{_libdir}/pkgconfig/libtiff*.pc %{_mandir}/man3/* %files static %{_libdir}/*.a %files tools %{_bindir}/* %{abidir}/*-option.list %{_mandir}/man1/* %changelog * Wed Oct 19 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 4.4.0-2 - optimise spec file & add doc package * Mon Sep 05 2022 Chunmei Xu <xuchunmei@linux.alibaba.com> - 4.4.0-1 - update to 4.4.0 * Tue Apr 19 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 4.3.0-2 - fix tiffconf.h error * Fri Apr 08 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 4.3.0-1 - Init from upstream version 4.3.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2