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