|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: libwps
|
|
|
|
|
Version: 0.1.2
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Library for reading and converting Microsoft Works word processor documents
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -71,11 +71,8 @@ make install INSTALL="install -p" DESTDIR="%{buildroot}"
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_defaultdocdir}/%{name}-%{version}/INSTALL
|
|
|
|
|
|
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}-%{version}/ -type d -exec chmod 755 {} +
|
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}-%{version}/ -type f -exec chmod 644 {} +
|
|
|
|
|
|
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type d -exec chmod 755 {} +
|
|
|
|
|
find %{buildroot}%{_defaultdocdir}/%{name}/ -type f -exec chmod 644 {} +
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
LD_LIBRARY_PATH=$(pwd)/src/lib/.libs make check
|
|
|
|
@ -93,16 +90,12 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%dir %{_defaultdocdir}/%{name}-%{version}
|
|
|
|
|
%doc CHANGES COPYING CREDITS README
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%{_defaultdocdir}/%{name}-%{version}/CHANGES
|
|
|
|
|
%{_defaultdocdir}/%{name}-%{version}/COPYING
|
|
|
|
|
%{_defaultdocdir}/%{name}-%{version}/CREDITS
|
|
|
|
|
%{_defaultdocdir}/%{name}-%{version}/README
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_defaultdocdir}/%{name}-%{version}/HACKING
|
|
|
|
|
%doc HACKING
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}*
|
|
|
|
@ -115,10 +108,13 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_defaultdocdir}/%{name}-%{version}/html/
|
|
|
|
|
%{_defaultdocdir}/%{name}/html/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.0-1
|
|
|
|
|
- latest version
|
|
|
|
|
|
|
|
|
|
* Sat Jan 30 2010 Chen Lei <supercyper@163.com> - 0.1.2-7
|
|
|
|
|
- Add noarch to -doc subpackage
|
|
|
|
|
|
|
|
|
|