116 lines
2.6 KiB
RPMSpec
116 lines
2.6 KiB
RPMSpec
Name: libwpd
|
|
Summary: Library for reading and converting WordPerfect(tm) documents.
|
|
Version: 0.8.0
|
|
Release: 4
|
|
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, libgsf >= 1.6.0
|
|
BuildRequires: glib2-devel >= 2.0.0, libgsf-devel >= 1.6.0
|
|
|
|
Patch0: libwpd-0.8.0-noendlessloop.patch
|
|
|
|
%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 = %{version}-%{release}
|
|
Requires: glib2-devel >= 2.0.0, libgsf-devel >= 1.6.0
|
|
Summary: Files for developing with libwpd.
|
|
Group: Development/Libraries
|
|
|
|
%description devel
|
|
Includes and definitions for developing with libwpd.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b libwpd-0.8.0-noendlessloop.patch
|
|
|
|
%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/*
|
|
%{_includedir}/libwpd-0.8/libwpd
|
|
|
|
%changelog
|
|
* Wed Apr 6 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-4
|
|
- add libwpd devel provided patch for endless loops on some wpd documents
|
|
|
|
* Wed Mar 30 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-3
|
|
- rh#152503# add some Requires for -devel package
|
|
|
|
* Wed Mar 2 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-2
|
|
- rebuild with gcc4
|
|
|
|
* Fri Feb 11 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-1
|
|
- new version
|
|
|
|
* Wed Feb 9 2005 Caolan McNamara <caolanm@redhat.com> 0.7.2-2
|
|
- rebuild
|
|
|
|
* Fri Jul 23 2004 Caolan McNamara <caolanm@redhat.com> 0.7.2-1
|
|
- bump to 0.7.2
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Thu Feb 19 2004 Jeremy Katz <katzj@redhat.com> - 0.7.1-1
|
|
- update to 0.7.1
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Dec 16 2003 Jeremy Katz <katzj@redhat.com> 0.6.6-1
|
|
- 0.6.6
|
|
|
|
* Tue Nov 4 2003 Jeremy Katz <katzj@redhat.com> 0.6.5-1
|
|
- 0.6.5
|
|
|
|
* 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
|