1 Summary: Emacs Speaks Statistics add-on package for Emacs
2 Summary(pl.UTF-8): Dodatek Emacs Speaks Statistics dla Emacsa - obsługa pakietów statystycznych
7 Group: Applications/Editors
8 Source0: http://ESS.R-project.org/downloads/ess/ess-%{version}.tgz
9 # Source0-md5: f97e66a0802773ead5abe4c3dc89feca
10 URL: http://ESS.R-project.org/
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 This package provides Emacs Speaks Statistics (ESS), which provides
18 Emacs-based front ends for popular statistics packages.
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
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.
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
43 interaktywnym i wsadowym wykonywaniu instrukcji zapisanych w tych
44 językach analizy statystycznej.
47 %setup -q -n ess-%{version}
49 chmod u+w html info # fix perms to ensure builddir can be deleted
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.
59 ;;; This file is automatically loaded by emacs's site-start.el
60 ;;; when you start a new emacs session.
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
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
78 Tom Moertel <tom-rpms@moertel.com>
82 rm -rf $RPM_BUILD_ROOT
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}
91 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
92 LISPDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version} \
93 INFODIR=$RPM_BUILD_ROOT%{_infodir}
94 cp -a etc $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version}
96 install %{name}-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
99 rm -rf $RPM_BUILD_ROOT
101 %post -p /sbin/postshell
102 -/usr/sbin/fix-info-dir -c %{_infodir}
104 %postun -p /sbin/postshell
105 -/usr/sbin/fix-info-dir -c %{_infodir}
108 %defattr(644,root,root,755)
109 %doc ANNOUNCE ChangeLog README README.RPM doc/{NEWS,TODO,*.jpg,*.pdf,name-completion.txt,html}
110 %dir %{_datadir}/emacs/site-lisp/%{name}-%{version}
111 %{_datadir}/emacs/site-lisp/%{name}-%{version}/*
112 %{_datadir}/emacs/site-lisp/site-start.d/*