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