File moodle-theme-academi.spec of Package moodle-theme-academi

# spec file for package moodle-theme-academi
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           moodle-theme-academi
Version:        2015122500
Release:        0
License:        GPL-3.0+
Summary:        Academi is a modern and customizable theme for Moodle
Group:          Productivity/Networking/Web/Utilities
BuildRequires:  unzip
%if 0%{?suse_version} > 1020
BuildRequires:  fdupes
Requires:       moodle3_0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%define         moodle_basedir /srv/www/moodle3_0
%define         install_dir %{moodle_basedir}/theme

A new free moodle theme called ‘Academi’. This is clean and very modern theme
suitable for your moodle sites , this theme is fully responsive meaning your
readers can enjoy viewing your site on a mobile or tablet for a seamless

For live demo, please visit :

%setup -q -n academi


mkdir -p %{buildroot}%{install_dir}/academi
cp -r * %{buildroot}%{install_dir}/academi/
%if 0%{?suse_version} > 1020
%fdupes %{buildroot}%{install_dir}/

rm -rf %{buildroot}

%doc *.txt
%dir %moodle_basedir
%dir %install_dir