summaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
authorMichel Salim <salimma@fedoraproject.org>2010-11-08 16:44:57 +0100
committerMichel Salim <salimma@fedoraproject.org>2010-11-08 16:44:57 +0100
commit1b0b4e27175ade7525b959398120efebe39dfcc1 (patch)
tree4b2fd845eb9c1469553333d907414e016eeb9e92 /devtools
parentb129e95c5d2e3a3b8f7b07edab8982ffec4acfe7 (diff)
downloadspecs-1b0b4e27175ade7525b959398120efebe39dfcc1.tar.gz
specs-1b0b4e27175ade7525b959398120efebe39dfcc1.tar.xz
specs-1b0b4e27175ade7525b959398120efebe39dfcc1.zip
Auto Complete Mode for Emacs
Diffstat (limited to 'devtools')
-rw-r--r--devtools/emacs-auto-complete.spec75
1 files changed, 75 insertions, 0 deletions
diff --git a/devtools/emacs-auto-complete.spec b/devtools/emacs-auto-complete.spec
new file mode 100644
index 0000000..80c365c
--- /dev/null
+++ b/devtools/emacs-auto-complete.spec
@@ -0,0 +1,75 @@
+%global pkg auto-complete
+%global pkgname Auto Complete Mode
+
+Name: emacs-%{pkg}
+Version: 1.3
+Release: 1%{?dist}
+Summary: Intelligent auto-complete extension for GNU Emacs
+
+Group: Applications/Editors
+# documentation files are under GFDL
+License: GPLv3 and GFDL
+URL: http://cx4a.org/software/auto-complete/
+Source0: http://cx4a.org/pub/auto-complete/auto-complete-%{version}.tar.bz2
+Source1: auto-complete-init.el
+# ask upstream to include it, esp. since it is actually mentioned in
+# the source headers
+Source2: COPYING.GPL
+Source3: COPYING.FDL
+
+BuildArch: noarch
+BuildRequires: emacs
+Requires: emacs(bin) >= %{_emacs_version}
+
+%description
+%{pkgname} is an intelligent auto-completion extension for GNU
+Emacs. Auto Complete Mode renews an old completion interface and
+provides an environment that makes users could be more concentrate on
+their own works.
+
+It comes with built-in completion support for C, C++, Clojure, CSS,
+Java, JavaScript, PHP, Python, Ruby, Scheme and TCL.
+
+%package -n %{name}-el
+Summary: Elisp source files for %{pkgname} under GNU Emacs
+Group: Applications/Editors
+Requires: %{name} = %{version}-%{release}
+
+%description -n %{name}-el
+This package contains the elisp source files for %{pkgname} under GNU Emacs. You
+do not need to install this package to run %{pkgname}. Install the %{name}
+package to use %{pkgname} with GNU Emacs.
+
+%prep
+%setup -q -n %{pkg}-%{version}
+cp -p %{SOURCE2} %{SOURCE3} .
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
+mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
+make install DIR=$RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING.* doc/*
+%{_emacs_sitelispdir}/%{pkg}/*.elc
+%{_emacs_sitelispdir}/%{pkg}/ac-dict
+%{_emacs_sitestartdir}/*.el
+%dir %{_emacs_sitelispdir}/%{pkg}
+
+%files -n %{name}-el
+%defattr(-,root,root,-)
+%{_emacs_sitelispdir}/%{pkg}/*.el
+
+%changelog
+* Mon Nov 8 2010 Michel Salim <salimma@fedoraproject.org> - 1.3-1
+- Initial package