%global rhnroot %{_datadir}/rhn %global rhnconf %{_sysconfdir}/sysconfig/rhn %global client_caps_dir %{rhnconf}/clientCaps.d Name: rhncfg Summary: Red Hat Network Configuration Client Libraries Group: Applications/System License: GPLv2 and Python URL: https://fedorahosted.org/spacewalk Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz Version: 5.9.14 Release: 1%{?dist} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: docbook-utils BuildRequires: python Requires: libselinux-python Requires: python Requires: rhnlib # If this is rhel 4 or less we need up2date. %if 0%{?rhel} && "%rhel" < "5" Requires: up2date %else Requires: rhn-client-tools %endif %description The base libraries and functions needed by all rhncfg-* packages. %package client Summary: Red Hat Network Configuration Client Group: Applications/System Requires: %{name} = %{version}-%{release} %description client A command line interface to the client features of the RHN Configuration Management system. %package management Summary: Red Hat Network Configuration Management Client Group: Applications/System Requires: %{name} = %{version}-%{release} %description management A command line interface used to manage RHN configuration. %package actions Summary: Red Hat Network Configuration Client Actions Group: Applications/System Requires: %{name} = %{version}-%{release} Requires: %{name}-client %description actions The code required to run configuration actions scheduled via the RHN website or RHN Satellite or Spacewalk. %prep %setup -q %build make -f Makefile.rhncfg all %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{rhnroot} make -f Makefile.rhncfg install PREFIX=$RPM_BUILD_ROOT ROOT=%{rhnroot} \ MANDIR=%{_mandir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{rhnroot}/config_common %doc LICENSE PYTHON-LICENSES.txt %files client %defattr(-,root,root,-) %{rhnroot}/config_client %{_bindir}/rhncfg-client %attr(644,root,root) %config(noreplace) %{rhnconf}/rhncfg-client.conf %{_mandir}/man8/rhncfg-client.8* %files management %defattr(-,root,root,-) %{rhnroot}/config_management %{_bindir}/rhncfg-manager %attr(644,root,root) %config(noreplace) %{rhnconf}/rhncfg-manager.conf %{_mandir}/man8/rhncfg-manager.8* %files actions %defattr(-,root,root,-) %{rhnroot}/actions/* %{_bindir}/rhn-actions-control %config(noreplace) %{client_caps_dir}/* %{_mandir}/man8/rhn-actions-control.8* # $Id$ %changelog * Wed Nov 18 2009 Miroslav Suchy 5.9.14-1 - 491088 - Polish the spec according Fedora Packaging Guidelines * Tue Nov 17 2009 Miroslav Suchy 5.9.13-1 - 491088 - Polish the spec according Fedora Packaging Guidelines * Tue Oct 27 2009 Miroslav Suchy 5.9.11-1 - Diff SELinux contexts (joshua.roys@gtri.gatech.edu) * Wed Sep 02 2009 Michael Mraka 5.9.10-1 - Add symlink capability to config management (joshua.roys@gtri.gatech.edu) - 519195 - fix typos in rhncfg-manager manual page * Thu Aug 20 2009 Miroslav Suchy 5.9.9-1 - fix an ISE relating to config management w/selinux * Tue Aug 11 2009 Pradeep Kilambi 5.9.8-1 - 516889 - adding rhncfgcli_elist module to makefile * Wed Aug 05 2009 Pradeep Kilambi 5.9.7-1 - bugfix patch on selinux config file deploy (joshua.roys@gtri.gatech.edu) - Patch: Selinux Context support for config files (joshua.roys@gtri.gatech.edu) * Wed Apr 22 2009 jesus m. rodriguez 5.9.6-1 - handle orphaned GID's the same way as orphaned UID's (maxim@wzzrd.com) - update copyright and licenses (jesusr@redhat.com) * Thu Mar 26 2009 jesus m. rodriguez 5.9.5-1 - 430885 - gracefuly ignore dir diffs instead of treating them as missing files * Tue Mar 17 2009 Miroslav Suchy 5.9.4-1 - Polish the spec according Fedora Packaging Guidelines * Wed Feb 18 2009 Pradeep Kilambi 5.9.3-1 - Applying patch for exclude files for rhncfg get call * Thu Feb 12 2009 jesus m. rodriguez 5.9.2-1 - replace "!#/usr/bin/env python" with "!#/usr/bin/python" * Thu Jan 22 2009 Michael Mraka 5.9.1-1 - resolved #428721 - bumped version * Thu Jan 15 2009 Pradeep Kilambi - 0.4.2-1 - BZ#476562 Extended list(elist) option for rhncfg * Thu Oct 16 2008 Michael Mraka 0.3.1-1 - BZ#428721 - fixes filemode and ownership * Tue Sep 2 2008 Milan Zazrivec 0.2.1-1 - Renamed Makefile to Makefile.rhncfg * Mon Oct 01 2007 Pradeep Kilambi - 5.1.0-2 - BZ#240513: fixes wrong umask issue * Tue Sep 25 2007 Pradeep Kilambi - 5.1.0-1 - rev build * Wed Mar 07 2007 Pradeep Kilambi - 5.0.2-2 - rev build * Tue Feb 20 2007 James Bowes - 5.0.1-1 - Add dist tag. * Tue Dec 19 2006 James Bowes - Drastically reduce memory usage for configfiles.mtime_upload (and probably others). * Thu Jun 23 2005 Nick Hansen : 4.0.0-18 - BZ#154746: make rhncfg-client diff work on solaris boxes BZ#160559: Changed the way repositories are instantiated so that the networking stuff won't get set up if --help is used with a mode. * Wed Jun 15 2005 Nick Hansen : 4.0-16 - BZ#140501: catch outage mode message and report it nicely. * Fri May 20 2005 John Wregglesworth : 4.0-9 - Fixing True/False to work on AS 2.1 * Fri May 13 2005 Nick Hansen : 4.0-8 - BZ#156618: fix client capabilities list that is sent to the server * Fri Apr 29 2005 Nick Hansen - adding rhn-actions-control script to actions package * Fri Jun 04 2004 Bret McMillan - many bug fixes - removed dependencies on rhns-config-libs * Mon Jan 20 2004 Todd Warner - rhncfg-{client,manager} man pages added * Mon Nov 24 2003 Mihai Ibanescu - Added virtual provides - Added client capabilities for actions * Fri Nov 14 2003 Mihai Ibanescu - Added default config files * Fri Sep 12 2003 Mihai Ibanescu - Requires rhnlib * Mon Sep 8 2003 Mihai Ibanescu - Initial build