]> git.pld-linux.org Git - packages/emacs-ess.git/blob - emacs-ess.spec
- 5.13
[packages/emacs-ess.git] / emacs-ess.spec
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
3 Name:           emacs-ess
4 Version:        5.13
5 Release:        1
6 License:        GPL
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/
11 BuildRequires:  emacs
12 Requires:       emacs
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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.
34
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.
45
46 %prep
47 %setup -q -n ess-%{version}
48 cd doc
49 chmod u+w html info # fix perms to ensure builddir can be deleted
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
81 %install
82 rm -rf $RPM_BUILD_ROOT
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}
90 %{__make} install \
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}
95
96 install %{name}-init.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post   -p      /sbin/postshell
102 -/usr/sbin/fix-info-dir -c %{_infodir}
103
104 %postun -p      /sbin/postshell
105 -/usr/sbin/fix-info-dir -c %{_infodir}
106
107 %files
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/*
113 %{_infodir}/ess*
This page took 0.136953 seconds and 4 git commands to generate.