diff --git a/README.md b/README.md index df31a20..697b160 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libpgf +libPGF is an implementation of the Progressive Graphics File (PGF). + diff --git a/libpgf.spec b/libpgf.spec new file mode 100644 index 0000000..155888f --- /dev/null +++ b/libpgf.spec @@ -0,0 +1,70 @@ +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 +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 6.14.12-1mamba +- package created using the webbuild interface