]>
Commit | Line | Data |
---|---|---|
755b8b01 | 1 | # $Revision: 1.2 $Date: 2001-04-17 12:04:43 $ |
beda82f1 JK |
2 | %include /usr/lib/rpm/macros.perl |
3 | Summary: LDAP Migration Tools | |
4 | Name: ldap-MigrationTools | |
5 | Version: 24 | |
755b8b01 | 6 | Release: 2 |
beda82f1 JK |
7 | License: Custom |
8 | Group: Base | |
9 | Group(pl): Podstawowe | |
10 | Source0: http://www.padl.com/download/MigrationTools.tgz | |
11 | Source1: http://www.padl.com/download/MigrationTools.txt | |
12 | URL: http://www.padl.com/tools.html | |
13 | BuildRequires: rpm-perlprov | |
14 | Requires: openldap | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | The MigrationTools are a set of Perl scripts for migrating users, groups, | |
19 | aliases, hosts, netgroups, networks, protocols, RPCs, and services from | |
20 | existing nameservices (flat files, NIS, and NetInfo) to LDAP. | |
21 | ||
22 | %prep | |
23 | %setup -qn MigrationTools-%{version} | |
24 | install %{SOURCE1} . | |
25 | ||
26 | %build | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | install -d $RPM_BUILD_ROOT/%{_datadir}/MigrationTools | |
32 | install *.sh *.pl *.ph $RPM_BUILD_ROOT/%{_datadir}/MigrationTools | |
33 | ||
34 | gzip -9nf MigrationTools.txt README | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc *.gz | |
42 | %dir %{_datadir}/MigrationTools | |
43 | %attr(755,root,root) %{_datadir}/MigrationTools/*.sh | |
44 | %attr(755,root,root) %{_datadir}/MigrationTools/*.pl | |
45 | %{_datadir}/MigrationTools/*.ph |