[10201] | 1 | %define pkg_name antiword |
---|
| 2 | %define pkg_version 0.37 |
---|
| 3 | %define pkg_release 1%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: Converts MS Word files to text, PS, PDF and XML |
---|
| 6 | Summary(ja): MS Wordファイルからテキスト、PS、PDF、XMLファイルに変換 |
---|
| 7 | Name: %{pkg_name} |
---|
| 8 | Version: %{pkg_version} |
---|
| 9 | Release: %{pkg_release} |
---|
| 10 | |
---|
| 11 | License: GPLv2 |
---|
| 12 | Group: Applications/Text |
---|
| 13 | URL: http://www.winfield.demon.nl/ |
---|
| 14 | Source0: http://agroman.net/corkscrew/linux/%{name}-%{version}.tar.gz |
---|
| 15 | |
---|
| 16 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | Packager: ara_t |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | Antiword is a free MS Word reader. |
---|
| 25 | It converts the binary files from MS Word 2, 6, 7, 97, 2000 and 2003 |
---|
| 26 | to text, Postscript, PDF and XML. |
---|
| 27 | |
---|
| 28 | %description -l ja |
---|
| 29 | AntiwordはフリーなMS Wordリーダです。 |
---|
| 30 | MS Word 6, 7, 97, 2000, 2003のバイナリファイルから |
---|
| 31 | テキスト、PostScript、PDF、XMLファイルに変換します。 |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 36 | %setup -q |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | %{__make} %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | %{__make} global_install \ |
---|
| 43 | GLOBAL_INSTALL_DIR=%{_bindir} \ |
---|
| 44 | DESTDIR=${RPM_BUILD_ROOT} |
---|
| 45 | |
---|
| 46 | %{__mkdir_p} ${RPM_BUILD_ROOT}%{_mandir}/man1 |
---|
| 47 | %{__install} -m 644 Docs/antiword.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/ |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root) |
---|
| 55 | %doc Docs/antiword.old.php Docs/antiword.php |
---|
| 56 | %doc Docs/ChangeLog Docs/COPYING Docs/FAQ Docs/History Docs/QandA Docs/ReadMe |
---|
| 57 | %doc Docs/Emacs Docs/testdoc.doc |
---|
| 58 | %{_bindir}/ |
---|
| 59 | %{_datadir}/antiword/ |
---|
| 60 | %{_mandir}/man1/ |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %changelog |
---|
| 64 | * Wed Apr 27 2016 Toshiaki Ara <ara_t@384.jp> 0.37-1 |
---|
| 65 | - new package |
---|
| 66 | |
---|