]> git.pld-linux.org Git - packages/jed.git/blob - jed.spec
- release 3
[packages/jed.git] / jed.spec
1 Summary:        A small fast editor
2 Summary(de):    Ein kleiner, schneller Editor 
3 Summary(fr):    Un petit éditeur rapide
4 Summary(pl):    Ma³y i szybki edytor
5 Summary(tr):    Küçük, hýzlý bir metin düzenleyici
6 Name:           jed
7 Version:        0.99.10
8 Release:        3
9 License:        GPL
10 Group:          Applications/Editors
11 Group(pt):      X11/Aplicações/Editores
12 Group(pl):      Aplikacje/Edytory
13 Source0:        ftp://space.mit.edu/pub/davis/jed/v0.99/%{name}-B0.99-10.tar.bz2
14 Source1:        xjed.desktop
15 Patch0:         %{name}-makefile.patch
16 Patch1:         %{name}-XFree86_keys.patch
17 Patch2:         %{name}-dft_syntax.patch
18 Patch3:         %{name}-keymap.patch
19 Patch4:         %{name}-home_etc.patch
20 Buildrequires:  gpm-devel
21 Buildrequires:  slang-devel
22 Buildrequires:  XFree86-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Jed is a fast compact editor based on the slang screen library. It has
27 special editing modes for C, C++, and other languages. It can emulate
28 Emacs, Wordstar, and other editors, and can be customized with slang
29 macros, colors, keybindings, etc.
30
31 %description -l de
32 Jed ist ein schneller, kompakter Editor, der auf der
33 Slang-Screen-Library basiert. Er besitzt spezielle Bearbeitungsmodi
34 für C, C++ und andere Sprachen, kann Emacs, Wordstar und weitere
35 Editoren emulieren und läßt sich mit Slang-Makros, Farben, Keybindings
36 usw. erweitern.
37
38 %description -l fr
39 Jed est un éditeur compact basé sur la librairie slang. Il dispose de
40 modes d'édition spéciaux pour C, C++, et d'autres langages. Il peut
41 émuler Emacs, Wordstar, et d'autres éditeurs, et peut être
42 personnalisé avec des macros slang, des couleurs, des combinaisons de
43 touches, etc.
44
45 %description -l pl
46 Jed jest niewielkim i szybkim edytorem bazuj±cym na bibliotece slang.
47 Ma on specjalne tryby edycji tekstów w jêzykach C, C++ i innych. Mo¿e
48 on tak¿e emulowaæ inne edytory jak Emacs czy Wordstar. Mo¿e byæ on w
49 pe³ni dostosowany do potrzeb u¿ytkownika z u¿yciem makr slanga daj±c
50 mo¿liwo¶æ zmiany np. kolorów czy mapowania klawiatury.
51
52 %description -l tr
53 Jed, küçük ve hýzlý bir metin düzenleyicidir. C, C++ ve diðer diller
54 için özel düzenleme kiplerine sahiptir. Emacs ve Wordstar'ýn
55 komutlarýný taklit edebilir ve tüm yetenekleri kullanýcýya göre
56 ayarlanabilir.
57
58 %package xjed
59 Summary:        Jed editor - X version
60 Summary(de):    Jed-Editor - X-Version 
61 Summary(fr):    Éditeur Jed - version X
62 Summary(pl):    Edytor jed - wersja dla X Window
63 Summary(tr):    Jed metin düzenleyici - X sürümü
64 Group:          X11/Applications/Editors
65 Group(pl):      X11/Aplikacje/Edytory
66 Requires:       %{name} = %{version}
67
68 %description xjed
69 Xjed is the same editor as jed, it just runs in its own X Window.
70
71 %description -l de xjed
72 Xjed ist der gleiche Editor wie jed, läuft jedoch in einem eigenen
73 X-Window
74
75 %description -l fr xjed
76 Xjed est le même éditeur que jed, il tourne seulement sur X Window.
77
78 %description -l pl xjed
79 Xjed jest wersj± edytora jed pracuj±c± w X Window.
80
81 %description -l tr xjed
82 Jed metin düzenleyicinin X altýnda çalýþan sürümü
83
84 %package -n rgrep
85 Summary:        recursive grep utility
86 Summary(de):    Rekursives grep-Utility-Programm
87 Summary(fr):    Utilitaire grep récursif.
88 Summary(pl):    Rekursywna wersja narzêdzia grep
89 Summary(tr):    Rekürsif bir grep sürümü
90 Group:          Utilities/Text
91 Group(fr):      Utilitaires/Texte
92 Group(pl):      Narzêdzia/Tekst
93
94 %description -n rgrep
95 a recursive `grep' utility that can highlight the matching expression,
96 by the author of Jed.
97
98 %description -l de -n rgrep
99 ein rekursives `grep'-Dienstprogramm, das einen passenden Ausdruck
100 markieren kann. Vom Autor von Jed.
101
102 %description -l fr -n rgrep
103 grep récursif pouvant mettre en évidence l'expression trouvée, par
104 l'auteur de Jed.
105
106 %description -l pl -n rgrep
107 rgrep jest programem, który mo¿e zaznaczaæ poszukiwane ci±gi znaków w
108 bierz±cym katalogu i podkatalogach ³acz±cym w sobie cechy funkcjonalne
109 u¿ywania pary programów find i grep.
110
111 %description -l tr -n rgrep
112 Jed'in yazarýndan rekürsif bulduðu eþlemeleri iþaretleyebilen bir grep
113 sürümü.
114
115 %prep
116 %setup -q -n %{name}-B0.99-10
117 %patch0 -p1
118 %patch1 -p1
119 %patch2 -p1
120 %patch3 -p1
121 %patch4 -p1
122
123 %build
124 CFLAGS="-DMEMCPY=SLmemcpy -DMEMSET=SLmemset -DMEMCHR=SLmemchr $RPM_OPT_FLAGS"
125 LDFLAGS="-s"
126 export CFLAGS LDFLAGS
127 %configure
128
129 make all
130 make xjed
131
132 %install
133 rm -rf $RPM_BUILD_ROOT
134
135 install -d $RPM_BUILD_ROOT{%{_prefix}/X11R6/bin,%{_applnkdir}/Development/Editors}
136
137 make install DESTDIR=$RPM_BUILD_ROOT
138
139 mv $RPM_BUILD_ROOT%{_bindir}/xjed $RPM_BUILD_ROOT%{_prefix}/X11R6/bin
140
141 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors
142
143 gzip -9nf README changes.txt doc/*.txt \
144         $RPM_BUILD_ROOT%{_mandir}/man1/* \
145         $RPM_BUILD_ROOT%{_infodir}/*
146
147 %post
148 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
149
150 %postun
151 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
152
153 %clean
154 rm -rf $RPM_BUILD_ROOT
155
156 %files
157 %defattr(644,root,root,755)
158 %doc README.gz changes.txt.gz doc/*.gz
159 %attr(755,root,root) %{_bindir}/jed
160 %{_datadir}/jed
161 %{_mandir}/man1/jed.1.gz
162 %{_infodir}/*
163
164 %files xjed
165 %defattr(644,root,root,755)
166 %attr(755,root,root) %{_prefix}/X11R6/bin/xjed
167 %{_applnkdir}/Development/Editors/xjed.desktop
168
169 %files -n rgrep
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_bindir}/rgrep
172 %{_mandir}/man1/rgrep.1.gz
This page took 0.04944 seconds and 3 git commands to generate.