File obs-common.spec of Package obs-common

#
# spec file for package obs-server
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           obs-common
Summary:        The openSUSE Build Service -- Common Components

Version:        2.1.0

Release:        0
License:        GPL
Group:          Productivity/Networking/Web/Utilities
Url:            http://en.opensuse.org/Build_Service
Source:         obs-common-%version.tar.gz
Autoreqprov:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Authors:
--------
    The openSUSE Team <opensuse-buildservice@opensuse.org>

%prep
%setup -q -n shared-resources-%version

%build
# nothing to do

%install
install -d -m 0755 $RPM_BUILD_ROOT/srv/www/obs/
cp -a buildservice $RPM_BUILD_ROOT/srv/www/obs/common
cp -a images $RPM_BUILD_ROOT/srv/www/obs/common

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/srv/www/obs