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