]> git.pld-linux.org Git - packages/antiword.git/blame - antiword.spec
- pass rpmldflags
[packages/antiword.git] / antiword.spec
CommitLineData
2a3bf00f 1Summary: MSWord Document to TXT/Postscript converter
26b3ebd8 2Summary(pl.UTF-8): Konwerter dokumentów MSWord do TXT/Postscript
2a3bf00f 3Name: antiword
d771ef24 4Version: 0.37
9d55790e 5Release: 1
2a3bf00f
AM
6License: GPL
7Group: Applications/Text
2a3bf00f 8Source0: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
d771ef24 9# Source0-md5: f868e2a269edcbc06bf77e89a55898d1
ad9adb39 10Patch0: %{name}-etc_dir.patch
2a3bf00f
AM
11URL: http://www.winfield.demon.nl/index.html
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
d771ef24
JB
16converts the documents from Word 2, 6, 7, 97, 2000, 2002 and 2003 to
17text and Postscript. Antiword tries to keep the layout of the document
18intact.
2a3bf00f 19
7765be1e
JR
20%description -l pl.UTF-8
21Antiword to darmowy czytnik dokumentów MS-Word dla Linuksa, BeOS i RISC
d771ef24 22OS. Konwertuje on dokumenty z Worda 2, 6, 7, 97, 2000, 2002 oraz 2003
7765be1e
JR
23do tekstu oraz Postscriptu. Antiword próbuje utrzymać formę dokumentu
24nietkniętą.
2a3bf00f
AM
25
26%prep
9417df42 27%setup -q
2a27edef 28%patch0 -p1
2a3bf00f
AM
29
30%build
c264bf09
JB
31%{__make} \
32 CC="%{__cc}" \
0d7f7d4c
MB
33 OPT="%{rpmcflags}" \
34 LDFLAGS="%{rpmldflags}"
2a3bf00f
AM
35
36%install
37rm -rf $RPM_BUILD_ROOT
7c23b1a7 38install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
2a3bf00f 39
17124a30 40install %{name} k%{name} $RPM_BUILD_ROOT%{_bindir}
2a3bf00f 41install Docs/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
7c23b1a7 42install Resources/* $RPM_BUILD_ROOT%{_datadir}/antiword
2a3bf00f 43
2a3bf00f
AM
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
9417df42 49%doc Docs/{ChangeLog,Exmh,FAQ,History,Mutt,Netscape,QandA,ReadMe}
2a3bf00f 50%attr(755,root,root) %{_bindir}/*
7c23b1a7 51%{_datadir}/antiword
2a3bf00f 52%{_mandir}/man*/*
This page took 0.061966 seconds and 4 git commands to generate.