diff --git a/.gitignore b/.gitignore index e40b87d..13f8b02 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -libwps-0.1.2.tar.gz +/libwps-0.2.0.tar.gz diff --git a/libwps.spec b/libwps.spec index 1e84a5c..684eb6f 100644 --- a/libwps.spec +++ b/libwps.spec @@ -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 - 0.2.0-1 +- latest version + * Sat Jan 30 2010 Chen Lei - 0.1.2-7 - Add noarch to -doc subpackage diff --git a/sources b/sources index f10d36a..9a05fd3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -799fc3b835a79adce8c88a3fee0150c1 libwps-0.1.2.tar.gz +b569376fb0aefc5284b10a695bd2daa6 libwps-0.2.0.tar.gz