rpms/emacs-nxml-mode/devel Makefile, NONE, 1.1 emacs-nxml-mode.spec, NONE, 1.1 slides.rnc, NONE, 1.1 sources, NONE, 1.1

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Thu Feb 15 10:41:50 UTC 2007


Author: twaugh

Update of /cvs/extras/rpms/emacs-nxml-mode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21474

Added Files:
	Makefile emacs-nxml-mode.spec slides.rnc sources 
Log Message:
Manually imported.


***** Error reading new file: [Errno 2] No such file or directory: 'Makefile'

--- NEW FILE emacs-nxml-mode.spec ---
%define snapshot 20041004
Summary: Emacs package for editing XML
Name: emacs-nxml-mode
Version: 0.%{snapshot}
Release: 5%{?dist}
License: GPL
Group: Applications/Editors
URL: http://www.thaiopensource.com/nxml-mode/
Source0: http://www.thaiopensource.com/download/nxml-mode-%{snapshot}.tar.gz
Source1: http://docbook.sourceforge.net/release/slides/3.4.0/schema/relaxng/slides.rnc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch

Requires(post): info
Requires(postun): info
Requires: emacs-common

BuildRequires: emacs

%description
The nXML package provides a validating major mode for
editing XML documents in GNU Emacs.  It can validate
against a RELAX NG schema while you type.

%prep
%setup -q -n nxml-mode-%{snapshot}
cp -a %SOURCE1 schema

%build
make

%install
rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/nxml-mode
mkdir -p $DESTDIR $DESTDIR/../site-start.d
cp -a rng-auto.el *.elc schema char-name $DESTDIR
cat <<"EOF" > $DESTDIR/../site-start.d/nxml-init.el
;;; nXML
(load "%{_datadir}/emacs/site-lisp/nxml-mode/rng-auto.el")
(add-to-list 'auto-mode-alist
             '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode))
(if (boundp 'magic-mode-alist)
    (add-to-list 'magic-mode-alist '("<\\?xml " . nxml-mode)))
(setq nxml-slash-auto-complete-flag t)
EOF
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
cp -a *.info $RPM_BUILD_ROOT/%{_infodir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING NEWS README TODO VERSION
%{_datadir}/emacs/site-lisp/nxml-mode
%{_datadir}/emacs/site-lisp/site-start.d/*
%{_infodir}/*

%post
install-info --info-dir=%{_infodir} %{_infodir}/nxml-mode.info
exit 0

%postun
if [ "$1" = 0 ] ; then
  install-info --info-dir=%{_infodir} --delete %{_infodir}/nxml-mode.info
fi
exit 0

%changelog
* Wed Feb 14 2007 Tim Waugh <twaugh at redhat.com>  0.20041004.1-5
- First build.

* Tue Feb 13 2007 Tim Waugh <twaugh at redhat.com>  0.20041004.1-4
- Add an entry to magic-mode-alist (bug #223023).

* Thu Feb  8 2007 Tim Waugh <twaugh at redhat.com> 
- Moved dist tag to the right place (bug #223023).
- Require emacs-common not emacs (bug #223023).

* Wed Feb  7 2007 Tim Waugh <twaugh at redhat.com> 
- Fixed package rename problems (bug #223023).
- Fixed requires tags (bug #223023).
- Require emacs (bug #223023).
- Better url tag (bug #223023).

* Mon Jan 22 2007 Tim Waugh <twaugh at redhat.com> 
- Renamed package to emacs-nxml-mode (bug #223023).

* Mon Nov 15 2004 Tim Waugh <twaugh at redhat.com> 
- New snapshot (20041004).

* Mon Jul 26 2004 Tim Waugh <twaugh at redhat.com> 
- New snapshot.

* Thu Apr 15 2004 J. J. Ramsey <jjramsey at pobox.com> 
- Added the missing char-name/unicode/*.el files

* Thu Oct 23 2003 Tim Waugh <twaugh at redhat.com> 
- Initial build.




***** Error reading new file: [Errno 2] No such file or directory: 'slides.rnc'

--- NEW FILE sources ---
ac137024cf337d6f11d8ab278d39b4db  nxml-mode-20041004.tar.gz




More information about the scm-commits mailing list