summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-12-27 22:12:56 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-12-27 22:12:56 +0000
commite0ddad1c9fd59c52db3ad69177bb69eaaaf42999 (patch)
treec886ceae52075050d2113346564edf72d423e1d9 /misc
parentb926d78bcd2c5d566e5e10f323d782fc516b9842 (diff)
downloadbcfg2-e0ddad1c9fd59c52db3ad69177bb69eaaaf42999.tar.gz
bcfg2-e0ddad1c9fd59c52db3ad69177bb69eaaaf42999.tar.bz2
bcfg2-e0ddad1c9fd59c52db3ad69177bb69eaaaf42999.zip
Version bump to 0.8.7.3 (for fedora extras inclusion)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2612 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'misc')
-rw-r--r--misc/bcfg2.spec112
1 files changed, 87 insertions, 25 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index baabae93d..fdf8dc4f9 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -1,25 +1,49 @@
-%define name bcfg2
-%define version 0.8.7.2
-%define release 1
+%define release 0.1
%define __python python
%define pythonversion 2.3
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-Summary: Bcfg2 Client
-Name: %{name}
-Version: %{version}
+Name: bcfg2
+Version: 0.8.7.3
Release: %{release}
-Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/%{name}-%{version}.tar.gz
-License: BSD-like
-Group: System Tools
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-Prefix: %{_prefix}
-BuildArchitectures: noarch
-Vendor: Narayan Desai <desai@mcs.anl.gov>
-PreReq: lsb >= 3.0
-Requires: lxml >= 0.9, python
+Summary: Configuration management system
+
+Group: Applications/System
+License: BSD
+URL: http://trac.mcs.anl.gov/projects/bcfg2
+Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+
+BuildRequires: python-devel
+Requires: python-lxml
%description
-Bcfg2 is a configuration management tool.
+Bcfg2 helps system administrators produce a consistent, reproducible,
+and verifiable description of their environment, and offers
+visualization and reporting tools to aid in day-to-day administrative
+tasks. It is the fifth generation of configuration management tools
+developed in the Mathematics and Computer Science Division of Argonne
+National Laboratory.
+
+It is based on an operational model in which the specification can be
+used to validate and optionally change the state of clients, but in a
+feature unique to bcfg2 the client's response to the specification can
+also be used to assess the completeness of the specification. Using
+this feature, bcfg2 provides an objective measure of how good a job an
+administrator has done in specifying the configuration of client
+systems. Bcfg2 is therefore built to help administrators construct an
+accurate, comprehensive specification.
+
+Bcfg2 has been designed from the ground up to support gentle
+reconciliation between the specification and current client states. It
+is designed to gracefully cope with manual system modifications.
+
+Finally, due to the rapid pace of updates on modern networks, client
+systems are constantly changing; if required in your environment,
+Bcfg2 can enable the construction of complex change management and
+deployment strategies.
%package -n bcfg2-server
Version: %{version}
@@ -60,15 +84,6 @@ Bcfg2 client
%clean
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} || exit 2
-%files -n bcfg2-server
-%defattr(-,root,root)
-/usr/sbin/bcfg2-*
-/usr/lib*/python%{pythonversion}/site-packages/Bcfg2/Server/*
-/usr/share/bcfg2/schemas/*
-/usr/share/bcfg2/xsl-transforms/*
-/usr/share/man/man8/*
-/etc/init.d/bcfg2-server
-
%files -n bcfg2
%defattr(-,root,root)
/usr/sbin/bcfg2
@@ -85,7 +100,54 @@ Bcfg2 client
%post -n bcfg2-server
/sbin/chkconfig --add bcfg2-server
+%files -n bcfg2-server
+%defattr(-,root,root,_)
+
+%ghost %attr(600,root,root) %config(noreplace) %{_sysconfdir}/bcfg2.key
+
+%{_initrddir}/bcfg2-server
+
+%{python_sitelib}/Bcfg2/Server
+
+%{_datadir}/bcfg2
+
+%{_sbindir}/bcfg2-admin
+%{_sbindir}/bcfg2-build-reports
+%{_sbindir}/bcfg2-info
+%{_sbindir}/bcfg2-ping-sweep
+%{_sbindir}/bcfg2-query
+%{_sbindir}/bcfg2-repo-validate
+%{_sbindir}/bcfg2-server
+
+%{_mandir}/man8/bcfg2-build-reports.8*
+%{_mandir}/man8/bcfg2-info.8*
+%{_mandir}/man8/bcfg2-repo-validate.8*
+%{_mandir}/man8/bcfg2-server.8*
+
+%dir %{_var}/lib/bcfg2
+
%changelog
+* Fri Dec 22 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-5
+- Server needs client library files too so put them in main package
+
+* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-4
+- Yes, actually we need to require openssl
+
+* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-3
+- Don't generate SSL cert in post script, it only needs to be done on
+ the server and is handled by the bcfg2-admin tool.
+- Move the /etc/bcfg2.key file to the server package
+- Don't install a sample copy of the config file, just ghost it
+- Require gamin-python for the server package
+- Don't require openssl
+- Make the client a separate package so you don't have to have the
+ client if you don't want it
+
+* Wed Dec 20 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-2
+- Add more documentation
+
+* Mon Dec 18 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.8.7.1-1
+- First version for Fedora Extras
* Fri Sep 15 2006 Narayan Desai <desai@mcs.anl.gov> - 0.8.4-1
- Initial log