%define majorminor %(echo %version | cut -d. -f 1-2) Name: libwpd08 Version: 0.8.14 Release: 2mamba 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 BuildRequires: pkgconfig BuildRequires: libglib-devel BuildRequires: libgsf-devel BuildRequires: libxml2-devel 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 -n libwpd-%{version} %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 CHANGES COPYING CREDITS README TODO %files devel %defattr(-,root,root) %dir %{_includedir}/libwpd-%{majorminor}/libwpd %{_includedir}/libwpd-%{majorminor}/libwpd/*.h %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %dir %{_docdir}/libwpd-%{version} %{_docdir}/libwpd-%{version}/* %files tools %defattr(-,root,root) %{_bindir}/wpd2html %{_bindir}/wpd2raw %{_bindir}/wpd2text %changelog * Wed Oct 12 2011 Silvan Calarco 0.8.14-2mamba - rebuilt as legacy package * 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