1 |
|
# $Id: e-smith-ldap.spec,v 1.12 2009/01/28 04:04:18 charliebrady Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - LDAP module |
Summary: e-smith server and gateway - LDAP module |
4 |
%define name e-smith-ldap |
%define name e-smith-ldap |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 4.13.0 |
%define version 5.2.0 |
7 |
%define release 1 |
%define release 3 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
|
Patch0: %{name}-%{version}.backend |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: e-smith-base |
Requires: e-smith-base |
24 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
28 |
|
- Create bdb log directory. [SME: 3018] |
29 |
|
|
30 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
31 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
32 |
|
[SME: 3018, 2859] |
33 |
|
|
34 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
35 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
36 |
|
|
37 |
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
38 |
- Roll new dev stream. |
- Roll new dev stream. |
39 |
|
|
681 |
|
|
682 |
%prep |
%prep |
683 |
%setup |
%setup |
684 |
|
%patch0 -p1 |
685 |
|
|
686 |
%build |
%build |
687 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
697 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
698 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
699 |
|
|
700 |
|
mkdir -p root/var/log/bdb |
701 |
|
|
702 |
%install |
%install |
703 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
704 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
705 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
706 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
707 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
708 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
709 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
710 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
711 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
712 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
713 |
|
|