]> git.pld-linux.org Git - packages/emacs-php-mode.git/blob - emacs-php-mode.spec
- massive attack: adding Source-md5
[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://dl.sourceforge.net/php-mode/%{_orig_name}-102.el
19 # Source0-md5:  bbf006aec2f76f8bb609d4314df3a065
20 URL:            http://php-mode.sf.net/
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 Emacsa u³atwiaj±ce edycjê plików php.
33 Zalety:
34   - kolorowanie sk³adni i indeksowanie;
35   - Przegl±danie dokumentów i szukanie funkcji;
36   - Wsparcie dla Imenu oraz SpeedBar;
37   - Opcje dostosowania do w³asnych potrzeb.
38
39 %prep
40 %setup -q -T -c
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/
45 install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el
This page took 0.12557 seconds and 3 git commands to generate.