f08c1a7
Name:		ebook-tools
f08c1a7
Version:	0.1.1
56ab805
Release:	4%{?dist}
f08c1a7
Summary:	Tools for accessing and converting various ebook file formats
f08c1a7
f08c1a7
Group:		Applications/Publishing
f08c1a7
License:	MIT
f08c1a7
URL:		http://sourceforge.net/projects/%{name}
f08c1a7
f08c1a7
Source0:	http://prdownloads.sourceforge.net/sourceforge/ebook-tools/%{name}-%{version}.tar.gz
f08c1a7
Patch0:		ebook-tools-0.1.1-rmhardcoded.patch
f08c1a7
f08c1a7
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f08c1a7
f08c1a7
BuildRequires:	libxml2-devel
f08c1a7
BuildRequires:	libzip-devel
f08c1a7
BuildRequires:	cmake
f08c1a7
Requires:	%{name}-libs = %{version}-%{release}
f08c1a7
f08c1a7
%description
f08c1a7
Tools for accessing and converting various ebook file formats.
f08c1a7
f08c1a7
%package devel
f08c1a7
Summary:	Development files for %{name}
f08c1a7
Group:		Development/Libraries
f08c1a7
f08c1a7
Requires:	%{name}-libs = %{version}-%{release}
f08c1a7
f08c1a7
%description devel
f08c1a7
The %{name}-devel package contains libraries and header files for
f08c1a7
developing applications that use %{name}.
f08c1a7
f08c1a7
%package libs
f08c1a7
Summary:	Libraries for %{name}
f08c1a7
Group:		System Environment/Libraries
f08c1a7
f08c1a7
%description libs
f08c1a7
The %{name}-libs package contains libraries to be used by 
f08c1a7
%{name} and others.
f08c1a7
f08c1a7
%prep
f08c1a7
%setup -q
f08c1a7
%patch0 -p1
f08c1a7
f08c1a7
f08c1a7
%build
f08c1a7
mkdir build
f08c1a7
cd build
f08c1a7
%{cmake} ..
f08c1a7
make
f08c1a7
f08c1a7
f08c1a7
%install
f08c1a7
rm -rf %{buildroot}
f08c1a7
cd build
f08c1a7
make install DESTDIR=%{buildroot}
f08c1a7
#remove because it doesnt work without clit
c005af0
rm -f %{buildroot}%{_bindir}/lit2epub
f08c1a7
f08c1a7
%clean
f08c1a7
rm -rf %{buildroot}
f08c1a7
f08c1a7
%post libs -p /sbin/ldconfig
f08c1a7
f08c1a7
%postun libs -p /sbin/ldconfig
f08c1a7
f08c1a7
%files
f08c1a7
%defattr(-,root,root,-)
f08c1a7
%doc
c005af0
%{_bindir}/einfo
f08c1a7
f08c1a7
%files	devel
f08c1a7
%defattr(-,root,root,-)
f08c1a7
%{_libdir}/*.so
f08c1a7
%{_includedir}/*
f08c1a7
f08c1a7
%files	libs
f08c1a7
%defattr(-,root,root,-)
f08c1a7
%doc README LICENSE
f08c1a7
%{_libdir}/*.so.*
f08c1a7
f08c1a7
%changelog
56ab805
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
56ab805
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
56ab805
c005af0
* Sat Jan 24 2009 John5342 <john5342 at, fedoraproject.org> 0.1.1-3
c005af0
- Actually remove lit2epub this time
c005af0
f08c1a7
* Mon Dec 15 2008 John5342 <john5342 at, fedoraproject.org> 0.1.1-2
f08c1a7
- Removed lit2epub as it doesnt work without clit
f08c1a7
f08c1a7
* Mon Dec 15 2008 John5342 <john5342 at, fedoraproject.org> 0.1.1-1
f08c1a7
- Initial package