|
@@ -1,16 +1,17 @@
|
|
|
Summary: Library for reading and converting WordPerfect(tm) documents
|
|
|
Summary(ja): WordPerfect(tm) 文書の読み込みおよび変換をするライブラリ
|
|
|
Name: libwpd
|
|
|
-Version: 0.8.14
|
|
|
-Release: 3%{?_dist_release}
|
|
|
-Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
+Version: 0.9.0
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://libwpd.sf.net/
|
|
|
License: LGPL
|
|
|
|
|
|
+Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildRequires: glib2-devel >= 2.10.0
|
|
|
-BuildRequires: libgsf-devel >= 1.6.0
|
|
|
+BuildRequires: doxygen
|
|
|
|
|
|
%description
|
|
|
libwpd is a library that handles WordPerfect documents.
|
|
@@ -18,38 +19,40 @@ libwpd is a library that handles WordPerfect documents.
|
|
|
%description -l ja
|
|
|
libwpd は WordPerfect 文書を扱うためのライブラリです。
|
|
|
|
|
|
-%package tools
|
|
|
-Summary: Tools to transform WordPerfect Documents into other formats
|
|
|
-Summary(ja): WordPerfect 文書を他のフォーマットに変換するツール
|
|
|
-Group: Applications/Publishing
|
|
|
-
|
|
|
-%description tools
|
|
|
-Tools to transform WordPerfect Documents into other formats.
|
|
|
-Currently supported: html, raw, text.
|
|
|
-
|
|
|
%package devel
|
|
|
Summary: Development files for libwpd
|
|
|
Summary(ja): libwpd の開発用ファイル
|
|
|
Group: Development/Libraries
|
|
|
-Requires: libwpd = %{version}-%{release}
|
|
|
-Requires: glib2-devel >= 2.10.0
|
|
|
-Requires: libgsf-devel >= 1.6.0
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
%description devel
|
|
|
Includes and definitions for developing with libwpd.
|
|
|
|
|
|
+%package tools
|
|
|
+Summary: Tools to transform WordPerfect Documents into other formats
|
|
|
+Summary(ja): WordPerfect 文書を他のフォーマットに変換するツール
|
|
|
+Group: Applications/Publishing
|
|
|
+
|
|
|
+%description tools
|
|
|
+Tools to transform WordPerfect Documents into other formats.
|
|
|
+Currently supported: html, raw, text.
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
-%configure --without-docs --disable-static
|
|
|
+%configure --disable-static
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
|
+rm -rf _docs_to_install
|
|
|
+mkdir -p _docs_to_install
|
|
|
+mv $RPM_BUILD_ROOT%{_docdir}/libwpd/* _docs_to_install
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
@@ -59,22 +62,27 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc CHANGES COPYING CREDITS README
|
|
|
+%doc ChangeLog COPYING CREDITS README
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
-%files tools
|
|
|
-%defattr(-,root,root,-)
|
|
|
-%{_bindir}/wpd2*
|
|
|
-
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc HACKING TODO
|
|
|
+%doc _docs_to_install/*
|
|
|
+%dir %{_includedir}/libwpd-0.9
|
|
|
+%{_includedir}/libwpd-0.9/*
|
|
|
%{_libdir}/*.so
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
-%dir %{_includedir}/libwpd-0.8
|
|
|
-%{_includedir}/libwpd-0.8/libwpd/
|
|
|
+
|
|
|
+%files tools
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%{_bindir}/wpd2*
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwa.com> 0.9.0-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.14-3
|
|
|
- rebuild with rpm-4.8.1 for pkg-config file
|
|
|
|