]> git.pld-linux.org Git - packages/emacs-php-mode.git/blob - emacs-php-mode.spec
- initial version
[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 - Kolorowanie sk³adni 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 BuildRequires:  sed
21 Requires:       emacs-el = %{_emacs_version}
22 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 php-mode - An Emacs major mode for editing PHP code. Features:
26   - Syntax coloring and indenting;
27   - Documentation browse and search functions;
28   - Support for Imenu and SpeedBar;
29   - Customization options.
30
31 %description -l pl
32 php-mode - rozszerzenie do Emacs'a u³atwiaj±ce edycjê plików php.
33 Zalety:
34   - kolorowanie sk³adni i indexowanie;
35   - Przegl±danie dokumentów i szukanie funkcji;
36   - Wsparcie dla Imenu oraz SpeedBar;
37   - Opcje dostosowania do w³asnych potrzeb.
38
39 %setup -q
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
50 %files
51 %defattr(644,root,root,755)
52 %{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el
This page took 0.085065 seconds and 3 git commands to generate.