From 3163f36d507f716fbcebb6888092a1c5a2d550cc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:15:45 +0100 Subject: [PATCH] update to 0.0.4 [release 0.0.4-1mamba;Wed Feb 12 2014] --- README.md | 2 ++ libodfgen.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 libodfgen.spec diff --git a/README.md b/README.md index ab9abe7..334aade 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libodfgen +A library to generate OpenDocument documents. + diff --git a/libodfgen.spec b/libodfgen.spec new file mode 100644 index 0000000..1c41faa --- /dev/null +++ b/libodfgen.spec @@ -0,0 +1,86 @@ +Name: libodfgen +Version: 0.0.4 +Release: 1mamba +Summary: A library to generate OpenDocument documents +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/libwpd +Source: http://downloads.sourceforge.net/project/libwpd/libodfgen/libodfgen-%{version}/libodfgen-%{version}.tar.xz +License: LGPL, MPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libwpd-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: libetonyek-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library to generate OpenDocument documents. + +%package devel +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}. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libodfgen-0.0.so.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libodfgen-0.0 +%dir %{_includedir}/libodfgen-0.0/libodfgen +%{_includedir}/libodfgen-0.0/libodfgen/*.hxx +%{_libdir}/libodfgen-0.0.la +%{_libdir}/libodfgen-0.0.so +%{_libdir}/pkgconfig/libodfgen-0.0.pc +%doc ChangeLog README + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/doc/libodfgen +%{_datadir}/doc/libodfgen/* + +%changelog +* Wed Feb 12 2014 Silvan Calarco 0.0.4-1mamba +- update to 0.0.4 + +* Sat Jul 27 2013 Silvan Calarco 0.0.0-1mamba +- package created by silvan using the webbuild interface