]> git.pld-linux.org Git - packages/emacs-php-mode.git/blob - emacs-php-mode.spec
2fa1699c28a87e724a4cd0a2e0ce58fd35ffb27f
[packages/emacs-php-mode.git] / emacs-php-mode.spec
1 %define         _orig_name      php-mode
2 %define         _emacs_version  21.2
3 %define         _php_mode_ver   1.0.2
4 #%define                _pack_ver       %(echo %{_php_mode_ver} | sed -e "s/\.//g")
5
6 Summary:        The Emacs php-mode text editor for the X Window System
7 Summary(de):    GNU Emacs php-mode
8 Summary(es):    GNU Emacs php-mode
9 Summary(fr):    GNU Emacs php-mode
10 Summary(pl):    GNU Emacs php-mode - Narzêdzia pomocnicze do PHP
11 Summary(pt_BR): GNU Emacs php-mode
12 Summary(tr):    GNU Emacs php-mode
13 Name:           emacs-el-%{_orig_name}
14 Version:        %{_php_mode_ver}
15 Release:        1
16 License:        GPL v2
17 Group:          Applications/Editors/Emacs
18 Source0:        http://prdownloads.sourceforge.net/php-mode/%{_orig_name}-102.el
19 URL:            http://php-mode.sf.net/
20 Requires:       emacs-el = %{_emacs_version}
21 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 php-mode - An Emacs major mode for editing PHP code. Features:
25   - Syntax coloring and indenting;
26   - Documentation browse and search functions;
27   - Support for Imenu and SpeedBar;
28   - Customization options.
29
30 %description -l pl
31 php-mode - rozszerzenie do Emacsa u³atwiaj±ce edycjê plików php.
32 Zalety:
33   - kolorowanie sk³adni i indeksowanie;
34   - Przegl±danie dokumentów i szukanie funkcji;
35   - Wsparcie dla Imenu oraz SpeedBar;
36   - Opcje dostosowania do w³asnych potrzeb.
37
38 %prep
39 %setup -q -T -c
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/
44 install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el
This page took 0.043132 seconds and 2 git commands to generate.