Commit 17d3b9ba authored by Swaelens Jonathan's avatar Swaelens Jonathan

Fixes #5245 Package argonaut-samba

parent dcc6c14f
......@@ -147,9 +147,16 @@ Grab data from fusioniventory and create a proper ldap schema
%package fusiondirectory
Summary: Scripts that goes with plugins in Fusiondirectory
Requires: %{name}-common, perl-Email-Sender, perl-Email-MIME
%description fusiondirectory
Contains scripts to clean audit from audit plugin and run the user reminder tasks.
%package samba
Summary: Scripts that goes with plugins in Fusiondirectory
Requires: %{name}-common, perl-File-Slurp, perl-Digest-Perl-MD5
%description samba
This is a tool that reads samba share from LDAP and constructs a samba configuration that can be included in the main smb.conf file
%global selinux_policyver %(%{__sed} -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp || echo 0.0.0)
# SELinux policy variants
......@@ -310,6 +317,11 @@ cp ./man/%{name}-clean-audit.1.gz %{buildroot}/%{_datadir}/man1/
cp ./man/%{name}-user-reminder.1.gz %{buildroot}/%{_datadir}/man1/
cd ..
# Install argonaut-samba
cd ./%{name}-samba
cp -a ./Argonaut/ %{buildroot}/%{_datadir}/perl5/
cd ..
# Copy service file
cp %{S:1} %{buildroot}/lib/systemd/system/
cp %{S:2} %{buildroot}/lib/systemd/system/
......@@ -460,6 +472,11 @@ rm -rf %{buildroot}
%{_sbindir}/%{name}-clean-audit
%{_sbindir}/%{name}-user-reminder
%files samba
%defattr(-,root,root,-)
%doc README AUTHORS Changelog
%{_datadir}/perl5/Argonaut/ClientDaemon/Modules/SambaShares.pm
############################
# FILES SELINUX
############################
......@@ -483,6 +500,9 @@ rm -rf %{buildroot}
#date + "%a %b %d %Y"
%changelog
* Mon Nov 14 2016 SWAELENS Jonathan <jonathan@opensides.be> - 0.9.8-1
- Fixes #524 Package argonaut-samba
* Fri Jul 29 2016 SWAELENS Jonathan <jonathan@opensides.be> - 0.9.7-1
- Fixes #5035 Package script user-reminder and clean-audit in argonaut-fusiondirectory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment