summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklakier2000-02-07 22:30:46 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit27d82063939ca84f18b323d8802bc4cad512c541 (patch)
tree5ae3ae6a07d816d87732ec489d6adffab99f8791
parenta72ac57497565cec1f8b6584da2108d07a9cd8c0 (diff)
downloadxemacs-cc-mode-pkg-27d82063939ca84f18b323d8802bc4cad512c541.zip
xemacs-cc-mode-pkg-27d82063939ca84f18b323d8802bc4cad512c541.tar.gz
Just another package
Changed files: xemacs-cc-mode-pkg.spec -> 1.2
-rw-r--r--xemacs-cc-mode-pkg.spec29
1 files changed, 8 insertions, 21 deletions
diff --git a/xemacs-cc-mode-pkg.spec b/xemacs-cc-mode-pkg.spec
index 87ea93f..bd53755 100644
--- a/xemacs-cc-mode-pkg.spec
+++ b/xemacs-cc-mode-pkg.spec
@@ -9,7 +9,7 @@ Summary(pl): C, C++ and Java language support.
Name: xemacs-cc-mode-pkg
%define srcname cc-mode
-Version: 1.16
+Version: 1.17
Release: 1
### Preamble
@@ -23,6 +23,7 @@ BuildArch: noarch
Conflicts: xemacs-sumo
Requires: xemacs
Requires: xemacs-base-pkg
+Prereq: /usr/sbin/fix-info-dir
### EndPreamble
%description
@@ -31,24 +32,6 @@ Requires: xemacs-base-pkg
%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
@@ -60,7 +43,8 @@ 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
+gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info*
+gzip -9nf lisp/cc-mode/ChangeLog
%clean
rm -fr $RPM_BUILD_ROOT
@@ -76,6 +60,9 @@ rm -fr $RPM_BUILD_ROOT
### Files
%files
+%defattr(644,root,root,755)
%{_infodir}/*
-%{_datadir}/xemacs-packages/lisp/*
+%dir %{_datadir}/xemacs-packages/lisp/*
+%{_datadir}/xemacs-packages/lisp/*/*.elc
+%doc lisp/cc-mode/ChangeLog.gz
### EndFiles