update to libtiff-4.3.0

(cherry picked from commit 50158b6e63b6fff9d4159f9d6d57b8d08e86658a)
This commit is contained in:
liuyumeng 2021-12-03 17:22:19 +08:00 committed by openeuler-sync-bot
parent 0bde6c1900
commit 02d6227efc
3 changed files with 28 additions and 5 deletions

View File

@ -1,6 +1,6 @@
Name: libtiff Name: libtiff
Version: 4.2.0 Version: 4.3.0
Release: 2 Release: 1
Summary: TIFF Library and Utilities Summary: TIFF Library and Utilities
License: libtiff License: libtiff
URL: https://www.simplesystems.org/libtiff/ URL: https://www.simplesystems.org/libtiff/
@ -29,6 +29,21 @@ Obsoletes: %{name}-static
This package contains the header files and documentation necessary for developing programs This package contains the header files and documentation necessary for developing programs
which will manipulate TIFF format image files using the libtiff library. which will manipulate TIFF format image files using the libtiff library.
%package static
Summary: Static TIFF image format file library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description static
the libtiff-static package contains the syatically 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}%{?_isa} = %{version}-%{release}
%description tools
This package contains command-line programs for manipulating TIFF format image files using the libtiff library.
%package_help %package_help
%prep %prep
@ -92,25 +107,33 @@ find html -name 'Makefile*' | xargs rm
%defattr(-,root,root) %defattr(-,root,root)
%license COPYRIGHT %license COPYRIGHT
%doc README.md %doc README.md
%{_bindir}/*
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/ %{_libdir}/pkgconfig/
%files static
%{_libdir}/*.a
%files tools
%{_bindir}/*
%{_mandir}/man1/*
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%{_mandir}/man* %{_mandir}/man*
%doc RELEASE-DATE VERSION %doc RELEASE-DATE VERSION
%doc TODO ChangeLog html %doc TODO ChangeLog html
%exclude %{_mandir}/man1/tiffgt.1 %exclude %{_mandir}/man1/*
%exclude %{_datadir}/html/man/tiffgt.1.html %exclude %{_datadir}/html/man/tiffgt.1.html
%changelog %changelog
* Fri Nov 03 2021 liuyumeng <liuyumeng5@huawei.com> -4.3.0-1
- update to libtiff-4.3.0-1
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.2.0-2 * Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.2.0-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git - DESC: delete -S git from %autosetup, and delete BuildRequires git

Binary file not shown.

BIN
tiff-4.3.0.tar.gz Normal file

Binary file not shown.