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
Version:        2.0.13.0
Release:        0
License:        GPL-2.0
Url:            http://www.sloodle.org/
%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
%endif
BuildRequires:	unzip
Source0:        %{real_name}_v%{real_version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
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.

%prep
%setup -q -n moodle_wwwroot

%build
# not needed

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

%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%dir %{moodlerootdir}
%{moodlerootdir}/*

%changelog
openSUSE Build Service is sponsored by