source: projects/specs/trunk/a/antiword/antiword-vl.spec @ 10201

Revision 10201, 1.6 KB checked in by ara_t, 8 years ago (diff)

Converts MS Word files to text, PS, PDF and XML

Line 
1%define pkg_name    antiword
2%define pkg_version 0.37
3%define pkg_release 1%{?_dist_release}
4
5Summary:     Converts MS Word files to text, PS, PDF and XML
6Summary(ja): MS Wordファイルからテキスト、PS、PDF、XMLファイルに変換
7Name:        %{pkg_name}
8Version:     %{pkg_version}
9Release:     %{pkg_release}
10
11License: GPLv2
12Group:   Applications/Text
13URL:     http://www.winfield.demon.nl/
14Source0: http://agroman.net/corkscrew/linux/%{name}-%{version}.tar.gz
15
16Buildroot: %{_tmppath}/%{name}-%{version}-root
17
18Vendor: Project Vine
19Distribution: Vine Linux
20Packager: ara_t
21
22
23%description
24Antiword is a free MS Word reader.
25It converts the binary files from MS Word 2, 6, 7, 97, 2000 and 2003
26to text, Postscript, PDF and XML.
27
28%description -l ja
29AntiwordはフリーなMS Wordリーダです。
30MS 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
Note: See TracBrowser for help on using the repository browser.