7 Commits

2 changed files with 39 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
--- libodfgen-0.1.8/src/OdfGenerator.cxx~ 2021-01-06 04:16:44.000000000 -0600
+++ libodfgen-0.1.8/src/OdfGenerator.cxx 2025-02-25 13:44:24.275284629 -0600
@@ -31,6 +31,7 @@
#include "OdfGenerator.hxx"
#include <math.h>
+#include <cstdint>
#include <cctype>
#include <limits>

View File

@@ -1,25 +1,25 @@
%define apiver %(echo %version | cut -d. -f1-2)
Name: libodfgen
Version: 0.1.1
Version: 0.1.8
Release: 2mamba
Summary: A library to generate OpenDocument documents
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/libwpd
URL: https://sourceforge.net/projects/libwpd
Source: http://downloads.sourceforge.net/project/libwpd/libodfgen/libodfgen-%{version}/libodfgen-%{version}.tar.xz
License: LGPL, MPL
Patch0: libodfgen-0.1.8-includes.patch
License: LGPL, MPL-2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: librevenge-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwpd-devel
BuildRequires: libz-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libetonyek-devel
BuildRequires: libwpd-devel >= 0.10
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A library to generate OpenDocument documents.
@@ -28,7 +28,6 @@ A library to generate OpenDocument documents.
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
@@ -42,10 +41,9 @@ Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%patch 0 -p1 -b .includes
%build
%configure
@@ -58,19 +56,16 @@ This package includes the %{name} API documentation.
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libodfgen-%{apiver}.so.*
%doc COPYING.LGPL COPYING.MPL
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libodfgen-%{apiver}
%dir %{_includedir}/libodfgen-%{apiver}/libodfgen
%{_includedir}/libodfgen-%{apiver}/libodfgen/*.hxx
%{_libdir}/libodfgen-%{apiver}.la
%{_libdir}/libodfgen-%{apiver}.so
%{_libdir}/pkgconfig/libodfgen-%{apiver}.pc
%doc ChangeLog README
@@ -81,6 +76,27 @@ This package includes the %{name} API documentation.
%{_datadir}/doc/libodfgen/*
%changelog
* Mon Sep 22 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-2mamba
- specfile fixes and .la files removal
* Tue Jan 19 2021 Automatic Build System <autodist@mambasoft.it> 0.1.8-1mamba
- automatic version update by autodist
* Sun Jun 17 2018 Automatic Build System <autodist@mambasoft.it> 0.1.7-1mamba
- automatic version update by autodist
* Thu Dec 31 2015 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
- automatic version update by autodist
* Sun May 24 2015 Automatic Build System <autodist@mambasoft.it> 0.1.4-1mamba
- automatic version update by autodist
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 0.1.3-1mamba
- automatic version update by autodist
* Tue Nov 25 2014 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
- automatic version update by autodist
* Sat Jul 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
- rebuilt with libwpd 0.10