blob: 87ea93f64d72683fc9ab5265618873de7a0cde3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
### Comment
# This file is modified automatically by 'xemacs-adapter' script
# from PLD-project CVS repository: cvs.pld.org.pl, module SPECS
# For more details see comments in this script
### EndComment
Summary: C, C++ and Java language support.
Summary(pl): C, C++ and Java language support.
Name: xemacs-cc-mode-pkg
%define srcname cc-mode
Version: 1.16
Release: 1
### Preamble
Copyright: GPL
Group: Applications/Editors/Emacs
Group(pl): Aplikacje/Edytory/Emacs
URL: http://www.xemacs.org
Source: ftp://ftp.xemacs.org/packages/%{srcname}-%{version}-pkg.tar.gz
BuildRoot: /tmp/%{name}-%{version}-root
BuildArch: noarch
Conflicts: xemacs-sumo
Requires: xemacs
Requires: xemacs-base-pkg
### EndPreamble
%description
%description -l pl
%package el
Summary: C, C++ and Java language support. This package contains .el files
Summary(pl): C, C++ and Java language support. Pliki ¿ród³owe .el
### ElPreamble
Group: Applications/Editors/Emacs
Group(pl): Aplikacje/Edytory/Emacs
Requires: %{name} = %{version}
### EndElPreamble
%description el
.el source files -- not necessary to run XEmacs
%description el -l pl
Pliki ¼ród³owe procedur w eLispie do XEmacsa.
### Main
%prep
%setup -q -c
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/xemacs-packages
cp -a * $RPM_BUILD_ROOT%{_datadir}/xemacs-packages
install -d $RPM_BUILD_ROOT%{_infodir}
mv -f $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/info/*.info* $RPM_BUILD_ROOT%{_infodir}
rm -fr $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/info
gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info
%clean
rm -fr $RPM_BUILD_ROOT
### EndMain
### PrePost
%post
/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
%postun
/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
### EndPrePost
### Files
%files
%{_infodir}/*
%{_datadir}/xemacs-packages/lisp/*
### EndFiles
|