File redmine-better-gantt-chart.spec of Package redmine-better-gantt-chart

# spec file for package 
# Copyright (c) 2013 SUSE LINUX Products 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
%define basedir  /srv/www/vhosts/redmine/
%define plugin_name redmine_better_gantt_chart

Name:           redmine-better-gantt-chart
Version:        0.9.0
Release:        0
License:        MIT
Summary:        Redmine plugin to enhance the Gantt Chart
Group:          Internal
Source:         %{name}-%{version}.tar.xz
BuildRequires:  redmine
BuildRequires:  xz
Requires:       redmine
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

better_gantt_chart plugin for Redmine, which improves functionality of Redmine's
default Gantt chart.

%setup -q


install -d -m 0750 %{buildroot}%{basedir}/plugins/%{plugin_name}/
cp -av *           %{buildroot}%{basedir}/plugins/%{plugin_name}/
chmod -R o=        %{buildroot}%{basedir}

%doc README.rdoc
%attr(-,root,redmine) %{basedir}/plugins/%{plugin_name}/