]> git.pld-linux.org Git - packages/catdoc.git/blobdiff - catdoc.spec
- rel 2
[packages/catdoc.git] / catdoc.spec
index c45b08e55b5157e9988d8e2e613f50b6194dbc04..41c3f3340c2a6fd99333c72c3f3925f2b5ebeef6 100644 (file)
@@ -1,29 +1,42 @@
-Summary:       reads MS-Word file and puts its content as plain text on standard output
+Summary:       Reads MS-Word file and puts its content as plain text on standard output
+Summary(pl):   Program konwertuj±cy pliki MS Worda na czysty tekst
 Name:          catdoc
-Version:       0.91.4
-Release:       1
+Version:       0.93.3
+Release:       2
 License:       GPL
 Group:         Applications/Text
-Group(de):     Applikationen/Text
-Group(pl):     Aplikacje/Tekst
-Source0:       ftp://ftp.ice.ru/pub/vitus/%{name}-%{version}.tar.gz
-URL:           http://www.ice.ru/~vitus/catdoc/
+Source0:       ftp://ftp.45.free.net/pub/catdoc/%{name}-%{version}.tar.gz
+# Source0-md5: c021d2e30318bea063133191122676e5
+URL:           http://www.45.free.net/~vitus/ice/catdoc/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: tk
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 CATDOC is program which reads MS-Word file and prints readable ASCII
-text to stdout, just like Unix cat command. It also able to produce
-correct escape sequences if some UNICODE charachers have to be
+text to stdout, just like Unix cat command. It is also able to produce
+correct escape sequences if some UNICODE characters have to be
 represented specially in your typesetting system such as (La)TeX.
 
+%description -l pl
+catdoc jest programem czytaj±cym dokumenty MS-Worda i wypisuj±cym
+tekst ASCII na standardowe wyj¶cie, podobnie jak komenda cat. Mo¿e
+tak¿e tworzyæ poprawne sekwencje dla niektórych znaków unikodowych
+reprezentowanych specjalnie w systemie sk³adu, jak np. (La)TeX.
+
 %prep
-%setup -q -n %{name}
+%setup -q
 
 %build
-%configure --with-wish=/usr/bin/wish
+cp -f /usr/share/automake/config.sub .
+%{__aclocal}
+%{__autoconf}
+%configure \
+       --with-wish=/usr/bin/wish
 
-%{__make} FLAGS="%{?debug:-g -O0}%{!?debug:$RPM_OPT_FLAGS}"
+%{__make} \
+       FLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -32,14 +45,12 @@ rm -rf $RPM_BUILD_ROOT
        installroot=$RPM_BUILD_ROOT \
        mandir=%{_mandir}/man1
 
-gzip -9nf CREDITS README NEWS TODO
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(755, root, root) %{_bindir}/*
-%{_libdir}/catdoc
+%doc CREDITS NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/catdoc
 %{_mandir}/man1/*
This page took 0.088135 seconds and 4 git commands to generate.