Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
spacewalk-backend
> spacewalk-backend.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File spacewalk-backend.spec of Package spacewalk-backend
# # spec file for package spacewalk-backend # # 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/ # %define rhnroot %{_prefix}/share/rhn %define rhnconf %{_sysconfdir}/rhn %define httpdconf %{rhnconf}/satellite-httpd/conf %if 0%{?suse_version} %define apacheconfd %{_sysconfdir}/apache2/conf.d %define apache_user wwwrun %define apache_group www %else %define apacheconfd %{_sysconfdir}/httpd/conf.d %define apache_user apache %define apache_group apache %endif %if 0%{?fedora} < 13 && 0%{?rhel} < 6 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif %global pythonrhnroot %{python_sitelib}/spacewalk Name: spacewalk-backend Summary: Common programs needed to be installed on the Spacewalk servers/proxies Group: Applications/Internet License: GPL v2 only; Python Copyright Version: 1.2.74 Release: 0.18.2 Url: https://fedorahosted.org/spacewalk Source0: spacewalk-backend-git-23d49e4e03d4ccc3ee09fe997e5c43628e0dd347.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %if !0%{?suse_version} || 0%{?suse_version} >= 1120 BuildArch: noarch %endif %if 0%{?suse_version} BuildRequires: spacewalk-config Requires(pre): apache2 %else Requires(pre): httpd %endif Requires: python, rpm-python # /etc/rhn is provided by spacewalk-proxy-common or by spacewalk-config Requires: /etc/rhn Requires: rhnlib >= 1.8 # for Debian support Requires: python-debian Requires: %{name}-libs = %{version}-%{release} BuildRequires: /usr/bin/msgfmt BuildRequires: /usr/bin/docbook2man BuildRequires: docbook-utils # we don't really want to require this redhat-release, so we protect # against installations on other releases using conflicts... Obsoletes: rhns-common < 5.3.0 Obsoletes: rhns < 5.3.0 Provides: rhns = 1:%{version}-%{release} Provides: rhns-common = 1:%{version}-%{release} Obsoletes: spacewalk-backend-upload-server < 1.2.28 Provides: spacewalk-backend-upload-server = 1:%{version}-%{release} %description Generic program files needed by the Spacewalk server machines. This package includes the common code required by all servers/proxies. %package sql License: GPL v2 only; Python Copyright Summary: Core functions providing SQL connectivity for the RHN backend modules Group: Applications/Internet Requires(pre): %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release} Obsoletes: rhns-sql < 5.3.0 Provides: rhns-sql = 1:%{version}-%{release} Requires: %{name}-sql-virtual = %{version}-%{release} %description sql This package contains the basic code that provides SQL connectivity for the Spacewalk backend modules. %package sql-oracle License: GPL v2 only; Python Copyright Summary: Oracle backend for Spacewalk Group: Applications/Internet Requires: python(:DBAPI:oracle) Provides: %{name}-sql-virtual = %{version}-%{release} %description sql-oracle This package contains provides Oracle connectivity for the Spacewalk backend modules. %package sql-postgresql License: GPL v2 only; Python Copyright Summary: Postgresql backend for Spacewalk Group: Applications/Internet Requires: python-psycopg2 Provides: %{name}-sql-virtual = %{version}-%{release} %description sql-postgresql This package contains provides PostgreSQL connectivity for the Spacewalk backend modules. %package server License: GPL v2 only; Python Copyright Summary: Basic code that provides RHN Server functionality Group: Applications/Internet Requires(pre): %{name}-sql = %{version}-%{release} Requires: %{name}-sql = %{version}-%{release} Requires: PyPAM Obsoletes: rhns-server < 5.3.0 Provides: rhns-server = 1:%{version}-%{release} %if 0%{?rhel} && 0%{?rhel} < 6 Requires: mod_python %else Requires: mod_wsgi %endif %description server This package contains the basic code that provides server/backend functionality for a variety of XML-RPC receivers. The architecture is modular so that you can plug/install additional modules for XML-RPC receivers and get them enabled automatically. %package xmlrpc License: GPL v2 only; Python Copyright Summary: Handler for /XMLRPC Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-server-xmlrpc < 5.3.0 Obsoletes: rhns-xmlrpc < 5.3.0 Provides: rhns-server-xmlrpc = 1:%{version}-%{release} Provides: rhns-xmlrpc = 1:%{version}-%{release} %description xmlrpc These are the files required for running the /XMLRPC handler, which provide the basic support for the registration client (rhn_register) and the up2date clients. %package applet License: GPL v2 only; Python Copyright Summary: Handler for /APPLET Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-applet < 5.3.0 Provides: rhns-applet = 1:%{version}-%{release} %description applet These are the files required for running the /APPLET handler, which provides the functions for the RHN applet. %package app License: GPL v2 only; Python Copyright Summary: Handler for /APP Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-server-app < 5.3.0 Obsoletes: rhns-app < 5.3.0 Provides: rhns-server-app = 1:%{version}-%{release} Provides: rhns-app = 1:%{version}-%{release} %description app These are the files required for running the /APP handler. Calls to /APP are used by internal maintenance tools (rhnpush). %package xp License: GPL v2 only; Python Copyright Summary: Handler for /XP Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-server-xp < 5.3.0 Obsoletes: rhns-xp < 5.3.0 Provides: rhns-server-xp = 1:%{version}-%{release} Provides: rhns-xp = 1:%{version}-%{release} %description xp These are the files required for running the /XP handler. Calls to /XP are used by tools publicly available (like rhn_package_manager). %package iss License: GPL v2 only; Python Copyright Summary: Handler for /SAT Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-sat < 5.3.0 Provides: rhns-sat = 1:%{version}-%{release} %description iss spacewalk-backend contains the basic code that provides server/backend functionality for a variety of XML-RPC receivers. The architecture is modular so that you can plug/install additional modules for XML-RPC receivers and get them enabled automatically. This package contains /SAT handler, which provide Inter Spacewalk Sync capability. %{name} contains the basic code that provides server/backend functionality for a variety of XML-RPC receivers. The architecture is modular so that you can plug/install additional modules for XML-RPC receivers and get them enabled automatically. This package contains /SAT handler, which provide Inter Spacewalk Sync capability. %package iss-export License: GPL v2 only; Python Copyright Summary: Listener for the Server XML dumper Group: Applications/Internet Requires: rpm-python Requires: %{name}-xml-export-libs = %{version}-%{release} %description iss-export spacewalk-backend contains the basic code that provides server/backend functionality for a variety of XML-RPC receivers. The architecture is modular so that you can plug/install additional modules for XML-RPC receivers and get them enabled automatically. This package contains listener for the Server XML dumper. %{name} contains the basic code that provides server/backend functionality for a variety of XML-RPC receivers. The architecture is modular so that you can plug/install additional modules for XML-RPC receivers and get them enabled automatically. This package contains listener for the Server XML dumper. %package libs License: GPL v2 only; Python Copyright Summary: Spacewalk server and client tools libraries Group: Applications/Internet %if 0%{?suse_version} BuildRequires: python-devel Requires: python-base %else BuildRequires: python2-devel Requires: python-hashlib %endif %description libs Libraries required by both Spacewalk server and Spacewalk client tools. %package config-files-common License: GPL v2 only; Python Copyright Summary: Common files for the Configuration Management project Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-config-files-common < 5.3.0 Provides: rhns-config-files-common = 1:%{version}-%{release} %description config-files-common Common files required by the Configuration Management project %package config-files License: GPL v2 only; Python Copyright Summary: Handler for /CONFIG-MANAGEMENT Group: Applications/Internet Requires: %{name}-config-files-common = %{version}-%{release} Obsoletes: rhns-config-files < 5.3.0 Provides: rhns-config-files = 1:%{version}-%{release} %description config-files This package contains the server-side code for configuration management. %package config-files-tool License: GPL v2 only; Python Copyright Summary: Handler for /CONFIG-MANAGEMENT-TOOL Group: Applications/Internet Requires: %{name}-config-files-common = %{version}-%{release} Obsoletes: rhns-config-files-tool < 5.3.0 Provides: rhns-config-files-tool = 1:%{version}-%{release} %description config-files-tool This package contains the server-side code for configuration management tool. %package package-push-server License: GPL v2 only; Python Copyright Summary: Listener for rhnpush (non-XMLRPC version) Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-package-push-server < 5.3.0 Provides: rhns-package-push-server = 1:%{version}-%{release} %description package-push-server Listener for rhnpush (non-XMLRPC version) %package tools License: GPL v2 only; Python Copyright Summary: Red Hat Network Services Satellite Tools Group: Applications/Internet Requires: %{name}-xmlrpc = %{version}-%{release} Requires: %{name}-app = %{version}-%{release} Requires: %{name} Requires: spacewalk-certs-tools Requires: spacewalk-admin >= 0.1.1-0 Requires: python-gzipstream %if 0%{?suse_version} Requires: python-base %else Requires: python-hashlib %endif Requires: PyXML %if 0%{?suse_version} Requires: apache2-prefork %else Requires: mod_ssl %endif Requires: %{name}-xml-export-libs Requires: cobbler >= 1.4.3 %if 0%{?rhel} && 0%{?rhel} < 5 Requires: rhnlib >= 2.1.4-14 %else Requires: rhnlib >= 2.5.22 %endif Obsoletes: rhns-satellite-tools < 5.3.0 Obsoletes: spacewalk-backend-satellite-tools <= 0.2.7 Provides: spacewalk-backend-satellite-tools = %{version}-%{release} Provides: rhns-satellite-tools = 1:%{version}-%{release} %description tools Various utilities for the Red Hat Network Satellite Server. %package xml-export-libs License: GPL v2 only; Python Copyright Summary: Red Hat Network XML data exporter Group: Applications/Internet Requires: %{name}-server = %{version}-%{release} Obsoletes: rhns-xml-export-libs < 5.3.0 Provides: rhns-xml-export-libs = 1:%{version}-%{release} %description xml-export-libs Libraries required by various exporting tools %prep %setup -q -n spacewalk-backend-git-23d49e4e03d4ccc3ee09fe997e5c43628e0dd347 %build %if !0%{?suse_version} sed -i 's/^INSTALL_DEST.*/INSTALL_DEST = \/etc\/httpd\/conf.d/' apache-conf/Makefile %endif make -f Makefile.backend all export PYTHON_MODULE_NAME=%{name} export PYTHON_MODULE_VERSION=%{version} %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{rhnroot} install -d $RPM_BUILD_ROOT/%{pythonrhnroot} make -f Makefile.backend install PREFIX=$RPM_BUILD_ROOT \ MANDIR=%{_mandir} export PYTHON_MODULE_NAME=%{name} export PYTHON_MODULE_VERSION=%{version} %{__python} setup.py install -O1 --root $RPM_BUILD_ROOT --prefix=%{_prefix} %if 0%{?rhel} && 0%{?rhel} < 6 rm -fv $RPM_BUILD_ROOT/%{apacheconfd}/zz-spacewalk-server-wsgi.conf rm -rfv $RPM_BUILD_ROOT/%{rhnroot}/wsgi %else rm -fv $RPM_BUILD_ROOT/%{apacheconfd}/zz-spacewalk-server-python.conf %endif rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/satellite-sync.8* %clean rm -rf $RPM_BUILD_ROOT %pre server OLD_SECRET_FILE=%{_var}/www/rhns/server/secret/rhnSecret.py if [ -f $OLD_SECRET_FILE ]; then install -d -m 750 -o root -g %{apache_group} %{rhnconf} mv ${OLD_SECRET_FILE}* %{rhnconf} fi %post server %if 0%{?suse_version} sysconf_addword /etc/sysconfig/apache2 APACHE_MODULES wsgi sysconf_addword /etc/sysconfig/apache2 APACHE_MODULES perl %endif # Is secret key in our config file? regex="^[[:space:]]*(server\.|)secret_key[[:space:]]*=.*$" if grep -E -i $regex %{rhnconf}/rhn.conf > /dev/null 2>&1 ; then # secret key already there rm -f %{rhnconf}/rhnSecret.py* exit 0 fi # Generate a secret key if old one is not present if [ -f %{rhnconf}/rhnSecret.py ]; then secret_key=$(PYTHONPATH=%{rhnconf} %{__python} -c \ "from rhnSecret import SECRET_KEY; print SECRET_KEY") else secret_key=$(dd if=/dev/urandom bs=1024 count=1 2>/dev/null | sha1sum - | awk '{print $1}') fi echo "server.secret_key = $secret_key" >> %{rhnconf}/rhn.conf rm -f %{rhnconf}/rhnSecret.py* %files %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %dir %{pythonrhnroot} %dir %{pythonrhnroot}/common %{pythonrhnroot}/common/__init__.py* %{pythonrhnroot}/common/apache.py* %{pythonrhnroot}/common/byterange.py* %{pythonrhnroot}/common/rhn_posix.py* %{pythonrhnroot}/common/rhnApache.py* %{pythonrhnroot}/common/rhnCache.py* %{pythonrhnroot}/common/rhnConfig.py* %{pythonrhnroot}/common/rhnException.py* %{pythonrhnroot}/common/rhnFlags.py* %{pythonrhnroot}/common/rhnLib.py* %{pythonrhnroot}/common/rhnLog.py* %{pythonrhnroot}/common/rhnMail.py* %{pythonrhnroot}/common/rhnTB.py* %{pythonrhnroot}/common/rhnRepository.py* %{pythonrhnroot}/common/rhnTranslate.py* %{pythonrhnroot}/common/UserDictCase.py* %{pythonrhnroot}/common/RPC_Base.py* %attr(770,root,%{apache_group}) %dir %{_var}/log/rhn # config files %attr(755,root,%{apache_group}) %dir %{rhnconf}/default %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn.conf %attr(755,root,root) %{_bindir}/spacewalk-cfg-get %{_mandir}/man8/spacewalk-cfg-get.8.gz # wsgi stuff %if !0%{?rhel} || 0%{?rhel} >= 6 %dir %{rhnroot}/wsgi %{rhnroot}/wsgi/__init__.py* %{rhnroot}/wsgi/wsgiHandler.py* %{rhnroot}/wsgi/wsgiRequest.py* %endif %files sql %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif # Need __init__ = share it with rhns-server %dir %{pythonrhnroot}/server %{pythonrhnroot}/server/__init__.py* %{rhnroot}/server/__init__.py* %dir %{pythonrhnroot}/server/rhnSQL %{pythonrhnroot}/server/rhnSQL/const.py* %{pythonrhnroot}/server/rhnSQL/dbi.py* %{pythonrhnroot}/server/rhnSQL/__init__.py* %{pythonrhnroot}/server/rhnSQL/sql_*.py* %files sql-oracle %defattr(-,root,root,-) %doc PYTHON-LICENSES.txt LICENSE %{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py* %files sql-postgresql %defattr(-,root,root,-) %doc PYTHON-LICENSES.txt LICENSE %{pythonrhnroot}/server/rhnSQL/driver_postgresql.py* %files server %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif # modules %{pythonrhnroot}/server/apacheAuth.py* %{pythonrhnroot}/server/apacheHandler.py* %{pythonrhnroot}/server/apacheRequest.py* %{pythonrhnroot}/server/apacheServer.py* %{pythonrhnroot}/server/apacheUploadServer.py* %{pythonrhnroot}/server/rhnAction.py* %{pythonrhnroot}/server/rhnAuthPAM.py* %{pythonrhnroot}/server/rhnCapability.py* %{pythonrhnroot}/server/rhnChannel.py* %{pythonrhnroot}/server/rhnKickstart.py* %{pythonrhnroot}/server/rhnDatabaseCache.py* %{pythonrhnroot}/server/rhnDependency.py* %{pythonrhnroot}/server/rhnPackage.py* %{pythonrhnroot}/server/rhnPackageUpload.py* %{pythonrhnroot}/server/basePackageUpload.py* %{pythonrhnroot}/server/rhnHandler.py* %{pythonrhnroot}/server/rhnImport.py* %{pythonrhnroot}/server/rhnLib.py* %{pythonrhnroot}/server/rhnMapping.py* %{pythonrhnroot}/server/rhnRepository.py* %{pythonrhnroot}/server/rhnSession.py* %{pythonrhnroot}/server/rhnUser.py* %{pythonrhnroot}/server/rhnVirtualization.py* %{pythonrhnroot}/server/taskomatic.py* %dir %{pythonrhnroot}/server/rhnServer %{pythonrhnroot}/server/rhnServer/* %dir %{pythonrhnroot}/server/importlib %{pythonrhnroot}/server/importlib/__init__.py* %{pythonrhnroot}/server/importlib/archImport.py* %{pythonrhnroot}/server/importlib/backend.py* %{pythonrhnroot}/server/importlib/backendLib.py* %{pythonrhnroot}/server/importlib/backendOracle.py* %{pythonrhnroot}/server/importlib/blacklistImport.py* %{pythonrhnroot}/server/importlib/channelImport.py* %{pythonrhnroot}/server/importlib/debPackage.py* %{pythonrhnroot}/server/importlib/errataCache.py* %{pythonrhnroot}/server/importlib/errataImport.py* %{pythonrhnroot}/server/importlib/headerSource.py* %{pythonrhnroot}/server/importlib/importLib.py* %{pythonrhnroot}/server/importlib/kickstartImport.py* %{pythonrhnroot}/server/importlib/mpmSource.py* %{pythonrhnroot}/server/importlib/packageImport.py* %{pythonrhnroot}/server/importlib/packageUpload.py* %{pythonrhnroot}/server/importlib/productNamesImport.py* %{pythonrhnroot}/server/importlib/userAuth.py* %{rhnroot}/server/handlers/__init__.py* # Repomd stuff %dir %{pythonrhnroot}/server/repomd %{pythonrhnroot}/server/repomd/__init__.py* %{pythonrhnroot}/server/repomd/domain.py* %{pythonrhnroot}/server/repomd/mapper.py* %{pythonrhnroot}/server/repomd/repository.py* %{pythonrhnroot}/server/repomd/view.py* # the cache %attr(755,%{apache_user},%{apache_group}) %dir %{_var}/cache/rhn # config files %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server.conf # main httpd config %attr(644,root,%{apache_group}) %config %{apacheconfd}/zz-spacewalk-server.conf %if 0%{?rhel} && 0%{?rhel} < 6 %attr(644,root,%{apache_group}) %config %{apacheconfd}/zz-spacewalk-server-python.conf %else # wsgi stuff %attr(644,root,%{apache_group}) %config %{apacheconfd}/zz-spacewalk-server-wsgi.conf %{rhnroot}/wsgi/app.py* %{rhnroot}/wsgi/applet.py* %{rhnroot}/wsgi/config.py* %{rhnroot}/wsgi/config_tool.py* %{rhnroot}/wsgi/package_push.py* %{rhnroot}/wsgi/package_upload.py* %{rhnroot}/wsgi/sat.py* %{rhnroot}/wsgi/sat_dump.py* %{rhnroot}/wsgi/xmlrpc.py* %{rhnroot}/wsgi/xp.py* %endif # logs and other stuff %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-server # translations %{rhnroot}/locale %files xmlrpc %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %dir %{rhnroot}/server/handlers/xmlrpc %{rhnroot}/server/handlers/xmlrpc/* %dir %{pythonrhnroot}/server/action %{pythonrhnroot}/server/action/* %dir %{pythonrhnroot}/server/action_extra_data %{pythonrhnroot}/server/action_extra_data/* # config files %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_xmlrpc.conf %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-xmlrpc.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-xmlrpc %if 0%{?suse_version} %dir %{rhnroot}/server %dir %{rhnroot}/server/handlers %endif %files applet %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif %dir %{rhnroot}/server/handlers/applet %{rhnroot}/server/handlers/applet/* # config files %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_applet.conf %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-applet.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-applet %files app %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif %dir %{rhnroot}/server/handlers/app %{rhnroot}/server/handlers/app/* # config files %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_app.conf %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-app.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-app %files xp %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif %dir %{rhnroot}/server/handlers/xp %{rhnroot}/server/handlers/xp/* # config files %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_xp.conf %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-xp.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-xp %files iss %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif %dir %{rhnroot}/server/handlers/sat %{rhnroot}/server/handlers/sat/* %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-iss %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-sat.conf %files iss-export %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %dir %{pythonrhnroot}/satellite_exporter %{pythonrhnroot}/satellite_exporter/__init__.py* %{pythonrhnroot}/satellite_exporter/satexport.py* %dir %{rhnroot}/satellite_exporter %dir %{rhnroot}/satellite_exporter/handlers %{rhnroot}/satellite_exporter/__init__.py* %{rhnroot}/satellite_exporter/handlers/__init__.py* %{rhnroot}/satellite_exporter/handlers/non_auth_dumper.py* # config files %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-sat-dump-internal.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-iss-export %files libs %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %{python_sitelib}/spacewalk* %files config-files-common %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %{pythonrhnroot}/server/configFilesHandler.py* %dir %{pythonrhnroot}/server/config_common %{pythonrhnroot}/server/config_common/* %files config-files %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif %dir %{rhnroot}/server/handlers/config %{rhnroot}/server/handlers/config/* %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_config-management.conf %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-config-management.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-config-files %files config-files-tool %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %if 0%{?suse_version} %dir %{rhnroot}/server %endif %dir %{rhnroot}/server/handlers/config_mgmt %{rhnroot}/server/handlers/config_mgmt/* %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_config-management-tool.conf %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-config-management-tool.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-config-files-tool %files package-push-server %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %dir %{rhnroot}/upload_server %{rhnroot}/upload_server/__init__.py* %dir %{rhnroot}/upload_server/handlers %{rhnroot}/upload_server/handlers/__init__.py* %{rhnroot}/upload_server/handlers/package_push %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_upload.conf %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_upload_package-push.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-package-push-server %attr(644,root,%{apache_group}) %config %{httpdconf}/rhn/spacewalk-backend-package-push.conf %files tools %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_satellite.conf %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-tools %attr(755,root,root) %{_bindir}/rhn-charsets %attr(755,root,root) %{_bindir}/rhn-satellite-activate %attr(755,root,root) %{_bindir}/rhn-schema-version %attr(755,root,root) %{_bindir}/rhn-ssl-dbstore # unsupported in SUSE Manager 1.2 (bnc #669610) # %attr(755,root,root) %{_bindir}/satellite-sync %attr(755,root,root) %{_bindir}/spacewalk-debug %attr(755,root,root) %{_bindir}/rhn-satellite-exporter %attr(755,root,root) %{_bindir}/update-packages %attr(755,root,root) %{_bindir}/spacewalk-repo-sync %attr(755,root,root) %{_bindir}/rhn-db-stats %attr(755,root,root) %{_bindir}/rhn-schema-stats %attr(755,root,root) %{_bindir}/satpasswd %attr(755,root,root) %{_bindir}/satwho %attr(755,root,root) %{_bindir}/spacewalk-remove-channel* %attr(755,root,root) %{_bindir}/rhn-entitlement-report %attr(755,root,root) %{_bindir}/spacewalk-update-signatures %{pythonrhnroot}/satellite_tools/SequenceServer.py* %{pythonrhnroot}/satellite_tools/messages.py* %{pythonrhnroot}/satellite_tools/progress_bar.py* %{pythonrhnroot}/satellite_tools/req_channels.py* %{pythonrhnroot}/satellite_tools/satsync.py* %{pythonrhnroot}/satellite_tools/satCerts.py* %{pythonrhnroot}/satellite_tools/satComputePkgHeaders.py* %{pythonrhnroot}/satellite_tools/syncCache.py* %{pythonrhnroot}/satellite_tools/sync_handlers.py* %{pythonrhnroot}/satellite_tools/rhn_satellite_activate.py* %{pythonrhnroot}/satellite_tools/rhn_ssl_dbstore.py* %{pythonrhnroot}/satellite_tools/xmlWireSource.py* %{pythonrhnroot}/satellite_tools/updatePackages.py* %{pythonrhnroot}/satellite_tools/reposync.py* %{pythonrhnroot}/satellite_tools/constants.py* %dir %{pythonrhnroot}/satellite_tools/disk_dumper %{pythonrhnroot}/satellite_tools/disk_dumper/__init__.py* %{pythonrhnroot}/satellite_tools/disk_dumper/iss.py* %{pythonrhnroot}/satellite_tools/disk_dumper/iss_ui.py* %{pythonrhnroot}/satellite_tools/disk_dumper/iss_isos.py* %{pythonrhnroot}/satellite_tools/disk_dumper/iss_actions.py* %{pythonrhnroot}/satellite_tools/disk_dumper/dumper.py* %{pythonrhnroot}/satellite_tools/disk_dumper/string_buffer.py* %dir %{pythonrhnroot}/satellite_tools/repo_plugins %attr(755,root,%{apache_group}) %dir %{_var}/log/rhn/reposync %{pythonrhnroot}/satellite_tools/repo_plugins/__init__.py* %{pythonrhnroot}/satellite_tools/repo_plugins/yum_src.py* %config %attr(644,root,%{apache_group}) %{rhnconf}/default/rhn_server_iss.conf %{_mandir}/man8/rhn-satellite-exporter.8* %{_mandir}/man8/rhn-charsets.8* %{_mandir}/man8/rhn-satellite-activate.8* %{_mandir}/man8/rhn-schema-version.8* %{_mandir}/man8/rhn-ssl-dbstore.8* %{_mandir}/man8/rhn-db-stats.8* %{_mandir}/man8/rhn-schema-stats.8* # %{_mandir}/man8/satellite-sync.8* %{_mandir}/man8/spacewalk-debug.8* %{_mandir}/man8/satpasswd.8* %{_mandir}/man8/satwho.8* %{_mandir}/man8/spacewalk-remove-channel.8* %{_mandir}/man8/spacewalk-repo-sync.8* %{_mandir}/man8/spacewalk-update-signatures.8* %{_mandir}/man8/update-packages.8* %{_mandir}/man8/rhn-entitlement-report.8* %files xml-export-libs %defattr(-,root,root) %doc PYTHON-LICENSES.txt LICENSE %dir %{pythonrhnroot}/satellite_tools %{pythonrhnroot}/satellite_tools/__init__.py* %{pythonrhnroot}/satellite_tools/geniso.py* %{pythonrhnroot}/satellite_tools/gentree.py* %{pythonrhnroot}/satellite_tools/xmlDiskDumper.py* # A bunch of modules shared with satellite-tools %{pythonrhnroot}/satellite_tools/connection.py* %{pythonrhnroot}/satellite_tools/diskImportLib.py* %{pythonrhnroot}/satellite_tools/syncLib.py* %{pythonrhnroot}/satellite_tools/xmlDiskSource.py* %{pythonrhnroot}/satellite_tools/xmlSource.py* %dir %{pythonrhnroot}/satellite_tools/exporter %{pythonrhnroot}/satellite_tools/exporter/__init__.py* %{pythonrhnroot}/satellite_tools/exporter/exporter.py* %{pythonrhnroot}/satellite_tools/exporter/exportLib.py* %{pythonrhnroot}/satellite_tools/exporter/xmlWriter.py* # $Id$ %changelog * Fri Feb 18 2011 mc@suse.de - fix extract keyid from RPM header * Thu Feb 17 2011 mc@suse.de - do not remove not existing files * Thu Feb 17 2011 mantel@suse.de - fix debranding issues (bnc#672637) * Tue Feb 15 2011 ug@suse.de - typo fixed (indentation error bnc#671799) * Mon Feb 14 2011 mc@suse.de - expect not signed metadata with spacewalk-repo-sync if url is given on the commandline * Sat Feb 12 2011 mc@suse.de - send Mail if repo-sync failed * Fri Feb 11 2011 jkupec@suse.cz - correct strings in rhnException.py * Fri Feb 11 2011 mc@suse.de - catch exception primary not available and print nice message (bnc#671225) * Thu Feb 10 2011 mc@suse.de - remove org change again; fixed at another place * Wed Feb 9 2011 jkupec@suse.cz - removed unsupported satellite-sync from the spacewalk-backend-tools package (bnc #669610) * Wed Feb 9 2011 mc@suse.de - fix typo in sql statement * Wed Feb 9 2011 mantel@suse.de - some more renames of RHN to NCC (BNC#668824) * Wed Feb 9 2011 mantel@suse.de - change name of default organization (BNC#663983) * Tue Feb 8 2011 mc@suse.de - change mountpoint and prepended_dir (bnc#669558) * Tue Feb 1 2011 mc@suse.de - fix building on RH * Mon Jan 31 2011 mc@suse.de - call yum update_md with the option to get all updateinfos and not only the newest (bnc#668333) * Sun Jan 30 2011 mc@suse.de - backport upstrem fixes * Tue Jan 25 2011 mc@suse.de - fix checksum handling. * Sat Jan 22 2011 mc@suse.de - fix macros * Mon Jan 17 2011 mc@suse.de - change suseServer ostarget to a foreign key to suseOSTarget(id) * Thu Jan 13 2011 mc@suse.de - Sending and receiving suse product profile data during client registration. - subscribe channels according to submitted suse product data * Tue Jan 11 2011 mc@suse.de - reposync: search for credentials and add them to the URL - fix signature handling - reposync: find checksums for packages in channels with org_id null * Wed Dec 15 2010 mc@suse.de - fix KeyError while syncing repos (bnc#657064) - skip patch instead of abort if no checksum for a package was found * Thu Sep 16 2010 mantel@suse.de - reflect rename of config files (/etc/rhn/default/rhn_server*conf) * Wed Sep 15 2010 mantel@suse.de - Initial release of spacewalk-backend