File redmine-connect-custom-field.spec of Package redmine-connect-custom-field
#
# 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 http://bugs.opensuse.org/
#
%define basedir /srv/www/vhosts/redmine/
%define plugin_name connect_custom_field
Name: redmine-connect-custom-field
Version: 0.0.1
Release: 0
License: MIT
Summary: Connect profile custom field plugin for Redmine
Url: https://github.com/openSUSE-Team/redmine-connect-custom-field
Group: Internal
Source: %{name}-%{version}.tar.xz
BuildRequires: redmine
BuildRequires: xz
Requires: redmine
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
openSUSE Team's plugin providing a new custom field type called 'Connect
profile'. Useful for including links in progress.opensuse.org user profiles to
the corresponding profile at connect.opensuse.org.
%prep
%setup -q
%build
%install
install -d -m 0750 %{buildroot}%{basedir}/plugins/%{plugin_name}/
cp -av * %{buildroot}%{basedir}/plugins/%{plugin_name}/
chmod -R o= %{buildroot}%{basedir}
%files
%defattr(-,root,root)
%doc README.md LICENSE
%attr(-,root,redmine) %{basedir}/plugins/%{plugin_name}/
%changelog