Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
spacewalk-client-repository
> spacewalk-client-repository.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File spacewalk-client-repository.spec of Package spacewalk-client-repository
# # spec file for package spacewalk-client-repository # # 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/ # # needsbinariesforbuild Url: http://www.novell.com/linux Name: spacewalk-client-repository BuildRequires: spacewalk-client-repository-i586 BuildRequires: spacewalk-client-repository-x86_64 BuildRequires: spacewalk-client-repository-ppc64 BuildRequires: spacewalk-client-repository-ia64 BuildRequires: spacewalk-client-repository-s390x BuildRequires: createrepo satsolver-tools License: GPL v2 only Group: System/Packages AutoReqProv: off Summary: SUSE Manager server appliance build helper. Version: 0.0 Release: 0.5.31 ExclusiveArch: x86_64 Source0: SLES-11-SP1.x86_6.solv.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description SUSE Manager server appliance build helper to collect the client tools rpm binaries, one subpackage per required architecture. Authors: -------- SUSE Manager Team %prep %setup -c -T %build %install REPO="%buildroot/srv/www/htdocs/pub/repositories/susemanager-client-setup" mkdir -p $REPO for repo in /srv/www/htdocs/pub/repositories/susemanager-client-setup-*; do cp -a $repo/* . done createrepo . cp -av * $REPO/ INSTALLCHECK=/usr/bin/installcheck if [ -x $INSTALLCHECK ]; then echo "=== Running installcheck ===" repo2solv.sh -o /tmp/susemanager-client-setup.solv "$REPO/repodata" $INSTALLCHECK x86_64 /tmp/susemanager-client-setup.solv --nocheck %{SOURCE0} else echo "=== No installcheck in satsolver-tools :( ===" fi %clean rm -rf %{buildroot} %files %defattr(-,root,root) /srv/www/htdocs/pub %changelog * Fri Feb 4 2011 mc@suse.de - add install dependency check * Tue Jan 18 2011 mc@suse.de - initial version