diff --git a/.cvsignore b/.cvsignore index e36d120..b2b3b67 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ oddjob-0.27-1.tar.gz +oddjob-0.29-1.tar.gz diff --git a/oddjob.spec b/oddjob.spec index e1a8976..8e9f3a5 100644 --- a/oddjob.spec +++ b/oddjob.spec @@ -1,8 +1,8 @@ %define build_sample 0 Name: oddjob -Version: 0.27 -Release: 10 +Version: 0.29 +Release: 1%{?dist} Source: http://people.redhat.com/nalin/oddjob/oddjob-%{version}-1.tar.gz Summary: A D-BUS service which runs odd jobs on behalf of client applications License: BSD @@ -12,17 +12,25 @@ BuildRequires: dbus-devel >= 0.22, libselinux-devel, libxml2-devel BuildRequires: pam-devel, python-devel, pkgconfig BuildRequires: cyrus-sasl-devel, krb5-devel, openldap-devel BuildRequires: docbook-dtds, xmlto -BuildRequires: python-devel Requires(post): /sbin/service Requires(post): /sbin/chkconfig Requires(pre): /sbin/chkconfig URL: http://people.redhat.com/nalin/oddjob/ -Requires: %{name}-libs = %{version}-%{release} %description oddjob is a D-BUS service which performs particular tasks for clients which connect to it and issue requests using the system-wide message bus. +%package mkhomedir +Group: System Environment/Daemons +Summary: An oddjob helper which creates and populates home directories +Requires: %{name} = %{version}-%{release} + +%description mkhomedir +This package contains the oddjob helper which can be used by the +pam_oddjob_mkhomedir module to create a home directory for a user +at login-time. + %package devel Group: Development/Libraries Summary: Files for developing oddjob clients @@ -43,6 +51,16 @@ Requires: %{name} = %{version}-%{release} This package contains dynamic libraries which are used by simple oddjob client applications. +%package python +Group: System Environment/Libraries +Summary: A Python binding for oddjob clients +Requires: %{name}-libs = %{version}-%{release} + +%description python +This package contains a python module which allows client applications +written in the Python language to issue requests to the oddjobd server +using the message bus. + %package sample Group: System Environment/Daemons Summary: A sample oddjob service. @@ -61,10 +79,11 @@ sample_flag=--enable-sample %endif %configure \ --disable-static \ - --with-selinux-acls=default \ + --with-selinux-acls \ --with-selinux-labels \ --with-python --enable-xml-docs --enable-compat-dtd \ - --libexecdir=%{_libdir} \ + --libexecdir=%{_libexecdir} \ + --disable-dependency-tracking \ $sample_flag make %{_smp_mflags} @@ -94,7 +113,7 @@ install -m755 sample/oddjob-sample.sh sample-install-root/sample/%{_libdir}/% %files %defattr(-,root,root) -%doc *.dtd COPYING QUICKSTART python/sample.py doc/oddjob.html +%doc *.dtd COPYING QUICKSTART python/sample.py doc/oddjob.html src/reload %if ! %{build_sample} %doc sample-install-root/sample %endif @@ -104,19 +123,30 @@ install -m755 sample/oddjob-sample.sh sample-install-root/sample/%{_libdir}/% %config(noreplace) %{_sysconfdir}/dbus-*/system.d/oddjob.conf %config(noreplace) %{_sysconfdir}/oddjobd.conf %dir %{_sysconfdir}/oddjobd.conf.d -%config %{_sysconfdir}/oddjobd.conf.d/oddjobd-introspection.conf +%config(noreplace) %{_sysconfdir}/oddjobd.conf.d/oddjobd-introspection.conf %dir %{_sysconfdir}/%{name} %dir %{_libdir}/%{name} -%{_libdir}/%{name}/mkhomedir -%{_libdir}/%{name}/sanity.sh +%dir %{_libexecdir}/%{name} +%{_libexecdir}/%{name}/sanity.sh %{_mandir}/*/oddjob*.* +%files mkhomedir +%defattr(-,root,root) +%doc src/mkhomedirfor src/mkmyhomedir +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/mkhomedir +/%{_lib}/security/pam_oddjob_mkhomedir.so +%{_mandir}/*/pam_oddjob_mkhomedir.* +%config(noreplace) %{_sysconfdir}/dbus-*/system.d/oddjob-mkhomedir.conf +%config(noreplace) %{_sysconfdir}/oddjobd.conf.d/oddjobd-mkhomedir.conf + %files libs %defattr(-,root,root) %{_libdir}/liboddjob.so.* + +%files python +%defattr(-,root,root) %{_libdir}/python*/site-packages/* -/%{_lib}/security/*.so -%{_mandir}/*/pam_*.* %files devel %defattr(-,root,root) @@ -145,15 +175,19 @@ fi %postun libs -p /sbin/ldconfig %changelog -* Tue Feb 13 2007 Nalin Dahyabhai 0.27-10 -- make -devel depend on -libs, which supplies the libraries to which it - symlinks (#228377) +* Wed Sep 5 2007 Nalin Dahyabhai 0.29-1 +- split off mkhomedir bits into a subpackage (#236820) +- take a pass at new-init-ifying the init script (#247005) -* Sun Dec 10 2006 Nalin Dahyabhai 0.27-9 -- add BuildRequires: on python-devel +* Thu Aug 16 2007 Nalin Dahyabhai +- move helpers to libexecdir, keeping pkglibdir around in the package (#237207) -* Thu Sep 7 2006 Nalin Dahyabhai 0.27-8 -- rebuild +* Mon Apr 9 2007 Nalin Dahyabhai 0.28-1 +- split off python subpackage, make -devel depend on -libs, let autodeps + provide the main package's dependency on -libs (#228377) + +* Thu Feb 15 2007 Nalin Dahyabhai 0.27-8 +- configure with --disable-dependency-tracking (Ville Skyttä, #228928) * Thu Jul 25 2006 Nalin Dahyabhai 0.27-7 - unmark the init script as a %%config file (part of #197182) @@ -224,7 +258,7 @@ fi - update to 0.25: - add introspection for parents of objects specified in the configuration - oddjobd can reload its configuration now - - add -u (umask) and -s (skeldir) flags to the mkhomedir helper + - add -u (umask) and -s (skeldir) flags to the mkhomedir helper (#246681) * Tue Feb 28 2006 Nalin Dahyabhai 0.24-1 - update to 0.24, fixing some build errors against D-BUS 0.30-0.33 diff --git a/sources b/sources index 0f16201..285cc9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22af2ce420a85b0526b6af7fc12e0e26 oddjob-0.27-1.tar.gz +51aac71afb06315afd6d6434cf5aa3cc oddjob-0.29-1.tar.gz