]> git.pld-linux.org Git - packages/jed.git/blob - jed.spec
- desktop file for xjed
[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.8
8 Release:        1
9 Copyright:      GPL
10 Group:          Applications/Editors
11 Source0:        ftp://space.mit.edu/pub/davis/jed/%{name}-B0.99-8.tar.bz2
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 %{name}-B0.99-8
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,%{_bindir},%{_mandir}/man1,%{_libdir}/jed,usr/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 gzip -9nf doc/{*.txt,README} README changes.txt \
130         $RPM_BUILD_ROOT%{_mandir}/man1/*
131
132 %clean
133 rm -rf $RPM_BUILD_ROOT
134
135 %files
136 %defattr(644,root,root,755)
137 %doc doc README.gz changes.txt.gz
138 %docdir %{_libdir}/jed/info
139 %{_mandir}/man1/jed.1*
140 %attr(755,root,root) %{_bindir}/jed
141 %dir %{_libdir}/jed
142 %dir %{_libdir}/jed/info
143 %dir %{_libdir}/jed/lib
144 %{_libdir}/jed/info/*
145 %{_libdir}/jed/lib/*
146
147 %files xjed
148 %defattr(644,root,root,755)
149 %attr(755,root,root) /usr/X11R6/bin/xjed
150 %attr(644,root,root) %config(missingok) /etc/X11/wmconfig/xjed
151
152 %files -n rgrep
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_bindir}/rgrep
155 %{_mandir}/man1/rgrep.1*
This page took 0.035138 seconds and 3 git commands to generate.