diff --git a/README.md b/README.md index aa2229d..67b740b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libepubgen +libepubgen is a library for generating documents in EPUB format. + diff --git a/libepubgen.spec b/libepubgen.spec new file mode 100644 index 0000000..187875e --- /dev/null +++ b/libepubgen.spec @@ -0,0 +1,71 @@ +Name: libepubgen +Version: 0.1.0 +Release: 1mamba +Summary: A library for generating documents in EPUB format +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://sourceforge.net/projects/libepubgen/ +Source: https://netix.dl.sourceforge.net/project/libepubgen/libepubgen-%{version}/libepubgen-%{version}.tar.xz +License: MPL 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: librevenge-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libepubgen is a library for generating documents in EPUB format. + +%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 + +%build +%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}/libepubgen-0.1.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libepubgen-0.1 +%dir %{_includedir}/libepubgen-0.1/libepubgen +%{_includedir}/libepubgen-0.1/libepubgen/*.h +%{_libdir}/libepubgen-0.1.la +%{_libdir}/libepubgen-0.1.so +%{_libdir}/pkgconfig/libepubgen-0.1.pc +%dir %{_datadir}/doc/libepubgen +%dir %{_datadir}/doc/libepubgen/html +%{_datadir}/doc/libepubgen/html/* +%doc ChangeLog NEWS README TODO + +%changelog +* Wed Mar 21 2018 Silvan Calarco 0.1.0-1mamba +- package created using the webbuild interface