split tools and static packages
This commit is contained in:
parent
6859665676
commit
915af8f305
34
libpng.spec
34
libpng.spec
@ -1,7 +1,7 @@
|
|||||||
Name: libpng
|
Name: libpng
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 1.6.37
|
Version: 1.6.37
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A library of functions for manipulating PNG image format files
|
Summary: A library of functions for manipulating PNG image format files
|
||||||
License: zlib
|
License: zlib
|
||||||
URL: http://www.libpng.org/pub/png/libpng.html
|
URL: http://www.libpng.org/pub/png/libpng.html
|
||||||
@ -13,8 +13,6 @@ Patch1: libpng-fix-arm-neon.patch
|
|||||||
Patch2: CVE-2019-6129.patch
|
Patch2: CVE-2019-6129.patch
|
||||||
|
|
||||||
BuildRequires: zlib-devel autoconf automake libtool
|
BuildRequires: zlib-devel autoconf automake libtool
|
||||||
Provides: libpng-tools
|
|
||||||
Obsoletes: libpng-tools
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libpng package contains libraries used by other programs for reading and writing PNG format files.
|
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
|
Summary: Development files for libpng
|
||||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} zlib-devel%{?_isa} pkgconfig%{?_isa}
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} zlib-devel%{?_isa} pkgconfig%{?_isa}
|
||||||
|
|
||||||
Provides: libpng-static
|
|
||||||
Obsoletes: libpng-static
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libpng-devel package contains libraries and header files for developing
|
The libpng-devel package contains libraries and header files for developing
|
||||||
applications that using the PNG library.
|
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
|
%package help
|
||||||
Summary: Help documents for libpng
|
Summary: Help documents for libpng
|
||||||
|
|
||||||
@ -65,17 +76,24 @@ make check
|
|||||||
%{_libdir}/libpng16.so.*
|
%{_libdir}/libpng16.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/*
|
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libpng*.so
|
%{_libdir}/libpng*.so
|
||||||
%{_libdir}/libpng*.a
|
|
||||||
%{_libdir}/pkgconfig/libpng*.pc
|
%{_libdir}/pkgconfig/libpng*.pc
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%{_libdir}/libpng*.a
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%{_bindir}/*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc libpng-manual.txt example.c TODO CHANGES
|
%doc libpng-manual.txt example.c TODO CHANGES
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon May 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.37-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user