]>
Commit | Line | Data |
---|---|---|
05149b89 | 1 | # |
15cb7c48 | 2 | # TODO: - custom user for config |
3 | # - check files perms | |
05149b89 | 4 | # |
5 | Summary: Customizable and usable console-based text editor | |
6 | Name: diakonos | |
7 | Version: 0.9.0 | |
8 | Release: 0.1 | |
9 | License: MIT | |
10 | Group: Applications | |
11 | Source0: http://diakonos.pist0s.ca/archives/%{name}-%{version}.tar.bz2 | |
12 | # Source0-md5: 237b86e00db10296e1beac3725516ae9 | |
13 | URL: http://diakonos.pist0s.ca/ | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Diakonos is a customizable, usable console-based text editor. It | |
19 | features arbitrary language scripting, an interactive help system, | |
20 | bookmarking, regular expression searching, parsed ("smart") | |
21 | indentation, macro recording and playback, a multi-element clipboard, | |
22 | multi-level undo, a customizable status line, completely customizable | |
23 | keyboard mapping, and customizable syntax highlighting. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %{__ruby} install.rb \ | |
32 | --lib-dir %{ruby_rubylibdir} \ | |
33 | --dest-dir $RPM_BUILD_ROOT | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %doc CHANGELOG README.rdoc | |
41 | %attr(755,root,root) %{_bindir}/diakonos | |
42 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/diakonos.conf | |
43 | %{ruby_rubylibdir}/diakonos.rb | |
44 | %{ruby_rubylibdir}/diakonos | |
45 | %{_datadir}/%{name} |