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")
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}
17 Group: Applications/Editors/Emacs
18 Source0: http://prdownloads.sourceforge.net/php-mode/%{_orig_name}-102.el
19 URL: http://php-mode.sf.net/
21 Requires: emacs-el = %{_emacs_version}
22 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
32 php-mode - rozszerzenie do Emacs'a u³atwiaj±ce edycjê plików php.
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.
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
47 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el