diff --git a/libtiff.spec b/libtiff.spec index 470d657..b392bb7 100644 --- a/libtiff.spec +++ b/libtiff.spec @@ -1,6 +1,6 @@ Name: libtiff -Version: 4.2.0 -Release: 2 +Version: 4.3.0 +Release: 1 Summary: TIFF Library and Utilities License: 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 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 %prep @@ -92,25 +107,33 @@ find html -name 'Makefile*' | xargs rm %defattr(-,root,root) %license COPYRIGHT %doc README.md -%{_bindir}/* %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/* -%{_libdir}/*.a %{_libdir}/*.so %{_libdir}/pkgconfig/ +%files static +%{_libdir}/*.a + +%files tools +%{_bindir}/* +%{_mandir}/man1/* + %files help %defattr(-,root,root) %{_mandir}/man* %doc RELEASE-DATE VERSION %doc TODO ChangeLog html -%exclude %{_mandir}/man1/tiffgt.1 +%exclude %{_mandir}/man1/* %exclude %{_datadir}/html/man/tiffgt.1.html %changelog +* Fri Nov 03 2021 liuyumeng -4.3.0-1 +- update to libtiff-4.3.0-1 + * Fri Jul 30 2021 chenyanpanHW - 4.2.0-2 - DESC: delete -S git from %autosetup, and delete BuildRequires git diff --git a/tiff-4.2.0.tar.gz b/tiff-4.2.0.tar.gz deleted file mode 100644 index 00227d3..0000000 Binary files a/tiff-4.2.0.tar.gz and /dev/null differ diff --git a/tiff-4.3.0.tar.gz b/tiff-4.3.0.tar.gz new file mode 100644 index 0000000..e0468fa Binary files /dev/null and b/tiff-4.3.0.tar.gz differ