Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 7c685ea1ca888b40232fa76a63de6b8c > files > 3

rute-1.0.0-1mdv2008.0.src.rpm

Summary:	Rute Users Tutorial and Exposition
Name:		rute
Version:	1.0.0
Release:	%mkrel 1

Source0:	%{name}.html.tar.bz2
Source1:	rute.menu

License:	Paul Sheer, <psheer@icon.co.za>. Published under Open Content license.
Group:		Books/Computer books
BuildRoot:	%_tmppath/%name-%version-root
BuildArch:	noarch
Requires:	xdg-utils
URL:		http://rute.2038bug.com
Obsoletes:	rute_pdf

%description
Rute is a beginners guide to Linux and Unix-like systems. It is designed as a
dependency consistent tutorial document. This means you can (and should) read
it from beginning to end in consecutive order. Rute also satisfies the
requirements for course notes for a Linux training course.

%prep
%setup -q -n %{name}

%build
rm -fr $RPM_BUILD_ROOT

%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-%{name}.desktop <<EOF
[Desktop Entry]
Name=Beginners Guide to Linux
Comment=Rute Users Tutorial and Exposition
Exec=xdg-open %{_docdir}/%{name}/index.html
Icon=documentation_section
Type=Application
Categories=Documentation;System;
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}
 
%postun
%{clean_menus}

%files
%defattr(-,root,root,0755)
%doc *
%{_datadir}/applications/*.desktop


%changelog
* Sat Jun 23 2007 Funda Wang <fundawang@mandriva.org> 1.0.0-1mdv2008.0
+ Revision: 43373
- Use xdg menu
  use xdg-open
- New version


* Thu Feb 08 2007 Lenny Cartier <lenny@mandriva.com> 0.9.1-4mdv2007.0
+ Revision: 117694
- Rebuild
- Import rute