]> git.pld-linux.org Git - packages/gtypist.git/blob - gtypist.spec
- update to 2.4.1
[packages/gtypist.git] / gtypist.spec
1 Summary:        Program for learning typist     
2 Summary(pl):    Program do nauki bezwzrokowego pisania na klawiaturze
3 Name:           gtypist
4 Version:        2.4.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Text
8 Group(de):      Applikationen/Text
9 Group(pl):      Aplikacje/Tekst
10 Source0:        ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-ncurses.patch
12 URL:            http://www.gnu.org/software/gtypist
13 BuildRequires:  ncurses-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 Provides:       typist
17 Obsoletes:      typist
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This program came from a desire to learn 'proper' typing.
22
23 %description -l pl
24 Program do nauki bezwzrokowego pisania na klawiaturze. Oferuje kilka
25 lekcji, na razie tylko po angielsku.
26
27 %prep
28 %setup  -q
29 %patch0 -p1
30
31 %build
32 aclocal
33 autoconf
34 automake -a -c
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 gzip -9nf README AUTHORS NEWS TODO THANKS
45
46 %find_lang %{name}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post
52 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
53
54 %postun
55 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
56
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 %doc *.gz
60 %attr(755,root,root) %{_bindir}/%{name}
61 %{_mandir}/man1/*
62 %{_infodir}/*
63 %{_datadir}/%{name}
This page took 0.029898 seconds and 4 git commands to generate.