File moodle2-plugins-sloodle.spec of Package moodle-plugins-sloodle

Name: 			moodle2-plugins-sloodle
Summary:		Integrate multi-user virtual environments with Moodle
Group:      	Productivity/Networking/Web/Utilities
AutoReqProv:    no
Release:        0
License:        GPL-2.0
%define         real_name sloodle 
%define         real_version 2.0.13-alpha 
%define         apache_serverroot %(/usr/sbin/apxs2 -q DATADIR)
%define         moodlerootdir %{apache_serverroot}/moodle2
Requires: 		moodle2
%if 0%{?suse_version}
BuildRequires:	apache2-devel
BuildRequires:  fdupes
BuildRequires:	unzip
Source0:        %{real_name}_v%{real_version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

SLOODLE (Simulation Linked Object Oriented Dynamic Learning Environment) is an
Open Source project which integrates the multi-user virtual environment of
Second Life® with the Moodle® learning-management system.

Sloodle provides a range of tools for supporting learning and teaching to the
immersive virtual world; tools which are fully integrated with a tried and
tested web-based learning management system used by hundreds of thousands of
educators and students worldwide.

%setup -q -n moodle_wwwroot

# not needed

%{__mkdir_p} %{buildroot}/%{moodlerootdir}
%{__cp} -a * %{buildroot}/%{moodlerootdir}
%fdupes %{buildroot}/%{moodlerootdir}

rm -rf %{buildroot}

%dir %{moodlerootdir}

openSUSE Build Service is sponsored by