source: dassldapsync/dassldapsync.spec@ 1248

Last change on this file since 1248 was 1223, checked in by joergs, on Nov 21, 2016 at 9:51:10 AM

update package version to 2.0, as syncrepl have been added

File size: 1.8 KB
Line 
1Summary: A script for synchronizing two LDAP trees
2Name: dassldapsync
3Version: 2.0
4Release: 1%{?dist}
5License: Apache
6Group: other
7BuildArch: noarch
8URL: http://trac.dass-it.de/pub/browser/dassldapsync
9
10Source: %{name}_%{version}.tar.gz
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13Requires: python >= 2.6
14Requires: python-ldap
15
16%description
17This script compares two different LDAP subtrees and makes
18the according changes on objects in the destination subtree.
19Missing objects are created, extraneous objects are deleted.
20The two subtrees can reside on two different LDAP servers.
21It is also possible to use an LDIF file as the source subtree.
22
23%prep
24%setup -c
25
26%build
27
28%install
29mkdir -p "%{buildroot}/usr/sbin"
30mkdir -p "%{buildroot}/etc/"
31install -m 644 dassldapsync.conf %{buildroot}/etc/dassldapsync.conf
32install -m 755 dassldapsync.py %{buildroot}/usr/sbin/dassldapsync
33
34%clean
35[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
36
37%files
38%defattr(-,root,root)
39%config(noreplace) /etc/dassldapsync.conf
40/usr/sbin/dassldapsync
41
42%changelog
43* Wed Mar 05 2014 Sebastian Lederer slederer@dass-it.de 1.5
44 - now also works if pwd_max_days is not specified in
45 the configuration file
46* Wed Mar 05 2014 Sebastian Lederer slederer@dass-it.de 1.4
47 - add special hack to lock accounts on the destination
48 if the password on the source side has expired via ppolicy
49 overlay
50* Tue Jan 28 2014 Sebastian Lederer slederer@dass-it.de 1.3
51 - add configuration option to exclude subtree on substring match
52* Tue Jan 28 2014 Sebastian Lederer slederer@dass-it.de 1.2
53 - continue on error when creating objects
54* Tue Jan 28 2014 Sebastian Lederer slederer@dass-it.de 1.1
55 - workaround for buggy LDIF file (duplicate objectClass value)
56* Mon Jan 13 2014 Sebastian Lederer slederer@dass-it.de 1.0
57 - first attempt at an RPM package
Note: See TracBrowser for help on using the repository browser.