]> git.pld-linux.org Git - packages/joe.git/blob - joe.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/joe.git] / joe.spec
1 Summary:        Easy to use editor
2 Summary(de):    einfach handzuhabender Editor
3 Summary(fr):    éditeur facile à utiliser
4 Summary(pl):    £atwy w u¿yciu edytor tekstowy
5 Summary(tr):    Kolay kullanýmlý metin düzenleyici
6 Name:           joe
7 Version:        2.9.7
8 Release:        1
9 License:        GPL
10 Group:          Applications/Editors
11 Source0:        http://prdownloads.sourceforge.net/joe-editor/%{name}-%{version}.tgz
12 Source1:        %{name}.png
13 Source2:        %{name}.desktop
14 Source3:        %{name}-non-english-man-pages.tar.bz2
15 Patch0:         %{name}-DESTDIR.patch
16 Patch1:         %{name}-pl_man.patch
17 Icon:           joe.xpm
18 URL:            http://sourceforge.net/projects/joe-editor/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  ncurses-devel >= 5.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _sysconfdir     /etc/joe
25
26 %description
27 Joe is a friendly and easy to use editor. It has a nice interface and
28 would be a good choice for a novice needing a text editor. It uses the
29 same WordStar keybindings which are also used by Borland's development
30 enbironment.
31
32 %description -l de
33 Joe ist ein bedienerfreundlicher, einfacher Editor mit attraktiver
34 Oberfläche. Eine gute Wahl für Neueinsteiger, die einen Texteditor
35 brauchen, benutzt er dieselben WordStar-Keybindings, die auch von
36 Borlands Enwicklungsumgebung verwendet werden.
37
38 %description -l fr
39 Joe est un éditeur de texte simple à utiliser. il à une interface
40 agréable et constitue un bon choix novice ayant besoin d'un éditeur de
41 texte. Il utilise les mêmes combinaisons de touches que WordStar, qui
42 sont aussi utilisées par les environnements de développement Borland.
43
44 %description -l pl
45 Joe jest ³atwym i przyjemnym w u¿yciu edytorem, ma ³adny interfejs i
46 mo¿e byæ dobrym wyborem dla pocz±tkuj±cych u¿ytkowników Linuxa. Joe
47 u¿ywa tej samej kombinacji klawiszy co WordStar i oprogramowae
48 Borland'a.
49
50 %description -l tr
51 Joe, küçük ve kullanýmý kolay bir metin düzenleyicisidir. Borland
52 firmasýnýn geliþtirme ortamýna alýþkýn olanlar ayný kýsayol tuþlarýný
53 kullanmaktan memnun olacaklardýr. Basitliði nedeni ile baþlayanlar
54 için en cok tavsiye edilen metin düzenleyicisidir.
55
56 %prep
57 %setup -q -a3
58 %patch0 -p1
59 %patch1 -p0
60
61 %build
62 rm -f missing
63 aclocal
64 autoconf
65 automake -a -c
66 %configure
67 %{__make}
68         
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 %{__install} -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Editors}
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 for a in hu pl ; do
77         install -d $RPM_BUILD_ROOT%{_mandir}/$a/man1
78         install $a/man1/joe.1 $RPM_BUILD_ROOT%{_mandir}/$a/man1/
79 done
80
81 for a in "" hu pl ; do
82         echo ".so joe" > $RPM_BUILD_ROOT%{_mandir}/$a/man1/jstar.1
83         echo ".so joe" > $RPM_BUILD_ROOT%{_mandir}/$a/man1/jmacs.1
84         echo ".so joe" > $RPM_BUILD_ROOT%{_mandir}/$a/man1/rjoe.1
85         echo ".so joe" > $RPM_BUILD_ROOT%{_mandir}/$a/man1/jpico.1
86 done
87
88 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
89 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Editors
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/*
97 %dir %{_sysconfdir}
98 %config %{_sysconfdir}/*
99 %{_mandir}/man1/*
100 %lang(hu) %{_mandir}/hu/man1/*
101 %lang(pl) %{_mandir}/pl/man1/*
102 %{_applnkdir}/Editors/*
103 %{_pixmapsdir}/*
This page took 0.065679 seconds and 3 git commands to generate.