|
|
|
@ -1,22 +1,12 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 8;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
%global apiversion 0.0
|
|
|
|
|
|
|
|
|
|
Name: librevenge
|
|
|
|
|
Version: 0.0.5
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Version: 0.0.4
|
|
|
|
|
Release: 22%{?dist}
|
|
|
|
|
Summary: A base library for writing document import filters
|
|
|
|
|
|
|
|
|
|
# src/lib/RVNGOLEStream.{h,cpp} are BSD
|
|
|
|
|
License: ( LGPL-2.1-or-later OR MPL-2.0 ) AND BSD-3-Clause
|
|
|
|
|
License: (LGPLv2+ or MPLv2.0) and BSD
|
|
|
|
|
URL: http://sourceforge.net/p/libwpd/wiki/librevenge/
|
|
|
|
|
Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
@ -25,7 +15,6 @@ BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: pkgconfig(cppunit)
|
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -68,6 +57,7 @@ debugging applications that use %{name}.
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-silent-rules \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--disable-werror \
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
--enable-pretty-printers
|
|
|
|
|
%endif
|
|
|
|
@ -80,12 +70,9 @@ sed -i \
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
# we install API docs directly from build
|
|
|
|
|
rm -rf %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%py_byte_compile %{python3} %{buildroot}%{_datadir}
|
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
@ -116,53 +103,19 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PA
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
%files gdb
|
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-%{apiversion}-gdb.py*
|
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-stream-%{apiversion}-gdb.py*
|
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/__pycache__
|
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-%{apiversion}.py*
|
|
|
|
|
%{_datadir}/gdb/auto-load%{_libdir}/%{name}-stream-%{apiversion}.py*
|
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
|
%{_datadir}/%{name}/python
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 22 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.0.5-8
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.4-22
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Dec 29 2022 David Tardon <dtardon@redhat.com> - 0.0.5-3
|
|
|
|
|
- Remove stray /
|
|
|
|
|
|
|
|
|
|
* Thu Dec 29 2022 David Tardon <dtardon@redhat.com> - 0.0.5-2
|
|
|
|
|
- Compile .py files
|
|
|
|
|
|
|
|
|
|
* Thu Dec 29 2022 David Tardon <dtardon@redhat.com> - 0.0.5-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Mon Nov 21 2022 David Tardon <dtardon@redhat.com> - 0.0.4-24
|
|
|
|
|
- Convert license to SPDX
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-22
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.4-21
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -272,5 +225,3 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PA
|
|
|
|
|
|
|
|
|
|
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.0.0-1
|
|
|
|
|
- initial import
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|