some spec cleanups

This commit is contained in:
Caolan McNamara 2007-02-09 12:54:06 +00:00
parent d7acb628c3
commit 32d7581f8b

View File

@ -1,19 +1,17 @@
Name: libwpd
Summary: Library for reading and converting WordPerfect(tm) documents
Version: 0.8.8
Release: 1
Source: %{name}-%{version}.tar.gz
Release: 2%{?dist}
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Group: System Environment/Libraries
URL: http://libwpd.sf.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPL
Requires: glib2 >= 2.0.0, libgsf >= 1.6.0
BuildRequires: glib2-devel >= 2.0.0, libgsf-devel >= 1.6.0
%description
Library that handles Word Perfect documents.
%package tools
Summary: Tools to transform WordPerfect Documents into other formats
Group: Applications/Publishing
@ -35,7 +33,7 @@ Includes and definitions for developing with libwpd.
%setup -q
%build
%configure --without-docs
%configure --without-docs --disable-static
make %{?_smp_mflags}
%install
@ -50,22 +48,25 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc CHANGES COPYING CREDITS README
%{_libdir}/*.so.*
%files tools
%defattr(-,root,root)
%defattr(-,root,root,-)
%{_bindir}/wpd2*
%files devel
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc HACKING TODO
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/libwpd-0.8/libwpd/
%changelog
* Fri Feb 09 2007 Caolan McNamara <caolanm@redhat.com> - 0.8.8-2
- spec cleanups
* Thu Jan 11 2007 Caolan McNamara <caolanm@redhat.com> - 0.8.8-1
- next version