|
|
f08c1a7 |
Name: ebook-tools
|
|
John5342 |
8eb2f82 |
Version: 0.2.2
|
|
|
f2370a6 |
Release: 11%{?dist}
|
|
|
f08c1a7 |
Summary: Tools for accessing and converting various ebook file formats
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
Group: Applications/Publishing
|
|
|
f08c1a7 |
License: MIT
|
|
|
57584cf |
URL: http://sourceforge.net/projects/ebook-tools/
|
|
|
f08c1a7 |
|
|
|
7df99a0 |
Source0: http://downloads.sourceforge.net/ebook-tools/%{name}-%{version}.tar.gz
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f08c1a7 |
|
|
|
57584cf |
## upstreamable patches
|
|
|
57584cf |
# support libzip pkgconfig
|
|
|
57584cf |
Patch51: ebook-tools-0.2.1-libzip_pkgconfig.patch
|
|
|
57584cf |
|
|
|
7df99a0 |
BuildRequires: cmake
|
|
|
57584cf |
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
57584cf |
BuildRequires: pkgconfig(libzip)
|
|
|
7df99a0 |
|
|
|
7df99a0 |
Requires: %{name}-libs%{?_isa} = %{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 |
|
|
|
7df99a0 |
Requires: %{name}-libs%{?_isa} = %{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
|
|
|
57584cf |
%patch51 -p1 -b .libzip_pkgconfig
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
%build
|
|
|
7df99a0 |
mkdir -p %{_target_platform}
|
|
|
7df99a0 |
pushd %{_target_platform}
|
|
|
f08c1a7 |
%{cmake} ..
|
|
|
7df99a0 |
popd
|
|
|
7df99a0 |
make %{_smp_mflags} -C %{_target_platform}
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
%install
|
|
|
f08c1a7 |
rm -rf %{buildroot}
|
|
|
7df99a0 |
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
7df99a0 |
|
|
|
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,-)
|
|
|
c005af0 |
%{_bindir}/einfo
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
%files devel
|
|
|
f08c1a7 |
%defattr(-,root,root,-)
|
|
|
7df99a0 |
%{_libdir}/libepub.so
|
|
|
7df99a0 |
%{_includedir}/epub*.h
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
%files libs
|
|
|
f08c1a7 |
%defattr(-,root,root,-)
|
|
|
f08c1a7 |
%doc README LICENSE
|
|
|
7df99a0 |
%{_libdir}/libepub.so.0*
|
|
|
f08c1a7 |
|
|
|
f08c1a7 |
%changelog
|
|
|
f2370a6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-11
|
|
|
f2370a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f2370a6 |
|
|
|
5dc922f |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-10
|
|
|
5dc922f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
5dc922f |
|
|
|
7032bf2 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-9
|
|
|
7032bf2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7032bf2 |
|
|
|
91da468 |
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> - 0.2.2-8
|
|
|
91da468 |
- rebuild for new libzip
|
|
|
91da468 |
|
|
|
cb7a642 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-7
|
|
|
cb7a642 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
cb7a642 |
|
|
|
0728af2 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-6
|
|
|
0728af2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0728af2 |
|
|
|
7df200d |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-5
|
|
|
7df200d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7df200d |
|
|
|
a8cac67 |
* Wed May 06 2015 Remi Collet <remi@fedoraproject.org> - 0.2.2-4
|
|
|
a8cac67 |
- rebuild for new libzip
|
|
|
a8cac67 |
|
|
|
fdd7a2d |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
|
|
|
fdd7a2d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
fdd7a2d |
|
|
|
3c1bf27 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
|
|
|
3c1bf27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3c1bf27 |
|
|
John5342 |
8eb2f82 |
* Fri Oct 18 2013 John5342 <john5342 at, fedoraproject.org> 0.2.2-1
|
|
John5342 |
8eb2f82 |
- New upstream release (fixes rhbz:1014443)
|
|
John5342 |
8eb2f82 |
- Drop rmhardcoded (-DLIB_SUFFIX now supported directly)
|
|
John5342 |
8eb2f82 |
|
|
|
8809d06 |
* Wed Aug 21 2013 Remi Collet <rcollet@redhat.com> - 0.2.1-5
|
|
|
8809d06 |
- rebuild for new libzip
|
|
|
8809d06 |
|
|
|
0bcbacc |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-4
|
|
|
0bcbacc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
0bcbacc |
|
|
|
0d7db43 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
|
|
|
0d7db43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0d7db43 |
|
|
|
b4b8090 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
|
|
|
b4b8090 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b4b8090 |
|
|
|
57584cf |
* Tue Jul 10 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.2.1-1
|
|
|
57584cf |
- ebook-tools-0.2.1
|
|
|
57584cf |
- pkgconfig-style deps
|
|
|
57584cf |
- patch to support libzip pkgconfig dirs
|
|
|
57584cf |
|
|
|
0266ba0 |
* Sat Feb 04 2012 Remi Collet <remi@fedoraproject.org> - 0.2.0-4
|
|
|
0266ba0 |
- rebuild for new libzip
|
|
|
0266ba0 |
|
|
|
6b4157d |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
|
|
|
6b4157d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6b4157d |
|
|
|
993d772 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
|
|
|
993d772 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
993d772 |
|
|
|
7df99a0 |
* Thu Sep 09 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.2.0-1
|
|
|
7df99a0 |
- ebook-tools-0.2.0
|
|
|
7df99a0 |
- %%files: track lib soname
|
|
|
7df99a0 |
- tighten subpkg deps with %%_isa
|
|
|
7df99a0 |
|
|
|
c610f69 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-5
|
|
|
c610f69 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c610f69 |
|
|
|
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
|