[packages/libpgf] Up to 7.21.7.
arekm
arekm at pld-linux.org
Sun Mar 15 15:14:57 CET 2026
commit 582282e6898780a535a1918142bbfbc31737ddde
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 15:14:50 2026 +0100
Up to 7.21.7.
libpgf-aclocal.patch | 11 +++++++++++
libpgf-version.patch | 8 ++++++++
libpgf.spec | 19 ++++++++++++-------
3 files changed, 31 insertions(+), 7 deletions(-)
---
diff --git a/libpgf.spec b/libpgf.spec
index bcbb550..08529ea 100644
--- a/libpgf.spec
+++ b/libpgf.spec
@@ -5,12 +5,14 @@
Summary: PGF (Progressive Graphics File) image format library
Summary(pl.UTF-8): Biblioteka obsługująca format plików PGF (Progressive Graphics File)
Name: libpgf
-Version: 6.14.12
-Release: 2
+Version: 7.21.7
+Release: 1
License: LGPL v2.1+
Group: Libraries
-Source0: http://downloads.sourceforge.net/libpgf/%{name}-src-%{version}.tar.gz
-# Source0-md5: a2b13832e23ad9026bd249d57b6c26da
+Source0: http://downloads.sourceforge.net/libpgf/%{name}.zip
+# Source0-md5: 6e956fc3575a9047bafc2782ec17041f
+Patch0: libpgf-version.patch
+Patch1: libpgf-aclocal.patch
URL: http://www.libpgf.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -20,6 +22,7 @@ BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: rpmbuild(macros) >= 1.566
BuildRequires: sed >= 4.0
+BuildRequires: unzip
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -99,7 +102,9 @@ Bibliotecas estáticas para desenvolvimento com libpgf.
%prep
%setup -q -n %{name}
-%undos configure.ac
+%undos configure.ac Makefile.am
+%patch -P0 -p1
+%patch -P1 -p1
%build
%{__libtoolize}
@@ -134,9 +139,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README
+%doc README.txt
%attr(755,root,root) %{_libdir}/libpgf.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpgf.so.6
+%attr(755,root,root) %ghost %{_libdir}/libpgf.so.7
%files devel
%defattr(644,root,root,755)
diff --git a/libpgf-aclocal.patch b/libpgf-aclocal.patch
new file mode 100644
index 0000000..039faab
--- /dev/null
+++ b/libpgf-aclocal.patch
@@ -0,0 +1,11 @@
+--- libpgf.orig/Makefile.am 2026-03-15 12:47:49.553777425 +0100
++++ libpgf/Makefile.am 2026-03-15 12:47:49.556424254 +0100
+@@ -19,7 +19,7 @@
+
+ RPMRELEASE=$(PACKAGE_RELEASE)
+
+-ACLOCAL_AMFLAGS = -I m4
++
+
+ install-data-local:: $(PACKAGE).pc
+ $(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
diff --git a/libpgf-version.patch b/libpgf-version.patch
new file mode 100644
index 0000000..678c71e
--- /dev/null
+++ b/libpgf-version.patch
@@ -0,0 +1,8 @@
+--- libpgf.orig/configure.ac 2021-02-12 20:54:36.000000000 +0100
++++ libpgf/configure.ac 2026-03-15 12:46:11.044229664 +0100
+@@ -1,4 +1,4 @@
+-AC_INIT([libpgf], [7.15.32])
++AC_INIT([libpgf], [7.21.7])
+ AC_CONFIG_SRCDIR([src/PGFimage.cpp])
+
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libpgf.git/commitdiff/582282e6898780a535a1918142bbfbc31737ddde
More information about the pld-cvs-commit
mailing list