ebook-tools/ebook-tools.spec

93 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

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 <aleph0@openmamba.org>
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 <silvan.calarco@mambasoft.it> 0.2.2-1mamba
- update to 0.2.2
* Sat Feb 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-3mamba
- fix build with libzip 0.10 (cleaner way than patching libzip)
* Fri Feb 17 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-2mamba
- rebuilt with libzip 0.10
* Mon Dec 06 2010 Automatic Build System <autodist@mambasoft.it> 0.2.1-1mamba
- automatic update by autodist
* Wed Sep 08 2010 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
- automatic update by autodist
* Sun Oct 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
- rebuilt
* Fri Aug 29 2008 Aleph0 <aleph0@openmamba.org> 0.1.1-1mamba
- package created by autospec