]>
Commit | Line | Data |
---|---|---|
2c51c0f9 | 1 | Summary: Emacs Speaks Statistics add-on package for Emacs |
eb61c59e | 2 | Summary(pl.UTF-8): Dodatek Emacs Speaks Statistics dla Emacsa - obsługa pakietów statystycznych |
2c51c0f9 | 3 | Name: emacs-ess |
a63e26a3 | 4 | Version: 5.13 |
2c51c0f9 JR |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Editors | |
a63e26a3 JR |
8 | Source0: http://ESS.R-project.org/downloads/ess/ess-%{version}.tgz |
9 | # Source0-md5: f97e66a0802773ead5abe4c3dc89feca | |
2c51c0f9 | 10 | URL: http://ESS.R-project.org/ |
5d65b73d | 11 | BuildRequires: emacs |
2c51c0f9 | 12 | Requires: emacs |
4e29a700 JB |
13 | BuildArch: noarch |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
2c51c0f9 JR |
15 | |
16 | %description | |
17 | This package provides Emacs Speaks Statistics (ESS), which provides | |
18 | Emacs-based front ends for popular statistics packages. | |
19 | ||
20 | ESS provides an intelligent, consistent interface between the user and | |
21 | the software. ESS interfaces with S-PLUS, R, SAS, BUGS and other | |
22 | statistical analysis packages under the Unix, Microsoft Windows, and | |
23 | Apple Mac OS operating systems. ESS is a package for the GNU Emacs and | |
24 | XEmacs text editors whose features ESS uses to streamline the creation | |
25 | and use of statistical software. ESS knows the syntax and grammar of | |
26 | statistical analysis packages and provides consistent display and | |
27 | editing features based on that knowledge. ESS assists in interactive | |
28 | and batch execution of statements written in these statistical | |
29 | analysis languages. | |
30 | ||
8ec86621 JR |
31 | %description -l pl.UTF-8 |
32 | Ten pakiet zawiera ESS (Emacs Speaks Statistics), dostarczający oparte | |
33 | na Emacsie frontendy dla popularnych pakietów statystycznych. | |
4e29a700 | 34 | |
8ec86621 JR |
35 | ESS dostarcza inteligentny, spójny interfejs pomiędzy użytkownikiem i |
36 | oprogramowaniem. ESS współpracuje z S-PLUS, R, SAS, BUGS i innymi | |
37 | pakietami do analiz statystycznych dla uniksów oraz systemów Microsoft | |
38 | Windows i Apple Mac OS. ESS to pakiet dla edytorów tekstu GNU Emacs i | |
39 | XEmacs, których możliwości wykorzystuje ESS przy kształtowaniu | |
40 | tworzenia i używania programów statystycznych. ESS zna składnie i | |
41 | gramatyki pakietów do analiz statystycznych i w oparciu o tę wiedzę | |
42 | udostępnia spójne możliwości wyświetlania i edycji. ESS pomaga w | |
4e29a700 | 43 | interaktywnym i wsadowym wykonywaniu instrukcji zapisanych w tych |
8ec86621 | 44 | językach analizy statystycznej. |
4e29a700 | 45 | |
2c51c0f9 JR |
46 | %prep |
47 | %setup -q -n ess-%{version} | |
4e29a700 JB |
48 | cd doc |
49 | chmod u+w html info # fix perms to ensure builddir can be deleted | |
2c51c0f9 JR |
50 | |
51 | %build | |
52 | %{__make} | |
53 | ||
54 | # create an init file that is loaded when a user starts up emacs to | |
55 | # tell emacs to autoload our package's Emacs code when needed | |
56 | cat > %{name}-init.el <<"EOF" | |
57 | ;;; Set up %{name} for Emacs. | |
58 | ;;; | |
59 | ;;; This file is automatically loaded by emacs's site-start.el | |
60 | ;;; when you start a new emacs session. | |
61 | ||
62 | (require 'ess-site) | |
63 | ||
64 | EOF | |
65 | ||
66 | # create a README.RPM file to document any quirks of this package | |
67 | cat > README.RPM <<EOF | |
68 | README for %{name}-%{version}-%{release} RPM package | |
69 | ||
70 | Generally, there will be no need to modify your .emacs file in order | |
71 | to use the features of this package -- they are enabled by default | |
72 | when you start Emacs. | |
73 | ||
74 | Cheers, | |
75 | Tom | |
76 | ||
77 | -- | |
78 | Tom Moertel <tom-rpms@moertel.com> | |
79 | EOF | |
80 | ||
2c51c0f9 JR |
81 | %install |
82 | rm -rf $RPM_BUILD_ROOT | |
4e29a700 JB |
83 | |
84 | INITDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d | |
85 | PKGLISP=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version} | |
86 | INFODIR=$RPM_BUILD_ROOT%{_infodir} | |
87 | install -D %{name}-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/%{name}-init.el | |
88 | install -d $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version} | |
89 | install -d $RPM_BUILD_ROOT%{_infodir} | |
2c51c0f9 | 90 | %{__make} install \ |
8d4e7fc2 | 91 | PREFIX=$RPM_BUILD_ROOT%{_prefix} \ |
92 | LISPDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version} \ | |
93 | INFODIR=$RPM_BUILD_ROOT%{_infodir} | |
4e29a700 | 94 | cp -a etc $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version} |
2c51c0f9 | 95 | |
4e29a700 | 96 | install %{name}-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d |
2c51c0f9 JR |
97 | |
98 | %clean | |
4e29a700 | 99 | rm -rf $RPM_BUILD_ROOT |
2c51c0f9 | 100 | |
a4923af0 ER |
101 | %post -p /sbin/postshell |
102 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
2c51c0f9 | 103 | |
a4923af0 ER |
104 | %postun -p /sbin/postshell |
105 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
2c51c0f9 JR |
106 | |
107 | %files | |
108 | %defattr(644,root,root,755) | |
04b0387e | 109 | %doc ANNOUNCE ChangeLog README README.RPM doc/{NEWS,TODO,*.jpg,*.pdf,name-completion.txt,html} |
2c51c0f9 JR |
110 | %dir %{_datadir}/emacs/site-lisp/%{name}-%{version} |
111 | %{_datadir}/emacs/site-lisp/%{name}-%{version}/* | |
112 | %{_datadir}/emacs/site-lisp/site-start.d/* | |
113 | %{_infodir}/ess* |