From 262b30a8da8ed747df7cfad4f731c5b2201b07d9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:42:49 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.0.1-1mamba;Sun Jun 15 2014] --- README.md | 3 ++ librevenge.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 librevenge.spec diff --git a/README.md b/README.md index b60eb35..5cc7a8c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # librevenge +librevenge is a base library for writing document import filters. It has +interfaces for text documents, vector graphics, spreadsheets and presentations. + diff --git a/librevenge.spec b/librevenge.spec new file mode 100644 index 0000000..6753f3f --- /dev/null +++ b/librevenge.spec @@ -0,0 +1,85 @@ +Name: librevenge +Version: 0.0.1 +Release: 1mamba +Summary: A base library for writing document import filters +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/p/libwpd/wiki/librevenge/ +Source: http://downloads.sourceforge.net/project/libwpd/librevenge/librevenge-%{version}/librevenge-%{version}.tar.xz +License: LGPL, MPL 1.1 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: libcppunit-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +librevenge is a base library for writing document import filters. It has +interfaces for text documents, vector graphics, spreadsheets and presentations. + +%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}. + +%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}/librevenge-0.0.so.* +%{_libdir}/librevenge-generators-0.0.so.* +%{_libdir}/librevenge-stream-0.0.so.* +%doc AUTHORS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/librevenge-0.0 +%dir %{_includedir}/librevenge-0.0/librevenge-generators +%{_includedir}/librevenge-0.0/librevenge-generators/*.h +%dir %{_includedir}/librevenge-0.0/librevenge-stream +%{_includedir}/librevenge-0.0/librevenge-stream/*.h +%dir %{_includedir}/librevenge-0.0/librevenge +%{_includedir}/librevenge-0.0/librevenge/*.h +%{_libdir}/librevenge-0.0.la +%{_libdir}/librevenge-0.0.so +%{_libdir}/librevenge-generators-0.0.la +%{_libdir}/librevenge-generators-0.0.so +%{_libdir}/librevenge-stream-0.0.la +%{_libdir}/librevenge-stream-0.0.so +%{_libdir}/pkgconfig/librevenge-0.0.pc +%{_libdir}/pkgconfig/librevenge-generators-0.0.pc +%{_libdir}/pkgconfig/librevenge-stream-0.0.pc +%dir %{_datadir}/doc/librevenge +%dir %{_datadir}/doc/librevenge/html +%{_datadir}/doc/librevenge/html/* +%doc ChangeLog NEWS README + +%changelog +* Sun Jun 15 2014 Silvan Calarco 0.0.1-1mamba +- package created using the webbuild interface