|
|
b889a9 |
%global apiversion 0.1
|
|
|
b889a9 |
|
|
|
b889a9 |
Name: libmspub
|
|
|
b889a9 |
Version: 0.1.4
|
|
|
b889a9 |
Release: 1%{?dist}
|
|
|
b889a9 |
Summary: A library for import of Microsoft Publisher documents
|
|
|
b889a9 |
|
|
|
b889a9 |
License: MPLv2.0
|
|
|
b889a9 |
URL: http://wiki.documentfoundation.org/DLP/Libraries/libmspub
|
|
|
b889a9 |
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
|
|
|
b889a9 |
|
|
|
b889a9 |
BuildRequires: boost-devel
|
|
|
b889a9 |
BuildRequires: doxygen
|
|
|
b889a9 |
BuildRequires: gcc-c++
|
|
|
b889a9 |
BuildRequires: help2man
|
|
|
b889a9 |
BuildRequires: pkgconfig(icu-i18n)
|
|
|
b889a9 |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
b889a9 |
BuildRequires: pkgconfig(librevenge-generators-0.0)
|
|
|
b889a9 |
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
|
|
b889a9 |
BuildRequires: pkgconfig(zlib)
|
|
|
b889a9 |
|
|
|
b889a9 |
%description
|
|
|
b889a9 |
Libmspub is library providing ability to interpret and import Microsoft
|
|
|
b889a9 |
Publisher content into various applications. You can find it being used
|
|
|
b889a9 |
in libreoffice.
|
|
|
b889a9 |
|
|
|
b889a9 |
%package devel
|
|
|
b889a9 |
Summary: Development files for %{name}
|
|
|
b889a9 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b889a9 |
|
|
|
b889a9 |
%description devel
|
|
|
b889a9 |
The %{name}-devel package contains libraries and header files for
|
|
|
b889a9 |
developing applications that use %{name}.
|
|
|
b889a9 |
|
|
|
b889a9 |
%package doc
|
|
|
b889a9 |
Summary: Documentation of %{name} API
|
|
|
b889a9 |
BuildArch: noarch
|
|
|
b889a9 |
|
|
|
b889a9 |
%description doc
|
|
|
b889a9 |
The %{name}-doc package contains documentation files for %{name}.
|
|
|
b889a9 |
|
|
|
b889a9 |
%package tools
|
|
|
b889a9 |
Summary: Tools to transform Microsoft Publisher documents into other formats
|
|
|
b889a9 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b889a9 |
|
|
|
b889a9 |
%description tools
|
|
|
b889a9 |
Tools to transform Microsoft Publisher documents into other formats.
|
|
|
b889a9 |
Currently supported: XHTML, raw.
|
|
|
b889a9 |
|
|
|
b889a9 |
%prep
|
|
|
b889a9 |
%autosetup -p1
|
|
|
b889a9 |
|
|
|
b889a9 |
%build
|
|
|
b889a9 |
%configure --disable-static --disable-silent-rules
|
|
|
b889a9 |
sed -i \
|
|
|
b889a9 |
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
b889a9 |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
b889a9 |
libtool
|
|
|
b889a9 |
make %{?_smp_mflags}
|
|
|
b889a9 |
|
|
|
b889a9 |
%install
|
|
|
b889a9 |
make install DESTDIR=%{buildroot}
|
|
|
b889a9 |
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
b889a9 |
# rhbz#1001245 we install API docs directly from build
|
|
|
b889a9 |
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
b889a9 |
|
|
|
b889a9 |
# generate and install man pages
|
|
|
b889a9 |
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
b889a9 |
for tool in pub2raw pub2xhtml; do
|
|
|
b889a9 |
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
b889a9 |
done
|
|
|
b889a9 |
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
b889a9 |
install -m 0644 pub2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
b889a9 |
|
|
|
b889a9 |
%post -p /sbin/ldconfig
|
|
|
b889a9 |
%postun -p /sbin/ldconfig
|
|
|
b889a9 |
|
|
|
b889a9 |
%files
|
|
|
b889a9 |
%doc AUTHORS NEWS README
|
|
|
b889a9 |
%license COPYING.MPL
|
|
|
b889a9 |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
b889a9 |
|
|
|
b889a9 |
%files devel
|
|
|
b889a9 |
%doc ChangeLog
|
|
|
b889a9 |
%{_includedir}/%{name}-%{apiversion}
|
|
|
b889a9 |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
b889a9 |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
b889a9 |
|
|
|
b889a9 |
%files doc
|
|
|
b889a9 |
%license COPYING.MPL
|
|
|
b889a9 |
%doc docs/doxygen/html
|
|
|
b889a9 |
|
|
|
b889a9 |
%files tools
|
|
|
b889a9 |
%{_bindir}/pub2raw
|
|
|
b889a9 |
%{_bindir}/pub2xhtml
|
|
|
b889a9 |
%{_mandir}/man1/pub2raw.1*
|
|
|
b889a9 |
%{_mandir}/man1/pub2xhtml.1*
|
|
|
b889a9 |
|
|
|
b889a9 |
%changelog
|
|
|
b889a9 |
* Wed Feb 28 2018 David Tardon <dtardon@redhat.com> - 0.1.4-1
|
|
|
b889a9 |
- new upstream release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-3
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.1.3-2
|
|
|
b889a9 |
- Rebuilt for Boost 1.66
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue Jan 02 2018 David Tardon <dtardon@redhat.com> - 0.1.3-1
|
|
|
b889a9 |
- new upstream release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 0.1.2-19
|
|
|
b889a9 |
- Rebuild for ICU 60.1
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-18
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-17
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-16
|
|
|
b889a9 |
- Rebuilt for Boost 1.64
|
|
|
b889a9 |
|
|
|
b889a9 |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-15
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-14
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-13
|
|
|
b889a9 |
- Rebuilt for Boost 1.63
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-12
|
|
|
b889a9 |
- Rebuilt for Boost 1.63
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 0.1.2-11
|
|
|
b889a9 |
- rebuild for ICU 57.1
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-10
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-9
|
|
|
b889a9 |
- Rebuilt for Boost 1.60
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 0.1.2-8
|
|
|
b889a9 |
- rebuild for ICU 56.1
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.1.2-7
|
|
|
b889a9 |
- Rebuilt for Boost 1.59
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-6
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.1.2-5
|
|
|
b889a9 |
- rebuild for Boost 1.58
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.2-3
|
|
|
b889a9 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.1.2-2
|
|
|
b889a9 |
- Rebuild for boost 1.57.0
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue Dec 30 2014 David Tardon <dtardon@redhat.com> - 0.1.2-1
|
|
|
b889a9 |
- new upstream release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 0.1.1-3
|
|
|
b889a9 |
- rebuild for ICU 53.1
|
|
|
b889a9 |
|
|
|
b889a9 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue Jul 01 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
|
|
|
b889a9 |
- new upstream release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
|
|
|
b889a9 |
- new upstream release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.0.6-7
|
|
|
b889a9 |
- Rebuild for boost 1.55.0
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.6-6
|
|
|
b889a9 |
- generate man pages
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Feb 13 2014 David Tardon <dtardon@redhat.com> - 0.0.6-5
|
|
|
b889a9 |
- rebuild for new ICU
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Aug 30 2013 David Tardon <dtardon@redhat.com> - 0.0.6-4
|
|
|
b889a9 |
- Resolves: rhbz#1001245 duplicate documentation files / potentially conflicting
|
|
|
b889a9 |
|
|
|
b889a9 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-3
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.0.6-2
|
|
|
b889a9 |
- Rebuild for boost 1.54.0
|
|
|
b889a9 |
|
|
|
b889a9 |
* Tue May 14 2013 David Tardon <dtardon@redhat.com> - 0.0.6-1
|
|
|
b889a9 |
- new release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Feb 20 2013 David Tardon <dtardon@redhat.com> - 0.0.5-1
|
|
|
b889a9 |
- new release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Wed Jan 30 2013 David Tardon <dtardon@redhat.com> - 0.0.4-1
|
|
|
b889a9 |
- new release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Aug 24 2012 David Tardon <dtardon@redhat.com> - 0.0.3-1
|
|
|
b889a9 |
- new release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.0.2-3
|
|
|
b889a9 |
- rebuilt for boost 1.50
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-2
|
|
|
b889a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b889a9 |
|
|
|
b889a9 |
* Mon Jul 16 2012 David Tardon <dtardon@redhat.com> - 0.0.2-1
|
|
|
b889a9 |
- Resolves: rhbz#840445 new release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Jul 12 2012 David Tardon <dtardon@redhat.com> 0.0.1-1
|
|
|
b889a9 |
- new release
|
|
|
b889a9 |
|
|
|
b889a9 |
* Thu Jun 07 2012 David Tardon <dtardon@redhat.com> 0.0.0-1
|
|
|
b889a9 |
- initial import
|