rpms/gtypist/devel gtypist.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Zing Zing Shishak (shishz) fedora-extras-commits at redhat.com
Sat Jun 17 02:34:58 UTC 2006


Author: shishz

Update of /cvs/extras/rpms/gtypist/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30007/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gtypist.spec 
Log Message:
auto-import gtypist-2.7-3 on branch devel from gtypist-2.7-3.src.rpm


--- NEW FILE gtypist.spec ---
Name: 			gtypist
Version: 		2.7
Release: 		3%{?dist}
Summary: 		GNU typing tutor
Group: 			Applications/Text
License:		GPL
Url: 			ftp://ftp.gnu.org/gnu/gtypist
Source0: 		ftp://ftp.gnu.org/gnu/gtypist/gtypist-2.7.tar.bz2
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:		emacs
BuildRequires:		gettext
BuildRequires:		ncurses-devel
Requires:		fortune-mod
Requires(post):		/sbin/install-info
Requires(preun):	/sbin/install-info

%define emacs_sitelisp %{_datadir}/emacs/site-lisp

%description
GNU Typist (or gtypist) is free software that assists you in learning
to type correctly.

It is intended to be used  on a raw terminal without graphics.  It has
been compiled and used in Unix (GNU/Linux, Aix, Solaris, openBSD) and
also in DOS/Windows (DOS 6.22, Windows 98).

%package -n emacs-%{name}
Summary:		GNU typing tutor
Group:			Applications/Text
Requires:		emacs

%description -n emacs-%{name}
GNU Typist (or gtypist) is free software that assists you in learning
to type correctly.

This package contains support for emacs major-mode gtypist-mode which
does syntax-highlighting, indentation and has some convenient commands
for counting labels, a goto-label-command, inserting properly centered
banners, special comments and a bit more.

%prep
%setup -q
pushd doc
iconv --from=ISO-8859-1 --to=UTF-8 gtypist.info > gtypist.info.utf8
mv gtypist.info.utf8 gtypist.info
popd

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install
%find_lang %name
rm -vf $RPM_BUILD_ROOT/usr/share/info/dir

mkdir -p $RPM_BUILD_ROOT/%{emacs_sitelisp}/site-start.d
cat > gtypist-init.el <<EOF
(autoload 'gtypist-mode "gtypist-mode")
(setq auto-mode-alist (append '(("\\.typ$" . gtypist-mode)) auto-mode-alist))
EOF
cp gtypist-init.el $RPM_BUILD_ROOT/%{emacs_sitelisp}/site-start.d

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :

%preun
if [ $1 = 0 ]; then
	/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi

%files -f %name.lang
%defattr(-, root, root)
%doc ABOUT-NLS AUTHORS NEWS COPYING QUESTIONS ChangeLog README INSTALL THANKS TODO  
%{_bindir}/*
%{_datadir}/%{name}
%{_infodir}/*
%{_mandir}/man1/*

%files -n emacs-%{name}
%defattr(-,root,root)
%{emacs_sitelisp}/gtypist-mode.el
%{emacs_sitelisp}/gtypist-mode.elc
%{emacs_sitelisp}/site-start.d/gtypist-init.el

%changelog
* Mon Jun 12 2006 Zing <zing at fastmail.fm> - 2.7-3
- do not use makeinstall macro
- rm info dir file from buildroot?

* Wed Jun  7 2006 Zing <zing at fastmail.fm> - 2.7-2
- add preun pkg check before running install-info

* Wed Jun  7 2006 Zing <zing at fastmail.fm> - 2.7-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gtypist/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Jun 2006 02:34:19 -0000	1.1
+++ .cvsignore	17 Jun 2006 02:34:58 -0000	1.2
@@ -0,0 +1 @@
+gtypist-2.7.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gtypist/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Jun 2006 02:34:19 -0000	1.1
+++ sources	17 Jun 2006 02:34:58 -0000	1.2
@@ -0,0 +1 @@
+200d42de9a0070866d88116112370f0a  gtypist-2.7.tar.bz2




More information about the fedora-extras-commits mailing list