Sophie

Sophie

distrib > PLD > ra > i386 > media > dist-src > by-pkgid > a152653bfd0a17c25e86de1328459ee2 > files > 3

xemacs-vm-pkg-7.07-1.src.rpm

# $Revision: 1.27 $, $Date: 2002/06/30 15:29:14 $
# todo: fix info patch
Summary:	An Emacs mailer
Summary(pl):	Program pocztowy Emacsa
Name:		xemacs-vm-pkg
%define 	srcname	vm
Version:	7.07
Release:	1
License:	GPL
Group:		Applications/Editors/Emacs
Source0:	ftp://ftp.xemacs.org/xemacs/packages/%{srcname}-%{version}-pkg.tar.gz
Patch0:		%{name}-info.patch
URL:		http://www.xemacs.org/
BuildRequires:	texinfo
BuildArch:	noarch
Requires:	xemacs
Requires:	xemacs-mail-lib-pkg
Requires:	xemacs-base-pkg
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Conflicts:	xemacs-sumo

%description
An Emacs mailer.

%description -l pl
Program pocztowy Emacsa.

%prep
%setup -q -c
%patch0 -p1

%build
cd man/vm
makeinfo vm.texinfo
cd ../..

%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

# remove .el file if corresponding .elc file exists
find $RPM_BUILD_ROOT -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done

%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/vm/ChangeLog
%{_datadir}/xemacs-packages%{_sysconfdir}/*
%{_infodir}/*
%dir %{_datadir}/xemacs-packages/lisp/*
%{_datadir}/xemacs-packages/lisp/*/*.el*

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback@pld.org.pl>
All persons listed below can be reached at <cvs_login>@pld.org.pl

$Log: xemacs-vm-pkg.spec,v $
Revision 1.27  2002/06/30 15:29:14  kloczek
- updated to 7.07 (bug fix release),
- use new %doc.

Revision 1.26  2002/04/20 02:21:00  kloczek
- fix make info pages.

Revision 1.25  2002/04/19 11:02:18  wiget
start updating to 7.03, kloczek fix info.patch, please

Revision 1.24  2002/04/14 12:26:59  klakier
- massive change: pack .el file id compiled .elc file does not exist
- not tested for all affected packages, you may blame me if something fails

Revision 1.23  2002/02/23 05:20:04  kloczek
- adapterized.

Revision 1.22  2002/02/22 23:30:05  kloczek
- removed all Group fields translations (oure rpm now can handle translating
  Group field using gettext).

Revision 1.21  2002/01/27 19:34:10  kloczek
- updated to 7.02 (bugfix release).

Revision 1.20  2002/01/18 02:15:37  kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.19  2002/01/13 22:59:33  kloczek
- updated to 7.00 (bugfix release).

Revision 1.18  2001/10/11 11:34:03  qboosh
- don't gzip info documents in spec - rpm does
- adapterized, fixed or added some pl translations

Revision 1.17  2001/09/21 08:27:05  mis
- autoupdated to 6.96

Revision 1.16  2001/08/28 10:23:34  mis
- autoupdated to 6.95

Revision 1.15  2001/08/02 08:48:33  mis
- autoupdated to 6.94

Revision 1.14  2001/07/26 05:42:26  saq
- reverting last change: removing new macros from %p{re,ost}{,un}

Revision 1.12  2001/05/11 18:56:13  mis
- autoupdated to 6.92

Revision 1.11  2001/02/28 19:04:42  mis
- updated to 1.28

Revision 1.10  2001/02/13 18:50:22  mis
- updated to 1.26

Revision 1.9  2000/11/29 13:35:24  wiget
new versions (massive upgrade)

Revision 1.8  2000/09/26 08:43:13  kloczek
- fix: changed base Source url to ftp://ftp.xemacs.org/xemacs/packages/.

Revision 1.7  2000/05/24 16:50:47  zagrodzki
- changed [ -x ... ] && to [ ! -x ... ] ||

Revision 1.6  2000/05/01 20:11:43  zagrodzki
- removed Prereq: /usr/sbin/fix-info-dir
- fix-info-dir in %pre/post is executed only when info is already
  installed

Revision 1.5  2000/04/01 11:16:01  zagrodzki
- changed all BuildRoot definitons
- removed all applnkdir defs
- changed some prereqs/requires
- removed duplicate empty lines

Revision 1.4  2000/03/28 16:55:21  baggins
- translated kloczkish into english

Revision 1.3  2000/03/28 01:42:32  kloczek
- cleanups and reorganizations.

Revision 1.2  2000/03/27 16:25:46  klakier
- added info patches

Revision 1.1  2000/02/07 23:05:59  klakier
Just another package

Revision 1.1  1999/12/08 17:35:44  klakier
Scripts to produce xemacs-<package>-pkg.spec
I decided to separate xemacs and its packages for some reasons