rpms/func/EL-4 func.spec,NONE,1.1 version,NONE,1.1

Michael DeHaan (mdehaan) fedora-extras-commits at redhat.com
Mon Oct 29 19:24:53 UTC 2007


Author: mdehaan

Update of /cvs/pkgs/rpms/func/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv711/EL-4

Added Files:
	func.spec version 
Log Message:
Adding initial versions of project files to CVS




--- NEW FILE func.spec ---

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Summary: Remote config, monitoring, and management api
Name: func
Source1: version
Version: %(echo `awk '{ print $1 }' %{SOURCE1}`)
Release: %(echo `awk '{ print $2 }' %{SOURCE1}`)%{?dist}
Source0: %{name}-%{version}.tar.gz
License: GPLv2+
Group: Applications/System
Requires: python >= 2.3
Requires: pyOpenSSL
BuildRequires: python-devel
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Url: https://hosted.fedoraproject.org/projects/func/

%description

func is a remote api for mangement, configation, and monitoring of systems.

%prep
%setup -q

%build
%{__python} setup.py build

%install
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-, root, root, -)
%{_bindir}/funcd
%{_bindir}/func
%{_bindir}/certmaster
%{_bindir}/certmaster-ca
%{_bindir}/func-inventory
/etc/init.d/funcd
/etc/init.d/certmaster
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/minion-acl.d/
%dir %{_sysconfdir}/pki/%{name}
%dir /etc/func/modules/
%config(noreplace) /etc/func/minion.conf
%config(noreplace) /etc/func/certmaster.conf
%config(noreplace) /etc/logrotate.d/func_rotate
%dir %{python_sitelib}/func
%dir %{python_sitelib}/func/minion
%dir %{python_sitelib}/func/overlord
%dir %{python_sitelib}/func/overlord/cmd_modules
%{python_sitelib}/func/minion/*.py*
%{python_sitelib}/func/overlord/*.py*
%{python_sitelib}/func/overlord/cmd_modules/*.py*
%{python_sitelib}/func/*.py*
%dir %{python_sitelib}/func/minion/modules
%{python_sitelib}/func/minion/modules/*.py*
%dir /var/log/func
%doc AUTHORS README LICENSE
%{_mandir}/man1/func.1.gz
%{_mandir}/man1/func-inventory.1.gz
%{_mandir}/man1/funcd.1.gz
%{_mandir}/man1/certmaster.1.gz
%{_mandir}/man1/certmaster-ca.1.gz


%post
/sbin/chkconfig --add funcd
/sbin/chkconfig --add certmaster
exit 0

%preun
if [ "$1" = 0 ] ; then
  /sbin/service funcd stop > /dev/null 2>&1
  /sbin/chkconfig --del funcd
fi


%changelog
* Fri Oct 26 2007 Michael DeHaan <mdehaan at redhat.com> - 0.0.13-3
- Misc fixes per Fedora package-review

* Wed Oct 24 2007 Michael DeHaan <mdehaan at redhat.com> - 0.0.13-2
- packaged func-inventory and associated manpage
- release bump for Fedora submission

* Thu Oct 18 2007 Seth Vidal <skvidal at fedoraproject.org> - 0.0.12-1
- change out minion-acl.conf for minion-acl.d

* Mon Oct 8 2007 Adrian Likins <alikins at redhat.com> - 0.0.12-1
- add cmd_modules

* Fri Sep 28 2007 Adrian Likins <alikins at redhat.com> - 0.0.12-1
- remove rhpl deps

* Fri Sep 28 2007 Michael DeHaan <mdehaan at redhat.com> - 0.0.12-1
- bump version and get ready for first public release
- add BuildRequires python-devel
- add logrotate config

* Thu Sep 27 2007 Jesus Rodriguez <jesusr at redhat.com> - 0.0.11-7
- removed unnecessary yum-utils Require

* Wed Sep 26 2007 Jesus Rodriguez <jesusr at redhat.com> - 0.0.11-5
- fixed Requires to include pyOpenSSL for use by certmaster

* Tue Sep 25 2007 Michael DeHaan <mdehaan at redhat.com> - 0.0.11-4
- Added manpage documentation 
- Renamed minion config file

* Tue Sep 25 2007 Robin Norwood <rnorwood at redhat.com> - 0.0.11-3
- Change server -> minion and client -> overlord

* Thu Sep 20 2007 James Bowes <jbowes at redhat.com> - 0.0.11-2
- Clean up some speclint warnings

* Thu Sep 20 2007 Adrian Likins <alikins at redhat.com> - 0.0.11-1
- initial release (this one goes to .11)



--- NEW FILE version ---
0.13 3




More information about the fedora-extras-commits mailing list