File courseware-6201.spec of Package courseware-6201

Name:          courseware-6201
Summary:       Get Ready for Open Source: SUSE Linux Enterprise Desktop Book 2
Version:       1
Release:       1
Url:           http://ocw.novell.com/suse-linux-enterprise-desktop/get-ready-for-open-source-suse-linux-enterprise-1
Vendor:        openSUSE-Education
Group:         System Environment/Documentation
License:       Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license.
Source0:       %{name}.tar.bz2
Source1:       novell.png
Source2:       %{name}_schoolbook.desktop
Source3:       %{name}_instructor.desktop
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
BuildRequires: update-desktop-files
ExcludeArch:   ia64 ppc64 s390x s390 ppc 
BuildArch:     noarch

%description
The Get Ready for Open Source: SUSE Linux Enterprise Desktop (Book 2) course
(6201) is targeted at a high school level (ages 14 and above) and provides
students with an short introduction to desktop administrative tasks with the
main focus on understanding the shell and the first steps in shell programming.
It is the second in a series of courses focused on preparing students to take
part in a Linux open source development project.

This course teaches students the following topics and skills that help them
understand the basics of administration and shell programming:

* Administer Linux with YaST
  o Manage the Network
  o Manage Users and Groups
  o View Your Network Settings
* The Linux Shell and Tools
  o Organize Files at the Command Line
  o Understand bash Commands and Features
  o Understand Advanced Command Execution
  o The vi Text Editor
  o The Basics of bash Programming
* Linux Services for Developers
  o The Version Control System - Subversion
  o The Web Server - Apache 


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

%build

%install
%__install -dm 755 %{buildroot}%{_datadir}/doc/%name
%__cp -r *  %{buildroot}%{_datadir}/doc/%name/

# create desktop entries
%{__mkdir_p} %{buildroot}%{_datadir}/{applications,pixmaps}
%{__install} -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
%suse_update_desktop_file -i %{name}_schoolbook
%suse_update_desktop_file -i %{name}_instructor
# entry for susehelp
mkdir -p %{buildroot}%{_datadir}/susehelp/meta/%name
%{__install} -m 644 %{SOURCE2} %{buildroot}%{_datadir}/susehelp/meta/%name/
%{__install} -m 644 %{SOURCE3} %{buildroot}%{_datadir}/susehelp/meta/%name/

%clean
%__rm -rf %{buildroot}

%files 
%defattr(-, root, root)
%dir %_datadir/doc/%name
%dir %{_datadir}/susehelp
%dir %{_datadir}/susehelp/meta
%dir %{_datadir}/susehelp/meta/%name
%_datadir/doc/%name
%{_datadir}/susehelp/meta/%name
%{_datadir}/pixmaps/*
%{_datadir}/applications/*

%changelog
openSUSE Build Service is sponsored by