source: dassldapsync/dassldapsync.spec@ 1266

Last change on this file since 1266 was 1258, checked in by joergs, on Apr 22, 2022 at 6:55:40 PM

added missing dependency

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