Compare commits

..

No commits in common. "c8s" and "27a02353e46f53d60629b612ecdc8a9da9f89ab4" have entirely different histories.

5 changed files with 81 additions and 7 deletions

12
.gitignore vendored
View File

@ -1,2 +1,12 @@
SOURCES/libmspub-0.1.4.tar.xz
/libmspub-0.0.0.tar.xz
/libmspub-0.0.1.tar.xz
/libmspub-0.0.2.tar.xz
/libmspub-0.0.3.tar.xz
/libmspub-0.0.4.tar.xz
/libmspub-0.0.5.tar.xz
/libmspub-0.0.6.tar.xz
/libmspub-0.1.0.tar.xz
/libmspub-0.1.1.tar.xz
/libmspub-0.1.2.tar.xz
/libmspub-0.1.3.tar.xz
/libmspub-0.1.4.tar.xz

1
.libmspub.metadata Normal file
View File

@ -0,0 +1 @@
dcfe4dba518b44cc500385e878b66f53c5734df6 libmspub-0.1.4.tar.xz

View File

@ -1,6 +1,6 @@
--- !Policy
product_versions:
- rhel-8
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

11
gcc10.patch Normal file
View File

@ -0,0 +1,11 @@
diff -Nrup a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h
--- a/src/lib/MSPUBMetaData.h 2018-02-28 04:54:49.000000000 -0700
+++ b/src/lib/MSPUBMetaData.h 2019-09-23 16:55:47.100951113 -0600
@@ -13,6 +13,7 @@
#include <map>
#include <utility>
#include <vector>
+#include <cstdint>
#include <librevenge/librevenge.h>

View File

@ -2,13 +2,15 @@
Name: libmspub
Version: 0.1.4
Release: 1%{?dist}
Release: 17%{?dist}
Summary: A library for import of Microsoft Publisher documents
License: MPLv2.0
URL: http://wiki.documentfoundation.org/DLP/Libraries/libmspub
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
Patch0: gcc10.patch
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: gcc-c++
@ -18,6 +20,7 @@ BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(librevenge-generators-0.0)
BuildRequires: pkgconfig(librevenge-stream-0.0)
BuildRequires: pkgconfig(zlib)
BuildRequires: make
%description
Libmspub is library providing ability to interpret and import Microsoft
@ -56,10 +59,10 @@ sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
libtool
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=%{buildroot}
%make_install
rm -f %{buildroot}/%{_libdir}/*.la
# rhbz#1001245 we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name}
@ -72,8 +75,7 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 pub2*.1 %{buildroot}/%{_mandir}/man1
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc AUTHORS NEWS README
@ -97,6 +99,56 @@ install -m 0644 pub2*.1 %{buildroot}/%{_mandir}/man1
%{_mandir}/man1/pub2xhtml.1*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.4-17
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.4-16
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 0.1.4-13
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Sat May 16 2020 Pete Walter <pwalter@fedoraproject.org> - 0.1.4-12
- Rebuild for ICU 67
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Dec 14 2019 Jeff Law <law@redhat.com> - 0.1.4-10
- Fix missing #include for gcc-10
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 0.1.4-9
- Rebuild for ICU 65
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.1.4-6
- Rebuilt for Boost 1.69
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 0.1.4-5
- Rebuild for ICU 63
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 0.1.4-3
- Rebuild for ICU 62
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 0.1.4-2
- Rebuild for ICU 61.1
* Wed Feb 28 2018 David Tardon <dtardon@redhat.com> - 0.1.4-1
- new upstream release