libpgf/libpgf.spec

71 lines
1.7 KiB
RPMSpec

Name: libpgf
Version: 6.14.12
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
Source: http://downloads.sourceforge.net/project/libpgf/libpgf/%{version}-latest/libpgf-src-%{version}.tar.gz
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 -n %{name}
%build
dos2unix configure.ac
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libpgf.so.*
%doc 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 README
%changelog
* Sun Dec 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 6.14.12-1mamba
- package created using the webbuild interface