From: Paweł Gołaszewski Date: Fri, 26 Apr 2002 14:11:40 +0000 (+0000) Subject: - initial version X-Git-Url: http://git.pld-linux.org/?p=packages%2Femacs-php-mode.git;a=commitdiff_plain;h=5e33a0340ba82bc466618081b135cd567912f8d7 - initial version php-mode for emacs STBR Changed files: emacs-php-mode.spec -> 1.1 --- diff --git a/emacs-php-mode.spec b/emacs-php-mode.spec new file mode 100644 index 0000000..de692ac --- /dev/null +++ b/emacs-php-mode.spec @@ -0,0 +1,52 @@ +%define _orig_name php-mode +%define _emacs_version 21.2 +%define _php_mode_ver 1.0.2 +#%define _pack_ver %(echo %{_php_mode_ver} | sed -e "s/\.//g") + +Summary: The Emacs php-mode text editor for the X Window System +Summary(de): GNU Emacs php-mode +Summary(es): GNU Emacs php-mode +Summary(fr): GNU Emacs php-mode +Summary(pl): GNU Emacs php-mode - Kolorowanie sk³adni php +Summary(pt_BR): GNU Emacs php-mode +Summary(tr): GNU Emacs php-mode +Name: emacs-el-%{_orig_name} +Version: %{_php_mode_ver} +Release: 1 +License: GPL v2 +Group: Applications/Editors/Emacs +Source0: http://prdownloads.sourceforge.net/php-mode/%{_orig_name}-102.el +URL: http://php-mode.sf.net/ +BuildRequires: sed +Requires: emacs-el = %{_emacs_version} +Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +php-mode - An Emacs major mode for editing PHP code. Features: + - Syntax coloring and indenting; + - Documentation browse and search functions; + - Support for Imenu and SpeedBar; + - Customization options. + +%description -l pl +php-mode - rozszerzenie do Emacs'a u³atwiaj±ce edycjê plików php. +Zalety: + - kolorowanie sk³adni i indexowanie; + - Przegl±danie dokumentów i szukanie funkcji; + - Wsparcie dla Imenu oraz SpeedBar; + - Opcje dostosowania do w³asnych potrzeb. + +%setup -q + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/ +install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(644,root,root,755) +%{_datadir}/emacs/%{_emacs_version}/lisp/progmodes/%{_orig_name}.el