From 5e33a0340ba82bc466618081b135cd567912f8d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Fri, 26 Apr 2002 14:11:40 +0000 Subject: [PATCH] - initial version php-mode for emacs STBR Changed files: emacs-php-mode.spec -> 1.1 --- emacs-php-mode.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 emacs-php-mode.spec 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 -- 2.44.0