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