|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: libe-book
|
|
|
|
Name: libe-book
|
|
|
|
Version: 0.1.3
|
|
|
|
Version: 0.1.3
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Release: 14%{?dist}
|
|
|
|
Summary: A library for import of reflowable e-book formats
|
|
|
|
Summary: A library for import of reflowable e-book formats
|
|
|
|
|
|
|
|
|
|
|
|
License: MPLv2.0
|
|
|
|
License: MPLv2.0
|
|
|
@ -60,10 +60,10 @@ sed -i \
|
|
|
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
|
libtool
|
|
|
|
libtool
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
%make_install
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
# we install API docs directly from build
|
|
|
|
# we install API docs directly from build
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
@ -80,7 +80,7 @@ install -m 0644 ebook2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
make %{?_smp_mflags} check
|
|
|
|
%make_build check
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
@ -106,6 +106,10 @@ make %{?_smp_mflags} check
|
|
|
|
%{_mandir}/man1/ebook2text.1*
|
|
|
|
%{_mandir}/man1/ebook2text.1*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.1.3-14
|
|
|
|
|
|
|
|
- Use make macros
|
|
|
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
|
|
* Sat May 16 2020 Pete Walter <pwalter@fedoraproject.org> - 0.1.3-13
|
|
|
|
* Sat May 16 2020 Pete Walter <pwalter@fedoraproject.org> - 0.1.3-13
|
|
|
|
- Rebuild for ICU 67
|
|
|
|
- Rebuild for ICU 67
|
|
|
|
|
|
|
|
|
|
|
|