]> git.pld-linux.org Git - packages/cream.git/blame - cream.spec
- new, based on mdk spec
[packages/cream.git] / cream.spec
CommitLineData
294acefd
ER
1Summary: User-friendly face for Vim
2Name: cream
3Version: 0.38
4Release: 0.1
5Source0: http://dl.sourceforge.net/cream/%{name}-%{version}.tar.gz
6# Source0-md5: 3415244ec2d58139063d8ab2604d3bb6
7License: GPL v2
8Group: Applications/Editors/Vim
9URL: http://cream.sourceforge.net/
10BuildRequires: ImageMagick
11BuildRequires: desktop-file-utils
12Requires: gvim
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Cream is a modeless GUIification of Vim. Cream includes all the
18features of Vim plus many custom utilities. A short list of features
19includes syntax highlighting, spell check, multi-file find/replace,
20bookmarking, function prototype popups, macros, auto-wrapping,
21reformatting, justification, time/date stamps, file explorer,
22completion, sorting, calendar, tag navigation, block commenting,
23Microsoft, Unix and Apple format text editing, virtually unlimited
24file sizes, 38 varieties of 8-bit, 2-byte, and Unicode support,
25single/multiple document modes, unlimited undo/redo, show invisible
26characters, word count, and more.
27
28%prep
29%setup -q
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT{%{_datadir}/vim/cream/{addons,bitmaps,docs,docs-html,filetypes,help,spelldicts},%{_pixmapsdir}}
34cp -a creamrc $RPM_BUILD_ROOT%{_datadir}/vim/cream
35cp -a *.vim $RPM_BUILD_ROOT%{_datadir}/vim/cream
36cp -a addons/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/cream/addons
37cp -a bitmaps/*.bmp $RPM_BUILD_ROOT%{_datadir}/vim/cream/bitmaps
38cp -a bitmaps/*.xpm $RPM_BUILD_ROOT%{_datadir}/vim/cream/bitmaps
39cp -a docs/*.txt $RPM_BUILD_ROOT%{_datadir}/vim/cream/docs
40cp -a docs-html/*.html $RPM_BUILD_ROOT%{_datadir}/vim/cream/docs-html
41##cp -a docs-html/*.css $RPM_BUILD_ROOT%{_datadir}/vim/cream/docs-html
42cp -a docs-html/*.png $RPM_BUILD_ROOT%{_datadir}/vim/cream/docs-html
43cp -a filetypes/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/cream/filetypes
44cp -a help/*.txt $RPM_BUILD_ROOT%{_datadir}/vim/cream/help
45cp -a spelldicts/cream-spell-dict-eng-s*.vim $RPM_BUILD_ROOT%{_datadir}/vim/cream/spelldicts
46cp -a spelldicts/cream-spell-dict.vim $RPM_BUILD_ROOT%{_datadir}/vim/cream/spelldicts
47
48install -d $RPM_BUILD_ROOT%{_bindir}
49cp -a cream $RPM_BUILD_ROOT%{_bindir}
50
51install -d $RPM_BUILD_ROOT%{_desktopdir}
52cp -a cream.desktop $RPM_BUILD_ROOT%{_desktopdir}
53
54# menu
55desktop-file-install --vendor="" \
56 --remove-category="Application" \
57 --add-category="TextEditor" \
58 --dir $RPM_BUILD_ROOT%{_desktopdir} $RPM_BUILD_ROOT%{_desktopdir}/*
59
60# icons
61install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%attr(755,root,root) %{_bindir}/%{name}
69%{_datadir}/vim/%{name}
70%{_desktopdir}/%{name}.desktop
71%{_pixmapsdir}/%{name}.png
This page took 0.062067 seconds and 4 git commands to generate.