diff --git a/libpng-1.6.43.tar.gz b/libpng-1.6.43.tar.gz deleted file mode 100644 index 24c299dadeaa72d24c5b439e15a617b0293ea407..0000000000000000000000000000000000000000 Binary files a/libpng-1.6.43.tar.gz and /dev/null differ diff --git a/libpng-1.6.44.tar.xz b/libpng-1.6.44.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..8ad9ed2147af947a4800ddfc58b7fbff5f9622b7 Binary files /dev/null and b/libpng-1.6.44.tar.xz differ diff --git a/libpng.spec b/libpng.spec index 46a07a75d32d4e0c9aa84266ed9c11898f5cdd71..58dc80ccb0f187d66018e9cc2214c1b342b31cff 100644 --- a/libpng.spec +++ b/libpng.spec @@ -1,11 +1,11 @@ Name: libpng Epoch: 2 -Version: 1.6.43 +Version: 1.6.44 Release: 1 Summary: A library of functions for manipulating PNG image format files License: zlib URL: http://www.libpng.org/pub/png/libpng.html -Source0: https://github.com/glennrp/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: https://download.sourceforge.net/libpng/%{name}-%{version}.tar.xz Source1: pngusr.dfa Patch0: libpng-multilib.patch @@ -20,7 +20,7 @@ with many improvements and extensions and lack of patent problems. %package devel Summary: Development files for libpng -Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} zlib-devel%{?_isa} pkgconfig%{?_isa} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} %description devel The libpng-devel package contains libraries and header files for developing @@ -42,15 +42,11 @@ 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 - -%description help -This package contain the license files and help documents for libpng. +%package_help %prep %autosetup -n %{name}-%{version} -p1 -cp -p %{SOURCE1} . +cp -p %{S:1} . %build autoreconf -vif @@ -59,16 +55,14 @@ autoreconf -vif %install %make_install -rm -f %{buildroot}%{_libdir}/*.la -%check -make check +# We don't ship .la files. +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -%ldconfig_post -%ldconfig_postun +%check +%make_build check %files -%{!?_licensedir:%global license %%doc} %license LICENSE %{_libdir}/libpng16.so.* @@ -88,41 +82,44 @@ make check %{_mandir}/man*/* %changelog -* Tue May 21 2024 zhangxingrong - 1.6.43-1 +* Sat Sep 14 2024 Funda Wang - 2:1.6.44-1 +- update to 1.6.44 + +* Tue May 21 2024 zhangxingrong - 2:1.6.43-1 - Update to version 1.6.43 -* Thu Jul 13 2023 jiangxinyu - 1.6.40-1 +* Thu Jul 13 2023 jiangxinyu - 2:1.6.40-1 - Update package to version 1.6.40 -* Thu Dec 15 2022 zhouwenpei - 1.6.38-2 +* Thu Dec 15 2022 zhouwenpei - 2:1.6.38-2 - remove example.c from help -* Thu Nov 03 2022 zhouwenpei - 1.6.38-1 +* Thu Nov 03 2022 zhouwenpei - 2:1.6.38-1 - update 1.6.38 -* Tue Mar 29 2022 liuyumeng - 1.6.37-3 +* Tue Mar 29 2022 liuyumeng - 2:1.6.37-3 - enable test and fix failed tests -* Sat Dec 25 2021 hanhui - 1.6.37-2 +* Sat Dec 25 2021 hanhui - 2:1.6.37-2 - DESC:split tools and static packages -* Mon May 11 2020 openEuler Buildteam - 1.6.37-1 +* Mon May 11 2020 openEuler Buildteam - 2:1.6.37-1 - Type:requirement - ID:NA - SUG:NA - DESC:update 1.6.37 -* Sun Jan 12 2020 openEuler Buildteam - 1.6.36-4 +* Sun Jan 12 2020 openEuler Buildteam - 2:1.6.36-4 - Type:bugfix - ID:NA - SUG:NA - DESC:fix cve -* Tue Dec 31 2019 openEuler Buildteam - 1.6.36-3 +* Tue Dec 31 2019 openEuler Buildteam - 2:1.6.36-3 - Type:bugfix - ID:NA - SUG:NA - DESC:optimization the spec -* Wed Sep 18 2019 chenzhenyu - 1.6.36-2 +* Wed Sep 18 2019 chenzhenyu - 2:1.6.36-2 - Package init diff --git a/libpng.yaml b/libpng.yaml index 719b76137d82cc3eee9d4dd15940afee711edd9b..b4c40d3d348c1d552535277c8ac2cdc005ff2730 100644 --- a/libpng.yaml +++ b/libpng.yaml @@ -2,4 +2,4 @@ git_url: https://git.code.sf.net/p/libpng/code version_control: git src_repo: https://git.code.sf.net/p/libpng/code tag_prefix: "^v" -seperator: "." +separator: "."