]> git.pld-linux.org Git - packages/emacs-ess.git/blame - emacs-ess.spec
- 5.13
[packages/emacs-ess.git] / emacs-ess.spec
CommitLineData
2c51c0f9 1Summary: Emacs Speaks Statistics add-on package for Emacs
eb61c59e 2Summary(pl.UTF-8): Dodatek Emacs Speaks Statistics dla Emacsa - obsługa pakietów statystycznych
2c51c0f9 3Name: emacs-ess
a63e26a3 4Version: 5.13
2c51c0f9
JR
5Release: 1
6License: GPL
7Group: Applications/Editors
a63e26a3
JR
8Source0: http://ESS.R-project.org/downloads/ess/ess-%{version}.tgz
9# Source0-md5: f97e66a0802773ead5abe4c3dc89feca
2c51c0f9 10URL: http://ESS.R-project.org/
5d65b73d 11BuildRequires: emacs
2c51c0f9 12Requires: emacs
4e29a700
JB
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
2c51c0f9
JR
15
16%description
17This package provides Emacs Speaks Statistics (ESS), which provides
18Emacs-based front ends for popular statistics packages.
19
20ESS provides an intelligent, consistent interface between the user and
21the software. ESS interfaces with S-PLUS, R, SAS, BUGS and other
22statistical analysis packages under the Unix, Microsoft Windows, and
23Apple Mac OS operating systems. ESS is a package for the GNU Emacs and
24XEmacs text editors whose features ESS uses to streamline the creation
25and use of statistical software. ESS knows the syntax and grammar of
26statistical analysis packages and provides consistent display and
27editing features based on that knowledge. ESS assists in interactive
28and batch execution of statements written in these statistical
29analysis languages.
30
8ec86621
JR
31%description -l pl.UTF-8
32Ten pakiet zawiera ESS (Emacs Speaks Statistics), dostarczający oparte
33na Emacsie frontendy dla popularnych pakietów statystycznych.
4e29a700 34
8ec86621
JR
35ESS dostarcza inteligentny, spójny interfejs pomiędzy użytkownikiem i
36oprogramowaniem. ESS współpracuje z S-PLUS, R, SAS, BUGS i innymi
37pakietami do analiz statystycznych dla uniksów oraz systemów Microsoft
38Windows i Apple Mac OS. ESS to pakiet dla edytorów tekstu GNU Emacs i
39XEmacs, których możliwości wykorzystuje ESS przy kształtowaniu
40tworzenia i używania programów statystycznych. ESS zna składnie i
41gramatyki pakietów do analiz statystycznych i w oparciu o tę wiedzę
42udostępnia spójne możliwości wyświetlania i edycji. ESS pomaga w
4e29a700 43interaktywnym i wsadowym wykonywaniu instrukcji zapisanych w tych
8ec86621 44językach analizy statystycznej.
4e29a700 45
2c51c0f9
JR
46%prep
47%setup -q -n ess-%{version}
4e29a700
JB
48cd doc
49chmod 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
56cat > %{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
64EOF
65
66# create a README.RPM file to document any quirks of this package
67cat > README.RPM <<EOF
68README for %{name}-%{version}-%{release} RPM package
69
70Generally, there will be no need to modify your .emacs file in order
71to use the features of this package -- they are enabled by default
72when you start Emacs.
73
74Cheers,
75Tom
76
77--
78Tom Moertel <tom-rpms@moertel.com>
79EOF
80
2c51c0f9
JR
81%install
82rm -rf $RPM_BUILD_ROOT
4e29a700
JB
83
84INITDIR=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
85PKGLISP=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version}
86INFODIR=$RPM_BUILD_ROOT%{_infodir}
87install -D %{name}-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/%{name}-init.el
88install -d $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version}
89install -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 94cp -a etc $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/%{name}-%{version}
2c51c0f9 95
4e29a700 96install %{name}-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
2c51c0f9
JR
97
98%clean
4e29a700 99rm -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*
This page took 0.093508 seconds and 4 git commands to generate.