From e22b49f0fd9dc56d2a7e5ac6f272cf97e069519c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:01:48 +0100 Subject: [PATCH] update to 0.2.2 [release 0.2.2-1mamba;Sat Sep 15 2012] --- README.md | 2 ++ ebook-tools.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 ebook-tools.spec diff --git a/README.md b/README.md index ef2e936..090ad15 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ebook-tools +Tools for accessing and converting various ebook file formats. + diff --git a/ebook-tools.spec b/ebook-tools.spec new file mode 100644 index 0000000..7edcd10 --- /dev/null +++ b/ebook-tools.spec @@ -0,0 +1,92 @@ +Name: ebook-tools +Version: 0.2.2 +Release: 1mamba +Summary: Tools for accessing and converting various ebook file formats +Group: Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://sourceforge.net/projects/ebook-tools +Source: http://downloads.sourceforge.net/ebook-tools/ebook-tools-%{version}.tar.gz +License: MIT +BuildRequires: cmake +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libxml2-devel +BuildRequires: libzip-devel +## AUTOBUILDREQ-END +Requires: libebook = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Tools for accessing and converting various ebook file formats. + +%package -n libebook +Group: System/Libraries +Summary: A small library for accessing and converting various ebook file formats + +%description -n libebook +A small library for accessing and converting various ebook file formats. + +%package -n libebook-devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: libebook = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libebook-devel +A small library for accessing and converting various ebook file formats. +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%cmake -d build \ + -DLIBZIP_INCLUDE_DIR=%{_libdir}/libzip/include +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/einfo +%{_bindir}/lit2epub +%doc LICENSE README TODO + +%files -n libebook +%defattr(-,root,root) +%{_libdir}/libepub.so.* + +%files -n libebook-devel +%defattr(-,root,root) +%{_includedir}/epub.h +%{_includedir}/epub_shared.h +%{_includedir}/epub_version.h +%{_libdir}/libepub.so + +%changelog +* Sat Sep 15 2012 Silvan Calarco 0.2.2-1mamba +- update to 0.2.2 + +* Sat Feb 18 2012 Silvan Calarco 0.2.1-3mamba +- fix build with libzip 0.10 (cleaner way than patching libzip) + +* Fri Feb 17 2012 Silvan Calarco 0.2.1-2mamba +- rebuilt with libzip 0.10 + +* Mon Dec 06 2010 Automatic Build System 0.2.1-1mamba +- automatic update by autodist + +* Wed Sep 08 2010 Automatic Build System 0.2.0-1mamba +- automatic update by autodist + +* Sun Oct 12 2008 Silvan Calarco 0.1.1-2mamba +- rebuilt + +* Fri Aug 29 2008 Aleph0 0.1.1-1mamba +- package created by autospec