source: projects/specs/branches/6/j/jed/jed-vl.spec @ 3539

Revision 3539, 6.1 KB checked in by munepi, 13 years ago (diff)

updated jed-vl.spec: added Requires: slang-slsh

Line 
1%define mainver 0.99
2%define subver 19
3
4Summary: Fast, compact editor based on the S-Lang screen library
5Summary(ja): Slang 画面ライブラリを用いた高速でコンパクトなエディタ
6Name: jed
7Version: %{mainver}.%{subver}
8Release: 2%{?_dist_release}
9License: GPL+
10Group: Applications/Editors
11Source0: ftp://space.mit.edu/pub/davis/jed/v%{mainver}/jed-%{mainver}-%{subver}.tar.bz2
12Patch1: jed-0.99.12-xkeys.patch
13URL: http://www.jedsoft.org/jed/
14Patch2: jed-etc.patch
15Patch3: jed-multilib-newauto.patch
16Obsoletes: jed-common jed-xjed
17Requires: slang-slsh
18BuildRequires: slang-devel >= 2.0
19BuildRequires: autoconf
20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
21
22Vendor:       Project Vine
23Distribution: Vine Linux
24Packager:     Daisuke SUZUKI <daisuke@linux.or.jp>
25
26%description
27Jed is a fast, compact editor based on the S-lang screen library.  Jed
28features include emulation of the Emacs, EDT, WordStar and Brief
29editors; support for extensive customization with slang macros,
30colors, keybindings; and a variety of programming modes with syntax
31highlighting.
32
33You should install jed if you've used it before and you like it, or if
34you haven't used any text editors before and you're still deciding
35what you'd like to use.
36
37%description -l ja
38Jed は slang 画面ライブラリを使った高速でコンパクトなエディタです.
39Jed の機能には,Emacs/EDT/WordStar/Brief エディタのエミュレーション,
40カラー,キーバインド等の slang マクロを使った豊富なカスタマイズ機能
41等があります.他にも幾多のプログラミングモードを備えており,シンタックス
42ハイライト機能を備えています.
43
44%prep
45%setup -q -n jed-%{mainver}-%{subver}
46%patch1 -p1 -b .xkeys
47%patch2 -p1
48%if "%{_lib}" == "lib64"
49%patch3 -p1
50%endif
51
52find doc -type f -exec chmod a-x {} \;
53
54cd autoconf
55autoconf
56mv configure ..
57cd ..
58
59%build
60export JED_ROOT="%{_datadir}/jed"
61%configure
62make
63
64%install
65rm -rf $RPM_BUILD_ROOT
66make install DESTDIR=$RPM_BUILD_ROOT
67
68JED_ROOT=$RPM_BUILD_ROOT%{_datadir}/jed $RPM_BUILD_ROOT%{_bindir}/jed -batch -n -l preparse.sl </dev/null
69
70rm -f $RPM_BUILD_ROOT%{_mandir}/man*/rgrep*
71
72rm -rf $RPM_BUILD_ROOT%{_datadir}/jed/doc/{txt,manual,README}
73rm -rf $RPM_BUILD_ROOT%{_datadir}/jed/bin $RPM_BUILD_ROOT%{_datadir}/jed/info
74
75sed -i "s|JED_ROOT|%{_datadir}/jed|g" $RPM_BUILD_ROOT/%{_mandir}/man1/jed.1
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%files
81%defattr(-,root,root)
82%doc COPYING COPYRIGHT doc INSTALL INSTALL.unx README changes.txt
83%{_bindir}/*
84%{_mandir}/man1/jed.*
85%{_datadir}/jed
86
87%changelog
88* Mon Apr 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.99.19-2
89- added Requires: slang-slsh
90
91* Sun Apr 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.19-1
92- new upstream release
93
94* Fri Jun 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.18-1
95- new upstream release
96- use slang-2.0
97- drop canna/slang-j patch
98- drop xjed, rgrep
99  - add Obsoletes: jed-xjed, jed-common
100
101* Sun Jan 13 2008 NAKAMURA Kenta <kenta@vinelinux.org> 0.99.14-0vl8
102- moved JED_ROOT to %%{_datadir}/jed
103- updated Source14: jed.sh and Source15: jed.csh
104
105* Tue Mar 27 2007 Shu KONNO <owa@bg.wakwak.com> 0.99.14-0vl7
106- added '--libdir=%%{_libdir}' to configure options
107- added Patch20: configure-slang.x86_64.patch
108- added Patch21: configure-canna.x86_64.patch
109
110* Mon Nov 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.14-0vl6
111- disable canna by default
112
113* Fri Jul 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.14-0vl5
114- rebuild with new toolchains
115- s/Copyright/License/
116
117* Mon Feb 11 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl4
118- added /etc/profile.d/jed.sh & jed.csh
119- added patch jed-initcolor.patch
120- fixed README.vine dot.jedrc.vine and jed.rc
121
122* Sat Feb  9 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl3
123- fixed input canna for xjed
124- delete jed-menu.patch
125- added BuildPrereq and info patch
126- added Help Browse Docs
127- modified README.vine
128
129* Wed Jan 23 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl2
130- fixed menu mode (added jed-menu.patch and fixed jedrc patch)
131- fixed jed on kon console
132- add xjed.desktop and delete wmconfig/xjed
133
134* Wed Oct  3 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl1
135- update to jed-B0.99-14
136- fixed ruby mode
137
138* Sat Sep  8 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.13-0vl4
139- delete xjed & gpm patches and clean spec file
140  added dot.skkrc.vine and fixed README.vine
141  skktcp moved jed-common from jed
142
143* Sat Jul 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.13-0vl3
144- delete rgrep package
145- add ruby mode
146- byte compiled japanese.sl kinsoku.sl canna.sl skk.sl
147- fixed vi.sl and jp version
148
149* Sat Jul 14 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.13-0vl2
150- fixed typo in jed-B0.99-13jp0-make.patch
151  ( ../info/jes.* -> ../info/jed.* )
152
153* Wed Jun 27 2001 Matubara <matubara@mb.asmnet.ne.jp>
154- 0.99.13-0vl1
155- updatei to jed-B0.99-13
156- use jed-B0.99-13jp1 patch
157- use better macros
158- add skktcp
159- use Release No for Vine Linux
160
161* Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
162- 0.98.7_jp-3
163- /usr/man -> %%{_mandir}
164- added Japanese summary and description
165
166* Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
167- 0.98.7_jp-2
168- modified %files section to handle compressed man page(s)
169
170* Fri Jul 16 1999 Daisuke SUZUKI <daisuke@linux.or.jp>
171- added japanese patch j055
172
173* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
174- auto rebuild in the new build environment (release 2)
175
176* Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
177- update to 0.98.7 for Raw Hide
178- split off lib stuff into jed-common
179
180* Mon Oct  5 1998 Jeff Johnson <jbj@redhat.com>
181- change rgep group tag, same as grep.
182
183* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
184- build root
185
186* Thu May 07 1998 Prospector System <bugs@redhat.com>
187- translations modified for de, fr, tr
188
189* Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
190- built against new ncurses
191
192* Mon Nov  3 1997 Michael Fulbright <msf@redhat.com>
193- added wmconfig entry for xjed
194
195* Tue Oct 21 1997 Michael Fulbright <msf@redhat.com>
196- updated to 0.98.4
197- included man pages in file lists
198
199* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
200- built against glibc
Note: See TracBrowser for help on using the repository browser.