]> git.pld-linux.org Git - packages/emacs-pymacs.git/blame - emacs-pymacs.spec
- tabs in preamble
[packages/emacs-pymacs.git] / emacs-pymacs.spec
CommitLineData
d9bc2768 1Summary: Python extension for Emacs
7642019b 2Summary(pl.UTF-8): Rozszerzenie Python dla Emacsa
d9bc2768 3Name: emacs-pymacs
e266beea 4Version: 0.22
5Release: 1
d9bc2768
AM
6License: GPL v2
7Group: Applications/Editors/Emacs
e266beea 8Source0: http://pymacs.progiciels-bpi.ca/archives/Pymacs-%{version}.tar.gz
9# Source0-md5: 73b7a641be100fd90a9be59ecf01fd98
10URL: http://pymacs.progiciels-bpi.ca/
43ef7c89 11BuildRequires: emacs
dbfa3a2c 12BuildRequires: python-devel >= 2.2
0a22760b 13%pyrequires_eq python
dbfa3a2c 14Requires: emacs >= 21.1
dbfa3a2c 15Obsoletes: pymacs
e266beea 16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d9bc2768
AM
18
19%description
20Pymacs is a powerful tool which, once started from Emacs, allows
21both-way communication between Emacs LISP and Python. Yet, Pymacs aims
22Python as an extension language for Emacs. Within Emacs LISP code, one
23may load and use Python modules. Python functions may themselves use
24Emacs services, and handle LISP objects kept in LISP space.
25
f530eb8c
JR
26%description -l pl.UTF-8
27Pymacs jest potężnym narzędziem, które po uruchomieniu z Emacsa
28pozwala na dwukierunkową komunikację pomiędzy Emacs LISP oraz
29Pythonem. Pymacs pozwala na ładowanie i używanie modułów Pythona z
30Emacs LISP. Z kolei funkcje pythona mogą używać usług Emacsa oraz
31obsługiwać obiekty LISPa znajdujące się w przestrzeni LISPa.
d9bc2768
AM
32
33%prep
e266beea 34%setup -q -n Pymacs-%{version}
d9bc2768
AM
35
36%build
e266beea 37emacs -batch -f batch-byte-compile pymacs.el
d9bc2768
AM
38
39%install
40rm -rf $RPM_BUILD_ROOT
e266beea 41install -d $RPM_BUILD_ROOT%{_emacs_lispdir}
42install pymacs.elc $RPM_BUILD_ROOT%{_emacs_lispdir}
d9bc2768 43
e266beea 44%{__python} setup.py install --root=$RPM_BUILD_ROOT
d9bc2768 45
e266beea 46%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
47%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
48%py_postclean
d9bc2768 49
d9bc2768
AM
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
e266beea 55%doc ChangeLog* README THANKS* TODO doc/pymacs.pdf
d9bc2768 56%attr(755,root,root) %{_bindir}/*
cb5eafd2 57%dir %{py_sitescriptdir}/Pymacs
e266beea 58%{py_sitescriptdir}/Pymacs/*.py[co]
cb5eafd2 59%dir %{py_sitescriptdir}/Pymacs/Nn
e266beea 60%{py_sitescriptdir}/Pymacs/Nn/*.py[co]
cb5eafd2 61%dir %{py_sitescriptdir}/Pymacs/Rebox
e266beea 62%{py_sitescriptdir}/Pymacs/Rebox/*.py[co]
63%{_emacs_lispdir}/*.elc
This page took 0.052223 seconds and 4 git commands to generate.