]> git.pld-linux.org Git - packages/jed.git/blob - jed.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/jed.git] / jed.spec
1 %define         tar_ver B0.99-15
2 Summary:        A small fast editor
3 Summary(de):    Ein kleiner, schneller Editor
4 Summary(es):    Un pequeño y rápido editor
5 Summary(fr):    Un petit éditeur rapide
6 Summary(pl):    Ma³y i szybki edytor
7 Summary(pt_BR): Um pequeno e rápido editor
8 Summary(ru):    âÙÓÔÒÙÊ ÎÅÂÏÌØÛÏÊ ÔÅËÓÔÏ×ÙÊ ÒÅÄÁËÔÏÒ ÎÁ ÏÓÎÏ×Å ÂÉÂÌÉÏÔÅËÉ slang
9 Summary(tr):    Küçük, hýzlý bir metin düzenleyici
10 Summary(uk):    û×ÉÄËÉÊ ËÏÍÐÁËÔÎÉÊ ÔÅËÓÔÏ×ÉÊ ÒÅÄÁËÔÏÒ ÎÁ ÂÁÚ¦ Â¦Â̦ÏÔÅËÉ slang
11 Name:           jed
12 Version:        0.99.15
13 Release:        1
14 License:        GPL
15 Group:          Applications/Editors
16 Source0:        ftp://space.mit.edu/pub/davis/jed/v0.99/%{name}-%{tar_ver}.tar.bz2
17 Source1:        x%{name}.desktop
18 Source2:        %{name}.conf
19 Source3:        %{name}.1.pl
20 Source4:        rgrep.1.pl
21 Patch0:         %{name}-makefile.patch
22 Patch1:         %{name}-XFree86_keys.patch
23 Patch2:         %{name}-home_etc.patch
24 patch3:         %{name}-info.patch
25 BuildRequires:  gpm-devel
26 BuildRequires:  slang-devel
27 BuildRequires:  XFree86-devel
28 BuildRequires:  autoconf
29 BuildRequires:  automake
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Jed is a fast compact editor based on the slang screen library. It has
34 special editing modes for C, C++, and other languages. It can emulate
35 Emacs, Wordstar, and other editors, and can be customized with slang
36 macros, colors, keybindings, etc.
37
38 %description -l de
39 Jed ist ein schneller, kompakter Editor, der auf der
40 Slang-Screen-Library basiert. Er besitzt spezielle Bearbeitungsmodi
41 für C, C++ und andere Sprachen, kann Emacs, Wordstar und weitere
42 Editoren emulieren und läßt sich mit Slang-Makros, Farben, Keybindings
43 usw. erweitern.
44
45 %description -l es
46 Jed es un editor compacto y rápido basado en la biblioteca slang.
47 Tiene modos de edición especiales para C, C++ y otros lenguajes. Puede
48 emular Emacs, Wordstar y otros editores, y se lo puede configurar con
49 macros slang, color, mapas de teclas, etc.
50
51 %description -l fr
52 Jed est un éditeur compact basé sur la librairie slang. Il dispose de
53 modes d'édition spéciaux pour C, C++, et d'autres langages. Il peut
54 émuler Emacs, Wordstar, et d'autres éditeurs, et peut être
55 personnalisé avec des macros slang, des couleurs, des combinaisons de
56 touches, etc.
57
58 %description -l pl
59 Jed jest niewielkim i szybkim edytorem bazuj±cym na bibliotece slang.
60 Ma on specjalne tryby edycji tekstów w jêzykach C, C++ i innych. Mo¿e
61 on tak¿e emulowaæ inne edytory jak Emacs czy Wordstar. Mo¿e byæ on w
62 pe³ni dostosowany do potrzeb u¿ytkownika z u¿yciem makr slanga daj±c
63 mo¿liwo¶æ zmiany np. kolorów czy mapowania klawiatury.
64
65 %description -l ru
66 Jed - ÜÔÏ ÂÙÓÔÒÙÊ ËÏÍÐÁËÔÎÙÊ ÔÅËÓÔÏ×ÙÊ ÒÅÄÁËÔÏÒ, ÏÓÎÏ×ÁÎÎÙÊ ÎÁ
67 ÜËÒÁÎÎÏÊ ÂÉÂÌÉÏÔÅËÅ SLang. ïΠÉÍÅÅÔ ÓÐÅÃÉÁÌØÎÙÅ ÒÅÖÉÍÙ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ
68 ÄÌÑ C, C++, É ÄÒÕÇÉÈ ÑÚÙËÏ×. Jed ÍÏÖÅÔ ÜÍÕÌÉÒÏ×ÁÔØ Emacs, Wordstar É
69 ÄÒÕÇÉÅ ÒÅÄÁËÔÏÒÙ É ÍÏÖÅÔ ÂÙÔØ ÎÁÓÔÒÏÅΠÄÌÑ ËÏÎËÒÅÔÎÙÈ ÕÓÌÏ×ÉÊ
70 ÉÓÐÏÌØÚÕÑ ÍÁËÒÏÓÙ, Ã×ÅÔÁ, ÐÒÉ×ÑÚËÉ ËÌÁ×ÉÁÔÕÒÙ É Ô.Ð. ÉÚ SLang.
71
72 %description -l pt_BR
73 Jed é um editor compacto e rápido baseado na biblioteca slang. Ele tem
74 modos de edição especiais para C, C++ e outras linguagens. Pode emular
75 Emacs, Wordstar e outros editores, podendo ser configurado com macros
76 slang, cores, mapeamento de teclas, etc.
77
78 %description -l tr
79 Jed, küçük ve hýzlý bir metin düzenleyicidir. C, C++ ve diðer diller
80 için özel düzenleme kiplerine sahiptir. Emacs ve Wordstar'ýn
81 komutlarýný taklit edebilir ve tüm yetenekleri kullanýcýya göre
82 ayarlanabilir.
83
84 %description -l uk
85 Jed - ÃÅ Û×ÉÄËÉÊ ËÏÍÐÁËÔÎÉÊ ÔÅËÓÔÏ×ÉÊ ÒÅÄÁËÔÏÒ, ÂÁÚÏ×ÁÎÉÊ ÎÁ ÅËÒÁÎΦÊ
86 ¦Â̦ÏÔÅæ SLang. ÷¦Î ÍÁ¤ ÓÐÅæÁÌØΦ ÒÅÖÉÍÉ ÒÅÄÁÇÕ×ÁÎÎÑ ÄÌÑ C, C++ ÔÁ
87 ¦ÎÛÉÈ ÍÏ×. Jed ÍÏÖÅ ÅÍÕÌÀ×ÁÔÉ Emacs, Wordstar ÔÁ ¦ÎÛ¦ ÒÅÄÁËÔÏÒÉ ¦ ÍÏÖÅ
88 ÂÕÔÉ ÎÁÓÔÒϤÎÉÊ ÎÁ Ò¦×Φ ÍÁËÒÏÓ¦×, ËÏÌØÏÒ¦×, ÐÒÉ×'ÑÚËÉ ËÌÁצ۠¦ Ô.Ð.
89
90 %package xjed
91 Summary:        Jed editor - X version
92 Summary(de):    Jed-Editor - X-Version
93 Summary(es):    Editor Jed - versión X
94 Summary(fr):    Éditeur Jed - version X
95 Summary(pl):    Edytor jed - wersja dla X Window
96 Summary(pt_BR): Editor Jed - versão X
97 Summary(ru):    òÅÄÁËÔÏÒ Jed - ×ÅÒÓÉÑ ÄÌÑ X Window
98 Summary(tr):    Jed metin düzenleyici - X sürümü
99 Summary(uk):    òÅÄÁËÔÏÒ Jed - ×ÅÒӦѠÄÌÑ X Window
100 Group:          X11/Applications/Editors
101 Requires:       %{name} = %{version}
102
103 %description xjed
104 Xjed is the same editor as jed, it just runs in its own X Window.
105
106 %description xjed -l de
107 Xjed ist der gleiche Editor wie jed, läuft jedoch in einem eigenen
108 X-Window
109
110 %description xjed -l es
111 Xjed es el editor jed para X Window.
112
113 %description xjed -l fr
114 Xjed est le même éditeur que jed, il tourne seulement sur X Window.
115
116 %description xjed -l pl
117 Xjed jest wersj± edytora jed pracuj±c± w X Window.
118
119 %description xjed -l pt_BR
120 Xjed é o editor jed para X Window.
121
122 %description xjed -l ru
123 Xjed - ÜÔÏ ÔÏÔ ÖÅ ÒÅÄÁËÔÏÒ, ÞÔÏ É jed, ÔÏÌØËÏ ÒÁÂÏÔÁÀÝÉÊ × ÓÏÂÓÔ×ÅÎÎÏÍ
124 X-ÏËÎÅ.
125
126 %description xjed -l tr
127 Jed metin düzenleyicinin X altýnda çalýþan sürümü.
128
129 %description xjed -l uk
130 Xjed - ÃÅ ÔÏÊ ÖÅ ÒÅÄÁËÔÏÒ, ÝÏ Ê jed, Ô¦ÌØËÉ ÐÒÁÃÀÀÞÉÊ Õ ×ÌÁÓÎÏÍÕ
131 X-צËΦ.
132
133 %package -n rgrep
134 Summary:        recursive grep utility
135 Summary(de):    Rekursives grep-Utility-Programm
136 Summary(es):    Utilitario grep recursivo
137 Summary(fr):    Utilitaire grep récursif
138 Summary(pl):    Rekursywna wersja narzêdzia grep
139 Summary(pt_BR): Utilitário grep recursivo
140 Summary(ru):    òÅËÕÒÓÉ×ÎÁÑ ÕÔÉÌÉÔÁ grep
141 Summary(tr):    Rekürsif bir grep sürümü
142 Summary(uk):    òÅËÕÒÓÉ×ÎÁ ÕÔÉ̦ÔÁ grep
143 Group:          Applications/Text
144
145 %description -n rgrep
146 a recursive `grep' utility that can highlight the matching expression,
147 by the author of Jed.
148
149 %description -n rgrep -l de
150 ein rekursives `grep'-Dienstprogramm, das einen passenden Ausdruck
151 markieren kann. Vom Autor von Jed.
152
153 %description -n rgrep -l es
154 Utilitario grep recursivo que puede destacar la expresión encontrada,
155 escrito por el autor del editor Jed.
156
157 %description -n rgrep -l fr
158 grep récursif pouvant mettre en évidence l'expression trouvée, par
159 l'auteur de Jed.
160
161 %description -n rgrep -l pl
162 rgrep jest programem, który mo¿e zaznaczaæ poszukiwane ci±gi znaków w
163 bie¿±cym katalogu i podkatalogach ³acz±cym w sobie cechy funkcjonalne
164 u¿ywania pary programów find i grep.
165
166 %description -n rgrep -l pt_BR
167 Utilitário grep recursivo que pode destacar a expressão encontrada,
168 escrito pelo autor do editor Jed.
169
170 %description -n rgrep -l ru
171 òÅËÕÒÓÉ×ÎÁÑ ÕÔÉÌÉÔÁ grep, ÕÍÅÀÝÁÑ ÐÏÄÓ×ÅÞÉ×ÁÔØ ÎÁÊÄÅÎÎÙÅ ×ÙÒÁÖÅÎÉÑ.
172
173 %description -n rgrep -l tr
174 Jed'in yazarýndan rekürsif bulduðu eþlemeleri iþaretleyebilen bir grep
175 sürümü.
176
177 %description -n rgrep -l uk
178 òÅËÕÒÓÉ×ÎÁ ÕÔÉ̦ÔÁ grep, ÝÏ ×ͦ¤ Ð¦ÄÓצÞÕ×ÁÔÉ ÚÎÁÊÄÅΦ ×ÉÒÁÚÉ
179
180 %prep
181 %setup -q -n %{name}-%{tar_ver}
182 %patch0 -p1
183 %patch1 -p1
184 #%patch2 -p1
185 %patch3 -p1
186
187 mv -f autoconf/configure.in .
188 mv -f autoconf/aclocal.m4 acinclude.m4
189
190 %build
191 CFLAGS="-DMEMCPY=SLmemcpy -DMEMSET=SLmemset -DMEMCHR=SLmemchr %{rpmcflags}"
192 %{__aclocal}
193 %{__autoconf}
194 %configure
195
196 %{__make} all
197 %{__make} xjed
198
199 %install
200 rm -rf $RPM_BUILD_ROOT
201 install -d $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors \
202         $RPM_BUILD_ROOT{%{_prefix}/X11R6/bin,%{_infodir},%{_sysconfdir}} \
203         $RPM_BUILD_ROOT%{_mandir}/pl/man1
204
205 %{__make} install DESTDIR=$RPM_BUILD_ROOT
206 install info/jed.* $RPM_BUILD_ROOT%{_infodir}
207
208 mv -f $RPM_BUILD_ROOT%{_bindir}/xjed $RPM_BUILD_ROOT%{_prefix}/X11R6/bin
209
210 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors
211 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/jed.conf
212 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1/jed.1
213 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1/rgrep.1
214
215 gzip -9nf README changes.txt doc/txt/*.txt
216
217 %clean
218 rm -rf $RPM_BUILD_ROOT
219
220 %post
221 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
222
223 %postun
224 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
225
226 %files
227 %defattr(644,root,root,755)
228 %doc README.gz changes.txt.gz doc/txt/*.gz
229 %attr(755,root,root) %{_bindir}/jed
230 %{_datadir}/jed
231 %{_mandir}/man1/jed.*
232 %lang(pl) %{_mandir}/pl/man1/jed.*
233 %{_infodir}/*
234 %{_sysconfdir}/*
235
236 %files xjed
237 %defattr(644,root,root,755)
238 %attr(755,root,root) %{_prefix}/X11R6/bin/xjed
239 %{_applnkdir}/Development/Editors/xjed.desktop
240
241 %files -n rgrep
242 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_bindir}/rgrep
244 %{_mandir}/man1/rgrep.*
245 %lang(pl) %{_mandir}/pl/man1/rgrep.*
This page took 0.236282 seconds and 4 git commands to generate.