From f8798d76dfb6537c92bc0373f00722f1156e8bdb Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:08:58 +0100 Subject: [PATCH] automatic update by autodist [release 0.9.9-1mamba;Sun Aug 18 2013] --- README.md | 3 ++ libwpd.spec | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 libwpd.spec diff --git a/README.md b/README.md index 280f32b..9dbe059 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libwpd +Libwpd is a C++ library designed to help process WordPerfect documents. +It is most commonly used to import WordPerfect documents into other word processors. + diff --git a/libwpd.spec b/libwpd.spec new file mode 100644 index 0000000..217ee4a --- /dev/null +++ b/libwpd.spec @@ -0,0 +1,130 @@ +%define majorminor %(echo %version | cut -d. -f 1-2) + +Name: libwpd +Version: 0.9.9 +Release: 1mamba +Summary: A library for importing WordPerfect (tm) documents +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libwpd.sourceforge.net/ +Source: http://prdownloads.sourceforge.net/libwpd/libwpd-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: pkgconfig +BuildRequires: doxygen +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libwpd is a C++ library designed to help process WordPerfect documents. +It is most commonly used to import WordPerfect documents into other word processors. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libwpd is a C++ library designed to help process WordPerfect documents. +It is most commonly used to import WordPerfect documents into other word processors. +Libwpd exposes a simple callback-based API, allowing it to be easily plugged into any C or C++ application. +It strictly depends only on an implementation of the STL, although by interfacing with a library which abstracts the Microsoft OLE format (such as libgsf), you gain the ability to import OLE-embedded WordPerfect documents. + +This package contains static libraries and header files need for development. + +%package tools +Group: Applications/Publishing +Summary: Programs for manipulating WordPerfect documents +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +Libwpd is a C++ library designed to help process WordPerfect documents. +This package package contains various programs for manipulating WordPerfect format files. + +%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}/libwpd-%{majorminor}.so.* +%{_libdir}/libwpd-stream-%{majorminor}.so.* +%doc CREDITS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libwpd-%{majorminor} +%{_includedir}/libwpd-%{majorminor}/* +%{_libdir}/libwpd-*.la +%{_libdir}/libwpd-*.so +%{_libdir}/pkgconfig/*.pc +%dir %{_docdir}/libwpd +%{_docdir}/libwpd/* +%doc ChangeLog TODO + +%files tools +%defattr(-,root,root) +%{_bindir}/wpd2html +%{_bindir}/wpd2raw +%{_bindir}/wpd2text +%doc README + +%changelog +* Sun Aug 18 2013 Automatic Build System 0.9.9-1mamba +- automatic update by autodist + +* Fri May 17 2013 Automatic Build System 0.9.8-1mamba +- automatic version update by autodist + +* Sat Jan 12 2013 Automatic Build System 0.9.6-1mamba +- automatic version update by autodist + +* Sat Dec 01 2012 Automatic Build System 0.9.4-1mamba +- automatic version update by autodist + +* Mon Oct 03 2011 Automatic Build System 0.9.3-1mamba +- automatic version update by autodist + +* Sat Jul 23 2011 Automatic Build System 0.9.2-1mamba +- automatic update to 3.0.3.0 by autodist + +* Mon Jan 31 2011 Automatic Build System 0.9.1-1mamba +- automatic update by autodist + +* Sun Nov 21 2010 Silvan Calarco 0.9.0-1mamba +- update to 0.9.0 + +* Wed Jul 08 2009 Automatic Build System 0.8.14-1mamba +- automatic update by autodist + +* Mon Aug 27 2007 Silvan Calarco 0.8.11-1mamba +- update to 0.8.11 + +* Wed Mar 21 2007 Davide Madrisan 0.8.9-1qilnx +- update to version 0.8.9 by autospec +- also fixes the security issue CVE-2007-0002 +- new subpackage libwpd-tools + +* Sun Oct 23 2005 Silvan Calarco 0.8.3-1qilnx +- update to version 0.8.3 by autospec + +* Tue Aug 09 2005 Alessandro Ramazzina 0.8.2-1qilnx +- package created by autospec