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