diff --git a/libpgf.spec b/libpgf.spec index 155888f..5c14926 100644 --- a/libpgf.spec +++ b/libpgf.spec @@ -1,5 +1,5 @@ Name: libpgf -Version: 6.14.12 +Version: 7.19.3 Release: 1mamba Summary: An implementation of the Progressive Graphics File (PGF) Group: System/Libraries @@ -7,7 +7,8 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.libpgf.org/index.php -Source: http://downloads.sourceforge.net/project/libpgf/libpgf/%{version}-latest/libpgf-src-%{version}.tar.gz +# NOTE: manually renamed +Source: https://sourceforge.net/projects/libpgf/files/libpgf/%{version}-latest/libPGF-codec-and-console-src-%{version}.zip License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -31,18 +32,26 @@ This package contains libraries and header files for developing applications tha %debug_package %prep -%setup -q -n %{name} +%setup -q -c +mv libPGF-codec-and-console-src/* . +rmdir libPGF-codec-and-console-src +cd PGF/Codec +dos2unix configure.ac +chmod +x autogen.sh +./autogen.sh %build -dos2unix configure.ac -./autogen.sh +cd PGF/Codec %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd PGF/Codec %makeinstall +rm -rf %{buildroot}%{_docdir}/libpgf-* + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -52,7 +61,7 @@ dos2unix configure.ac %files %defattr(-,root,root) %{_libdir}/libpgf.so.* -%doc COPYING +%doc PGF/Codec/COPYING %files devel %defattr(-,root,root) @@ -63,8 +72,11 @@ dos2unix configure.ac %{_libdir}/libpgf.so %{_libdir}/pkgconfig/libpgf.pc %{_mandir}/man3/*.3* -%doc README +%doc PGF/Codec/README %changelog +* Tue Sep 08 2020 Automatic Build System 7.19.3-1mamba +- automatic version update by autodist + * Sun Dec 21 2014 Silvan Calarco 6.14.12-1mamba - package created using the webbuild interface