]> git.pld-linux.org Git - SPECS.git/blob - word2x.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / word2x.spec
1 Summary:        word2x convert word 6 documents to another format
2 Summary(pl.UTF-8):      Konwerter dokumentów MS Worda 6 do innych formatów
3 Name:           word2x
4 Version:        0.005
5 Release:        5
6 License:        GPL
7 Vendor:         Duncan Simpson <dps@io.stargate.co.uk>
8 Group:          Applications/Text
9 Source0:        http://dl.sourceforge.net/word2x/%{name}-%{version}.tar.gz
10 # Source0-md5:  50113e81b9f0e81d55cee1da6eea0f02
11 Patch0:         %{name}-opt.patch
12 Patch1:         %{name}-gcc3.patch
13 URL:            http://word2x.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libstdc++-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 word2x is a program that attempts to produce a component, if not
21 perfect rendition of a word 6 document. It guesses rather a lot from
22 context and can make mistakes.
23
24 %description -l pl.UTF-8
25 word2x jest programem, który próbuje zrobić kompletny, jeżeli nie
26 doskonały obraz dokumentu Worda 6. Program opiera się bardziej na
27 zgadywaniu z kontekstu i może robić błędy.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32 %patch1 -p1
33
34 %build
35 chmod u+w *
36 cp -f /usr/share/automake/config.* .
37 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
38 %{__aclocal}
39 %{__autoconf}
40 %configure
41
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
47
48 install word2x rtest2 $RPM_BUILD_ROOT%{_bindir}
49 install word2x.1 $RPM_BUILD_ROOT%{_mandir}/man1
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README INTERNALS
57 %attr(755, root, root) %{_bindir}/word2x
58 %attr(755, root, root) %{_bindir}/rtest2
59 %{_mandir}/man1/word2x.1*
This page took 0.09526 seconds and 3 git commands to generate.