libpgf/libpgf.spec

84 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: libpgf
Version: 7.21.7
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: https://www.libpgf.org/index.php
# NOTE: manually renamed
Source: https://sourceforge.net/projects/libpgf/files/libpgf/%{version}-latest/libpgf-%{version}.zip
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%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
cd libpgf
touch README
dos2unix configure.ac autogen.sh Makefile.am
chmod +x autogen.sh
./autogen.sh
%build
cd libpgf
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd libpgf
%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 libpgf/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 libpgf/README.txt
%changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.21.7-1mamba
- update to 7.21.7
* 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