File osc-source_validator.spec of Package osc-source_validator

#
# spec file for package osc-source_validator
#
# Copyright (c) 2011 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/
#



Name:           osc-source_validator
Version:        0.1
Release:        28
License:        GPLv2+
Summary:        osc source validator
Url:            http://en.opensuse.org/openSUSE:Build_Service_Tools#OSC_source_validator
Group:          Development/Tools/Building
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
osc is checking valid sources on pre-checkin via this package

%prep
%setup -q -n %{name}-%{version}

%build

%install
mkdir -p %{buildroot}%{_prefix}/lib/osc/source_validators
cp -a [0-9]* helpers %{buildroot}%{_prefix}/lib/osc/source_validators

%files
%defattr(-,root,root)
%doc COPYING
%{_prefix}/lib/osc

%changelog
openSUSE Build Service is sponsored by