|
|
|
@ -7,7 +7,6 @@ Group: System Environment/Libraries
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://libwps.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
@ -24,7 +23,6 @@ Summary: Development files for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: libwpd-devel%{?_isa}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -67,8 +65,6 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make install INSTALL="install -p" DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
@ -80,10 +76,6 @@ find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} +
|
|
|
|
|
LD_LIBRARY_PATH=$(pwd)/src/lib/.libs make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -91,12 +83,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING CREDITS NEWS README
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc HACKING
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
@ -104,12 +94,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_bindir}/wps2*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_defaultdocdir}/%{name}/html/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|