new upstream release 0.1.3

f41
David Tardon 7 years ago
parent d0b3af00b7
commit c3024527af

1
.gitignore vendored

@ -8,3 +8,4 @@
/libmspub-0.1.0.tar.xz /libmspub-0.1.0.tar.xz
/libmspub-0.1.1.tar.xz /libmspub-0.1.1.tar.xz
/libmspub-0.1.2.tar.xz /libmspub-0.1.2.tar.xz
/libmspub-0.1.3.tar.xz

@ -1,8 +1,8 @@
%global apiversion 0.1 %global apiversion 0.1
Name: libmspub Name: libmspub
Version: 0.1.2 Version: 0.1.3
Release: 19%{?dist} Release: 1%{?dist}
Summary: A library for import of Microsoft Publisher documents Summary: A library for import of Microsoft Publisher documents
License: MPLv2.0 License: MPLv2.0
@ -14,6 +14,8 @@ BuildRequires: doxygen
BuildRequires: help2man BuildRequires: help2man
BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(librevenge-0.0) BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(librevenge-generators-0.0)
BuildRequires: pkgconfig(librevenge-stream-0.0)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%description %description
@ -48,23 +50,24 @@ Currently supported: XHTML, raw.
%setup -q %setup -q
%build %build
%configure --disable-static --disable-werror --disable-silent-rules %configure --disable-static --disable-silent-rules
sed -i \ 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 %{?_smp_mflags}
export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
help2man -N -n 'debug the conversion library' -o pub2raw.1 ./src/conv/raw/.libs/pub2raw
help2man -N -n 'convert Publisher document into SVG' -o pub2xhtml.1 ./src/conv/svg/.libs/pub2xhtml
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la rm -f %{buildroot}/%{_libdir}/*.la
# rhbz#1001245 we install API docs directly from build # rhbz#1001245 we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name} rm -rf %{buildroot}/%{_docdir}/%{name}
# generate and install man pages
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
for tool in pub2raw pub2xhtml; do
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
done
install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 pub2*.1 %{buildroot}/%{_mandir}/man1 install -m 0644 pub2*.1 %{buildroot}/%{_mandir}/man1
@ -93,6 +96,9 @@ install -m 0644 pub2*.1 %{buildroot}/%{_mandir}/man1
%{_mandir}/man1/pub2xhtml.1* %{_mandir}/man1/pub2xhtml.1*
%changelog %changelog
* Tue Jan 02 2018 David Tardon <dtardon@redhat.com> - 0.1.3-1
- new upstream release
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 0.1.2-19 * Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 0.1.2-19
- Rebuild for ICU 60.1 - Rebuild for ICU 60.1

@ -1 +1 @@
050b8b29c2620fdbfb5d8561d4d08a11 libmspub-0.1.2.tar.xz SHA512 (libmspub-0.1.3.tar.xz) = 3d3680a732c84f7817cf079ae458f56e1eac14663014d48c29f54a6b4dfee887c2cc296a6d6e00d2e05329126414e6513cd7d1187c760ce952c72c27a7ccda46

Loading…
Cancel
Save