update code

This commit is contained in:
zhuchunyi 2019-11-06 19:40:17 +08:00
parent 02af2476d5
commit b2a454149e

View File

@ -1,6 +1,6 @@
Name: libtiff Name: libtiff
Version: 4.0.10 Version: 4.0.10
Release: 1 Release: 2
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/
@ -22,8 +22,8 @@ Provides: %{name}-tools
Obsoletes: %{name}-tools Obsoletes: %{name}-tools
%description %description
This %{name} provides support for the Tag Image File Format (TIFF), a widely This %{name} provides support for the Tag Image File Format (TIFF), a widely
used format for storing image data. The latest version of the TIFF specification used format for storing image data. The latest version of the TIFF specification
is available on-line in several different formats.And contains command-line programs is available on-line in several different formats.And contains command-line programs
for manipulating TIFF format image files using the libtiff library. for manipulating TIFF format image files using the libtiff library.
@ -51,7 +51,7 @@ autoheader
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure --enable-ld-version-script %configure --enable-ld-version-script
%make_build %make_build
%install %install
@ -67,7 +67,7 @@ case `uname -i` in
;; ;;
*) *)
wordsize="" wordsize=""
;; ;;
esac esac
if test -n "$wordsize" if test -n "$wordsize"
@ -87,7 +87,7 @@ then
# error "unexpected value for __WORDSIZE macro" # error "unexpected value for __WORDSIZE macro"
#endif #endif
#endif #endif
EOF EOF
fi fi
@ -99,7 +99,8 @@ find html -name 'Makefile*' | xargs rm
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYRIGHT README.md %license COPYRIGHT
%doc README.md
%{_bindir}/* %{_bindir}/*
%{_libdir}/*.so.* %{_libdir}/*.so.*
@ -114,11 +115,17 @@ find html -name 'Makefile*' | xargs rm
%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/tiffgt.1
%exclude %{_datadir}/html/man/tiffgt.1.html %exclude %{_datadir}/html/man/tiffgt.1.html
%changelog %changelog
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.0.10-2
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYRIGHT
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.0.10-1 * Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.0.10-1
- Type:Enhance - Type:Enhance
- ID:NA - ID:NA