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