|
|
|
@ -5,7 +5,6 @@ Release: 1%{?dist}
|
|
|
|
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://libwpd.sf.net/
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
License: LGPLv2+ or MPLv2.0+
|
|
|
|
|
|
|
|
|
|
BuildRequires: cppunit-devel
|
|
|
|
@ -49,24 +48,18 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
%check
|
|
|
|
|
LD_LIBRARY_PATH=../lib/.libs make check
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING.LGPL COPYING.MPL CREDITS README
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_bindir}/wpd2*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc HACKING TODO
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|