83 lines
2.0 KiB
RPMSpec
83 lines
2.0 KiB
RPMSpec
Name: libpgf
|
|
Version: 7.19.3
|
|
Release: 1mamba
|
|
Summary: An implementation of the Progressive Graphics File (PGF)
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.libpgf.org/index.php
|
|
# 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
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
libPGF is an implementation of the Progressive Graphics File (PGF).
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%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
|
|
cd PGF/Codec
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
cd PGF/Codec
|
|
%makeinstall
|
|
|
|
rm -rf %{buildroot}%{_docdir}/libpgf-*
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libpgf.so.*
|
|
%doc PGF/Codec/COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libpgf
|
|
%{_includedir}/libpgf/PGF*.h
|
|
%{_libdir}/libpgf.a
|
|
%{_libdir}/libpgf.la
|
|
%{_libdir}/libpgf.so
|
|
%{_libdir}/pkgconfig/libpgf.pc
|
|
%{_mandir}/man3/*.3*
|
|
%doc PGF/Codec/README
|
|
|
|
%changelog
|
|
* Tue Sep 08 2020 Automatic Build System <autodist@mambasoft.it> 7.19.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 6.14.12-1mamba
|
|
- package created using the webbuild interface
|