]> git.pld-linux.org Git - packages/antiword.git/commitdiff
new spec; converter doc->txt/ps
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 14 Jan 2001 12:02:48 +0000 (12:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    antiword.spec -> 1.1

antiword.spec [new file with mode: 0644]

diff --git a/antiword.spec b/antiword.spec
new file mode 100644 (file)
index 0000000..f991fe6
--- /dev/null
@@ -0,0 +1,53 @@
+Summary:       MSWord Document to TXT/Postscript converter
+Summary(pl):   Konwerter domumentów MSWord do TXT/Postscript
+Name:          antiword
+Version:       0.31
+Release:       1
+License:       GPL
+Group:         Applications/Text
+Group(de):     Applikationen/Text
+Group(fr):     Utilitaires/Texte
+Group(pl):     Aplikacje/Tekst
+Source0:       http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
+Patch0:                %{name}-opt.patch
+URL:           http://www.winfield.demon.nl/index.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
+converts the documents from Word 6, 7, 97 and 2000 to text and
+Postscript. Antiword tries to keep the layout of the document intact.
+
+%description -l pl
+Antiword to darmowy czytnik dokumentów M$-Word dla Linuxa, BeOS i RISC
+OS. Konwertuje on dokumenty z Worda 6,7, 97 oraz 2000 do tekstu oraz
+Postscriptu. Antiword próbuje utrzymaæ formê dokumentu nietkniêt±.
+
+%prep
+%setup -q -n %{name}.%{version}
+%patch0 -p1
+
+%build
+OPT="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}" %{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install %{name}                $RPM_BUILD_ROOT%{_bindir}
+install Docs/*.1       $RPM_BUILD_ROOT%{_mandir}/man1
+
+rm -f Docs/*.1
+mv -f Resources .antiword
+
+gzip -9nf Docs/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Docs/*.gz .antiword
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man*/*
This page took 0.071324 seconds and 4 git commands to generate.