]> git.pld-linux.org Git - packages/jed.git/blob - jed.spec
s/%{_target}/%{_target_platform}/
[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.98.7
8 Release:     1
9 Copyright:   GPL
10 Group:       Applications/Editors
11 Source0:     ftp://space.mit.edu/pub/davis/jed/%{name}0.98-7.tar.gz
12 Source1:     xjed.wmconfig
13 Patch0:      jed-make.patch
14 Patch1:      jed-XFree86_keys.patch
15 Patch2:      jed-dft_syntax.patch
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18 %description
19 Jed is a fast compact editor based on the slang screen library. It has
20 special editing modes for C, C++, and other languages.  It can emulate
21 Emacs, Wordstar, and other editors, and can be customized with slang
22 macros, colors, keybindings, etc.
23
24 %description -l de
25 Jed ist ein schneller, kompakter Editor, der auf der Slang-Screen-Library
26 basiert. Er besitzt spezielle Bearbeitungsmodi für C, C++ und andere Sprachen,
27 kann Emacs, Wordstar und weitere Editoren emulieren und läßt sich mit
28 Slang-Makros, Farben, Keybindings usw. erweitern.
29
30 %description -l fr
31 Jed est un éditeur compact basé sur la librairie slang. Il dispose de 
32 modes d'édition spéciaux pour C, C++, et d'autres langages. Il peut
33 émuler Emacs, Wordstar, et d'autres éditeurs, et peut être personnalisé
34 avec des macros slang, des couleurs, des combinaisons de touches, etc.
35
36 %description -l pl
37 Jed jest niewielkim i szybkim edytorem bazuj±cym na bibliotece slang.
38 Ma on specjalne tryby edycji tekstów jezykach C, C++ i innych. Mo¿e on
39 tak¿e emulowaæ inne edytory jak Emacs, Wordstar i inne. Mo¿e byæ on w pe³ni
40 dostosowany do potrzeb u¿ytkownika z u¿yciem makr slanga daj±c mo¿liwo¶æ
41 zmiany np. kolorów czy mapowania klawiatury itp.
42
43 %description -l tr
44 Jed, küçük ve hýzlý bir metin düzenleyicidir. C, C++ ve diðer diller için özel
45 düzenleme kiplerine sahiptir. Emacs ve Wordstar'ýn komutlarýný taklit edebilir
46 ve tüm yetenekleri kullanýcýya göre ayarlanabilir.
47
48 %package xjed
49 Summary:     Jed editor - X version
50 Summary(de): Jed-Editor - X-Version 
51 Summary(fr): Éditeur Jed - version X
52 Summary(pl): Edytor jed - wersja pod X Window
53 Summary(tr): Jed metin düzenleyici - X sürümü
54 Group:       Applications/Editors
55 Requires:    %{name} = %{version}
56
57 %description xjed
58 Xjed is the same editor as jed, it just runs in its own X Window.
59
60 %description -l de xjed
61 Xjed ist der gleiche Editor wie jed, läuft jedoch in einem eigenen 
62 X-Window
63
64 %description -l fr xjed
65 Xjed est le même éditeur que jed, il tourne seulement sur X Window.
66
67 %description -l pl xjed
68 Xjed jest wersj± pracuj±c± po X Window edytora jed.
69
70 %description -l tr xjed
71 Jed metin düzenleyicinin X altýnda çalýþan sürümü
72
73 %package -n rgrep
74 Summary:     recursive grep utility
75 Summary(de): Rekursives grep-Utility-Programm
76 Summary(fr): Utilitaire grep récursif.
77 Summary(pl): Rekursywna wersja narzêdzie grep
78 Summary(tr): Rekürsif bir grep sürümü
79 Group:       Utilities/Text
80
81 %description -n rgrep
82 a recursive `grep' utility that can highlight the matching expression,
83 by the author of Jed.
84
85 %description -l de -n rgrep
86 ein rekursives `grep'-Dienstprogramm, das einen passenden Ausdruck
87 markieren kann. Vom Autor von Jed.
88
89 %description -l fr -n rgrep
90 grep récursif pouvant mettre en évidence l'expression trouvée, par
91 l'auteur de Jed.
92
93 %description -l pl -n rgrep
94 rgrep jest programem, które mo¿e zaznaczaæ poszukiwane ci±gi znaków w
95 bierz±cym katalogu i podkatalogach ³acz±cym w sobie cechy funkcjonalne
96 u¿ywania pary programów find i grep.
97
98 %description -l tr -n rgrep
99 Jed'in yazarýndan rekürsif bulduðu eþlemeleri iþaretleyebilen bir grep
100 sürümü.
101
102 %prep
103 %setup -q -n jed
104 %patch0 -p1
105 %patch1 -p1
106
107 %build
108 CFLAGS="-DMEMCPY=SLmemcpy -DMEMSET=SLmemset -DMEMCHR=SLmemchr $RPM_OPT_FLAGS" \
109 LDFLAGS=-s \
110 ./configure %{_target_platform} \
111         --prefix=/usr
112 make all
113 make xjed
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT/{/etc/X11/wmconfig,usr/{bin,man/man1,lib/jed,X11R6/bin}}
118
119 cp -r lib $RPM_BUILD_ROOT%{_libdir}/jed
120 cp -r info $RPM_BUILD_ROOT%{_libdir}/jed
121
122 install -s src/objs/{jed,rgrep} $RPM_BUILD_ROOT%{_bindir}
123 install -s src/objs/xjed $RPM_BUILD_ROOT/usr/X11R6/bin
124
125 install doc/{jed.1,rgrep.1} $RPM_BUILD_ROOT%{_mandir}/man1
126
127 install $RPM_SOURCE_DIR/xjed.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/xjed
128
129 %clean
130 rm -rf $RPM_BUILD_ROOT
131
132 %files
133 %defattr(644,root,root,755)
134 %doc doc README changes.txt
135 %docdir %{_libdir}/jed/info
136 %{_mandir}/man1/jed.1
137 %attr(755,root,root) %{_bindir}/jed
138 %dir %{_libdir}/jed
139 %dir %{_libdir}/jed/info
140 %dir %{_libdir}/jed/lib
141 %{_libdir}/jed/info/*
142 %{_libdir}/jed/lib/*
143
144 %files xjed
145 %attr(755,root,root) /usr/X11R6/bin/xjed
146 %attr(644,root,root) %config(missingok) /etc/X11/wmconfig/xjed
147
148 %files -n rgrep
149 %attr(755,root,root) %{_bindir}/rgrep
150 %{_mandir}/man1/rgrep.1
151
152 %changelog
153 * Wed Jun 17 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
154   [0.98.7-1]
155 - added -q %setup parameter,
156 - added using %%{name} macro in Source,
157 - spec file rewritten for using Buildroot,
158 - added %clean section,
159 - added pl translation,
160 - added LDFLAGS=-s (for dynamic linking with slang),
161 - added patch for enable by default highlight syntax,
162 - removed not neccesary now patches,
163 - changed Group in rgrep to Utilities/Text,
164 - added %defattr and %attr macros in %files (allows building package from
165   non-root account).
166
167 * Thu May 07 1998 Prospector System <bugs@redhat.com>
168 - translations modified for de, fr, tr
169
170 * Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
171 - built against new ncurses
172
173 * Mon Nov  3 1997 Michael Fulbright <msf@redhat.com>
174 - added wmconfig entry for xjed
175
176 * Tue Oct 21 1997 Michael Fulbright <msf@redhat.com>
177 - updated to 0.98.4
178 - included man pages in file lists
179
180 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
181 - built against glibc
This page took 0.074918 seconds and 4 git commands to generate.