]> git.pld-linux.org Git - SPECS.git/blob - xemacs-ispell-pkg.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / xemacs-ispell-pkg.spec
1 Summary:        Interactive spelling corrector with ispell
2 Summary(pl.UTF-8):      Interakcyjny korektor pisowni używający ispella
3 Name:           xemacs-ispell-pkg
4 %define         srcname ispell
5 Version:        1.32
6 Release:        4
7 License:        GPL
8 Group:          Applications/Editors/Emacs
9 Source0:        http://ftp.xemacs.org/xemacs/packages/%{srcname}-%{version}-pkg.tar.gz
10 # Source0-md5:  0eceb13fd90b388f744f04bbf83fe4a1
11 Patch0:         %{name}-info.patch
12 Patch1:         %{name}-xml.patch
13 URL:            http://www.xemacs.org/
14 BuildRequires:  texinfo
15 BuildRequires:  xemacs
16 Requires:       ispell
17 Requires:       xemacs
18 Conflicts:      xemacs-sumo
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Interactive spelling corrector with ispell.
24
25 %description -l pl.UTF-8
26 Interakcyjny korektor pisowni używający ispella.
27
28 %prep
29 %setup -q -c
30 %patch0 -p1
31 %patch1 -p1
32
33 %build
34 xemacs -batch -q -no-site-file -f batch-byte-compile lisp/ispell/ispell.el
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_datadir}/xemacs-packages,%{_infodir}}
39
40 cp -a * $RPM_BUILD_ROOT%{_datadir}/xemacs-packages
41
42 # remove .el file if corresponding .elc file exists
43 find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc %{_datadir}/xemacs-packages/lisp/ispell/ChangeLog
51 %doc %{_datadir}/xemacs-packages/info/ispell.info
52 %doc %{_datadir}/xemacs-packages/man/ispell
53 %doc %{_datadir}/xemacs-packages/pkginfo/MANIFEST.ispell
54 %dir %{_datadir}/xemacs-packages/lisp/*
55 %{_datadir}/xemacs-packages/lisp/*/*.el*
This page took 0.284486 seconds and 3 git commands to generate.