Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
spacewalk-certs-tools
> spacewalk-certs-tools.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File spacewalk-certs-tools.spec of Package spacewalk-certs-tools
# # spec file for package spacewalk-certs-tools # # 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: spacewalk-certs-tools Summary: Spacewalk SSL Key/Cert Tool Group: Applications/Internet License: GPL v2 only; Python Copyright Version: 1.2.2 Release: 0.14.1 Url: https://fedorahosted.org/spacewalk Source0: spacewalk-certs-tools-git-b39092f06f8e8471905957913cb07246500a0157.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %if 0%{?suse_version} Requires: openssl rpm %else Requires: openssl rpm-build %endif %if 0%{?suse_version} || 0%{?rhel} >= 5 Requires: rhn-client-tools %endif Requires: spacewalk-backend-libs >= 0.8.28 BuildRequires: docbook-utils %if 0%{?suse_version} BuildRequires: filesystem %endif BuildRequires: python Obsoletes: rhns-certs < 5.3.0 Obsoletes: rhns-certs-tools < 5.3.0 # can not provides = %{version} since some old packages expect > 3.6.0 Provides: rhns-certs = 5.3.0 Provides: rhns-certs-tools = 5.3.0 %description This package contains tools to generate the SSL certificates required by Spacewalk. %global rhnroot %{_datadir}/rhn %prep %setup -q -n spacewalk-certs-tools-git-b39092f06f8e8471905957913cb07246500a0157 %build #nothing to do here %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/%{rhnroot}/certs %if 0%{?suse_version} make PUB_BOOTSTRAP_DIR=/srv/www/htdocs/pub/bootstrap -f Makefile.certs install PREFIX=$RPM_BUILD_ROOT ROOT=%{rhnroot} \ MANDIR=%{_mandir} ln -s rhn-bootstrap $RPM_BUILD_ROOT/%{_bindir}/mgr-bootstrap ln -s rhn-ssl-tool $RPM_BUILD_ROOT/%{_bindir}/mgr-ssl-tool ln -s rhn-sudo-ssl-tool $RPM_BUILD_ROOT/%{_bindir}/mgr-sudo-ssl-tool %else make -f Makefile.certs install PREFIX=$RPM_BUILD_ROOT ROOT=%{rhnroot} \ MANDIR=%{_mandir} %endif chmod 755 $RPM_BUILD_ROOT/%{rhnroot}/certs/{rhn_ssl_tool.py,client_config_update.py,rhn_bootstrap.py} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %dir %{rhnroot}/certs %{rhnroot}/certs/*.py* %attr(755,root,root) %{rhnroot}/certs/sign.sh %attr(755,root,root) %{rhnroot}/certs/gen-rpm.sh %attr(755,root,root) %{_bindir}/rhn-sudo-ssl-tool %attr(755,root,root) %{_bindir}/rhn-ssl-tool %attr(755,root,root) %{_bindir}/rhn-bootstrap %doc %{_mandir}/man1/rhn-*.1* %doc LICENSE PYTHON-LICENSES.txt %doc ssl-howto-simple.txt ssl-howto.txt %if 0%{?suse_version} %dir /srv/www/htdocs/pub %dir /srv/www/htdocs/pub/bootstrap %dir /usr/share/rhn /srv/www/htdocs/pub/bootstrap/client_config_update.py* %{_bindir}/mgr-bootstrap %{_bindir}/mgr-ssl-tool %{_bindir}/mgr-sudo-ssl-tool %else %{_var}/www/html/pub/bootstrap/client_config_update.py* %endif %changelog * Mon Feb 21 2011 ma@suse.de - Always c_rehash a changed server CA cert (bnc#673776) * Thu Feb 17 2011 ma@suse.de - Evaluate rhnreg_ks return value in bootsprap.sh (bnc#671691) - Fix cleanup code in bootstrap.sh (bnc#670283) * Wed Feb 9 2011 ro@suse.de - do not require rhn-client-tools on rhel-4 * Thu Feb 3 2011 ma@suse.de - Allow to define more than one ORG_GPG_KEY in bootstrap.sh (bnc #662996) * Sun Jan 30 2011 mc@suse.de - backport upstrem fixes * Fri Jan 28 2011 ma@suse.de - Always generate setup code for AllowConfigManagement and AllowRemoteCommands into bootstrap.sh. Otherwise you had to recreate bootstrap.sh if one of the options is turned on later. * Tue Jan 25 2011 ma@suse.de - Use binary_payload w9.gzdio in gen-rpm.sh as e.g. lzma is not supported on older systems. * Tue Jan 25 2011 ma@suse.de - Enable rhn_bootstrap generated bootstrap.sh to manage SUSE systems as well. * Tue Jan 18 2011 mantel@suse.de - add mgr-* symlinks (BNC #660791) * Wed Sep 15 2010 mantel@suse.de - Initial release of spacewalk-certs-tools