]> git.pld-linux.org Git - packages/emacs-ess.git/blob - emacs-ess.spec
- pl, unified
[packages/emacs-ess.git] / emacs-ess.spec
1 Summary:        Emacs Speaks Statistics add-on package for Emacs
2 Summary(pl):    Dodatek Emacs Speaks Statistics dla Emacsa - obs³uga pakietów statystycznych
3 Name:           emacs-ess
4 Version:        5.2.6
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        http://ESS.R-project.org/downloads/ess/ess-%{version}.tar.gz
9 # Source0-md5:  ce4a94b220061df866bb17d103e64973
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
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
102 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
103
104 %postun
105 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
106
107 %files
108 %defattr(644,root,root,755)
109 %doc README README.RPM ANNOUNCE COPYING VERSION ChangeLog doc
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.095862 seconds and 3 git commands to generate.