blob: 4c608588aedb807790700f8c9eadb7f850b7d16a (
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
|
Summary: The Big Brother Data Base
Summary(pl): The Big Brother Data Base
Name: xemacs-bbdb-pkg
%define srcname bbdb
Version: 1.09
Release: 1
License: GPL
Group: Applications/Editors/Emacs
Group(pl): Aplikacje/Edytory/Emacs
Source0: ftp://ftp.xemacs.org/packages/%{srcname}-%{version}-pkg.tar.gz
Patch0: %{name}-info.patch
Patch1: %{name}-perl.patch
URL: http://www.xemacs.org/
BuildArch: noarch
Conflicts: xemacs-sumo
Requires: xemacs
Requires: xemacs-bbdb-pkg
Requires: xemacs-edit-utils-pkg
Requires: xemacs-gnus-pkg
Requires: xemacs-mh-e-pkg
Requires: xemacs-rmail-pkg
Requires: xemacs-supercite-pkg
Requires: xemacs-vm-pkg
Requires: xemacs-tm-pkg
Requires: xemacs-apel-pkg
Requires: xemacs-mail-lib-pkg
Requires: xemacs-base-pkg
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%description -l pl
%prep
%setup -q -c
%patch0 -p1
%patch1 -p1
%build
(cd man/bbdb; awk '/^\\input texinfo/ {print FILENAME}' * | xargs makeinfo)
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/xemacs-packages,%{_infodir}}
cp -a * $RPM_BUILD_ROOT%{_datadir}/xemacs-packages
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* \
lisp/bbdb/README lisp/bbdb/INSTALL lisp/bbdb/ChangeLog
%clean
rm -fr $RPM_BUILD_ROOT
%post
[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
%postun
[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
%files
%defattr(644,root,root,755)
%doc lisp/bbdb/README.gz lisp/bbdb/INSTALL.gz lisp/bbdb/ChangeLog.gz
%{_datadir}/xemacs-packages%{_sysconfdir}/*
%{_infodir}/*
%dir %{_datadir}/xemacs-packages/lisp/*
%{_datadir}/xemacs-packages/lisp/*/*.elc
|