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