78 lines
2.7 KiB
RPMSpec
78 lines
2.7 KiB
RPMSpec
Name: smbldap-tools
|
|
Version: 0.9.11
|
|
Release: 1mamba
|
|
Summary: A set of perl scripts designed to manage user and group accounts stored in an LDAP directory
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/fumiyas/smbldap-tools
|
|
Source: https://github.com/fumiyas/smbldap-tools.git/v%{version}/smbldap-tools-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libperl
|
|
BuildRequires: perl-Crypt-SmbHash
|
|
BuildRequires: perl-Encode
|
|
BuildRequires: perl-Net-LDAP
|
|
BuildRequires: perl-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires(post):samba-server
|
|
Requires: samba-winbind
|
|
Requires: openldap-clients
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Smbldap-tools is a set of perl scripts designed to manage user and group accounts stored in an LDAP directory. They can be used both by users and administrators of Linux systems:
|
|
* administrators can perform users and groups management operations, in a way similar to the standard useradd or groupmod commands
|
|
* users can change their LDAP password from the command line and get/change personnal informations
|
|
|
|
%prep
|
|
%setup -q
|
|
build/autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/smbldap-tools
|
|
install -d -m0755 %{buildroot}%{_mandir}/man8
|
|
|
|
cp -a smbldap.conf %{buildroot}%{_sysconfdir}/smbldap-tools/smbldap.conf
|
|
cp -a smbldap_bind.conf %{buildroot}%{_sysconfdir}/smbldap-tools/smbldap_bind.conf
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/smbldap-tools/smbldap.conf
|
|
%attr(600,root,root) %config(noreplace) %{_sysconfdir}/smbldap-tools/smbldap_bind.conf
|
|
%{_sbindir}/smbldap-*
|
|
%{perl_vendorlib}/smbldap_tools.pm
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Sat Feb 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.11-1mamba
|
|
- update to 0.9.11
|
|
|
|
* Fri Jul 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10-1mamba
|
|
- update to 0.9.10
|
|
- smbldap-tools-slapd.conf: added missing indexes
|
|
|
|
* Mon Apr 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-4mamba
|
|
- set scripts/logon.bat as default logon script
|
|
|
|
* Tue Mar 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-3mamba
|
|
- added patch to change minimum UID and GID from 1000 to 10000
|
|
|
|
* Thu Mar 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-2mamba
|
|
- support automatic configuration on first install
|
|
|
|
* Wed Mar 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-1mamba
|
|
- package created by autospec
|
|
smbldap-tools-0.9.6-fix_minUidGid.patch
|