78 lines
1.5 KiB
RPMSpec
78 lines
1.5 KiB
RPMSpec
|
Name: libwpd
|
||
|
Summary: Library for reading and converting WordPerfect(tm) documents.
|
||
|
Version: 0.6.2
|
||
|
Release: 1
|
||
|
Source: %{name}-%{version}.tar.gz
|
||
|
Group: System Environment/Libraries
|
||
|
URL: http://libwpd.sf.net/
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||
|
License: LGPL
|
||
|
Requires: glib2 >= 2.0.0
|
||
|
Requires: libgsf >= 1.6.0
|
||
|
BuildRequires: glib2-devel >= 2.0.0
|
||
|
BuildRequires: libgsf-devel >= 1.6.0
|
||
|
|
||
|
%description
|
||
|
Library that handles Word Perfect documents.
|
||
|
|
||
|
|
||
|
%package tools
|
||
|
Requires: libwpd
|
||
|
Summary: Tools to transform WordPerfect Documents into other formats
|
||
|
Group: Applications/Publishing
|
||
|
|
||
|
%description tools
|
||
|
Tools to transform WordPerfect Documents into other formats.
|
||
|
Currently supported: html, raw, text
|
||
|
|
||
|
%package devel
|
||
|
Requires: libwpd
|
||
|
Summary: Files for developing with libwpd.
|
||
|
Group: Development/Libraries
|
||
|
|
||
|
%description devel
|
||
|
Includes and definitions for developing with libwpd.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
%makeinstall
|
||
|
|
||
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.so*
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/wpd2*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.so
|
||
|
%{_libdir}/pkgconfig/libwpd-1.pc
|
||
|
%{_includedir}/libwpd-1/libwpd
|
||
|
|
||
|
%changelog
|
||
|
* Mon Sep 15 2003 Jeremy Katz <katzj@redhat.com> 0.6.2-1
|
||
|
- 0.6.2
|
||
|
|
||
|
* Sun Jul 6 2003 Jeremy Katz <katzj@redhat.com> 0.5.0-1
|
||
|
- initial build for Red Hat Linux, tweak accordingly
|
||
|
|
||
|
* Sat Apr 26 2003 Rui M. Seabra <rms@1407.org>
|
||
|
- Create rpm spec
|