%define apiver %(echo %version | cut -d. -f1-2) Name: libe-book Version: 0.1.3 Release: 1mamba Summary: Library for import of reflowable e-book formats Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://sourceforge.net/projects/libebook/ Source: http://downloads.sourceforge.net/project/libebook/libe-book-%{version}/libe-book-%{version}.tar.xz License: MPL 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libicu-devel BuildRequires: liblzma-devel BuildRequires: librevenge-devel BuildRequires: libstdc++6-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libwpd-devel >= 0.10 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Library for import of reflowable e-book formats. %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}. %package tools Group: Applications/Publishing Summary: Utility applications for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. %debug_package %prep %setup -q %build %configure \ CXXFLAGS="%{optflags} -Wno-error=unused-function" %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}/libe-book-%{apiver}.so.* %doc AUTHORS %files devel %defattr(-,root,root) %dir %{_includedir}/libe-book-%{apiver} %dir %{_includedir}/libe-book-%{apiver}/libe-book %{_includedir}/libe-book-%{apiver}/libe-book/*.h %{_libdir}/libe-book-%{apiver}.la %{_libdir}/libe-book-%{apiver}.so %{_libdir}/pkgconfig/libe-book-%{apiver}.pc %dir %{_datadir}/doc/libe-book/ %{_datadir}/doc/libe-book/* %doc ChangeLog NEWS README TODO %files tools %defattr(-,root,root) %{_bindir}/ebook2html %{_bindir}/ebook2raw %{_bindir}/ebook2text %changelog * Sun Jan 07 2018 Automatic Build System 0.1.3-1mamba - automatic version update by autodist * Sat Jan 10 2015 Automatic Build System 0.1.2-1mamba - automatic version update by autodist * Fri Jul 11 2014 Silvan Calarco 0.1.1-1mamba - update to 0.1.1 * Wed Feb 05 2014 Silvan Calarco 0.0.2-1mamba - package created using the webbuild interface