!7 split tools and static packages
Merge pull request !7 from shirely/master
This commit is contained in:
commit
f4626884b0
34
libpng.spec
34
libpng.spec
@ -1,7 +1,7 @@
|
||||
Name: libpng
|
||||
Epoch: 2
|
||||
Version: 1.6.37
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A library of functions for manipulating PNG image format files
|
||||
License: zlib
|
||||
URL: http://www.libpng.org/pub/png/libpng.html
|
||||
@ -13,8 +13,6 @@ Patch1: libpng-fix-arm-neon.patch
|
||||
Patch2: CVE-2019-6129.patch
|
||||
|
||||
BuildRequires: zlib-devel autoconf automake libtool
|
||||
Provides: libpng-tools
|
||||
Obsoletes: libpng-tools
|
||||
|
||||
%description
|
||||
The libpng package contains libraries used by other programs for reading and writing PNG format files.
|
||||
@ -25,13 +23,26 @@ with many improvements and extensions and lack of patent problems.
|
||||
Summary: Development files for libpng
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} zlib-devel%{?_isa} pkgconfig%{?_isa}
|
||||
|
||||
Provides: libpng-static
|
||||
Obsoletes: libpng-static
|
||||
|
||||
%description devel
|
||||
The libpng-devel package contains libraries and header files for developing
|
||||
applications that using the PNG library.
|
||||
|
||||
%package static
|
||||
Summary: Static PNG image format file library
|
||||
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description static
|
||||
The libpng-static package contains the statically linkable version of libpng.
|
||||
Linking to static libraries is discouraged for most applications, but it is
|
||||
necessary for some boot packages.
|
||||
|
||||
%package tools
|
||||
Summary: Tools for PNG image format file library
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description tools
|
||||
The libpng-tools package contains tools used by the authors of libpng.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for libpng
|
||||
|
||||
@ -65,17 +76,24 @@ make check
|
||||
%{_libdir}/libpng16.so.*
|
||||
|
||||
%files devel
|
||||
%{_bindir}/*
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libpng*.so
|
||||
%{_libdir}/libpng*.a
|
||||
%{_libdir}/pkgconfig/libpng*.pc
|
||||
|
||||
%files static
|
||||
%{_libdir}/libpng*.a
|
||||
|
||||
%files tools
|
||||
%{_bindir}/*
|
||||
|
||||
%files help
|
||||
%doc libpng-manual.txt example.c TODO CHANGES
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Sat Dec 25 2021 hanhui <hanhui15@huawei.com> - 1.6.37-2
|
||||
- DESC:split tools and static packages
|
||||
|
||||
* Mon May 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.37-1
|
||||
- Type:requirement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user