Commit 291e9955 authored by Swaelens Jonathan's avatar Swaelens Jonathan

Fixes #5035 Package script user-reminder and clean-audit in argonaut-fusiondirectory

parent e39ed63b
......@@ -12,10 +12,10 @@ Source1: %{name}-client.service
Source2: %{name}-server.service
Source3: %{name}-fai-monitor.service
Source4: %{name}-fuse.service
Source5: %{name}-fuse.logrotate
Source6: %{name}.te
Source5: %{name}-fuse.logrotate
Source6: %{name}.te
Patch0: %{name}-fix-ldap-directory.patch
Patch0: %{name}-fix-ldap-directory.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
......@@ -145,6 +145,11 @@ Summary: Grab data from fusioniventory and create a proper ldap schema
%description fusioninventory
Grab data from fusioniventory and create a proper ldap schema
%package fusiondirectory
Summary: Scripts that goes with plugins in Fusiondirectory
%description fusiondirectory
Contains scripts to clean audit from audit plugin and run the user reminder tasks.
%global selinux_policyver %(%{__sed} -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp || echo 0.0.0)
# SELinux policy variants
......@@ -162,6 +167,8 @@ gzip ./%{name}-quota/man/%{name}-quota.1
gzip ./%{name}-fuse/man/%{name}-fuse.1
gzip ./%{name}-fai-monitor/man/%{name}-fai-monitor.1
gzip ./%{name}-fai-server/man/yumgroup2yumi.1
gzip ./%{name}-fusiondirectory/man/%{name}-clean-audit.1
gzip ./%{name}-fusiondirectory/man/%{name}-user-reminder.1
############################
# SELINUX PREP
......@@ -294,6 +301,13 @@ cd ..
# Install argonaut-fusioninventory
cd ./%{name}-fusioninventory
cp ./bin/* %{buildroot}/%{_sbindir}/
cp ./man/%{name}-clean-audit.1.gz %{buildroot}/%{_datadir}/man1/
cp ./man/%{name}-user-reminder.1.gz %{buildroot}/%{_datadir}/man1/
cd ..
# Install argonaut-fusiondirectory
cd ./%{name}-fusiondirectory
cp ./bin/* %{buildroot}/%{_sbindir}/
cd ..
# Copy service file
......@@ -438,6 +452,14 @@ rm -rf %{buildroot}
%doc README AUTHORS Changelog
%{_datadir}/perl5/Argonaut/Libraries/FAI.pm
%files fusiondirectory
%defattr(-,root,root,-)
%doc README AUTHORS Changelog
%{_datadir}/man1/%{name}-clean-audit.1.gz
%{_datadir}/man1/%{name}-user-reminder.1.gz
%{_sbindir}/%{name}-clean-audit
%{_sbindir}/%{name}-user-reminder
############################
# FILES SELINUX
############################
......@@ -456,11 +478,14 @@ rm -rf %{buildroot}
%files fusioninventory
%defattr(-,root,root,0755)
%{_sbindir}/argonaut-generate-fusioninventory-schema
%{_sbindir}/%{name}-generate-fusioninventory-schema
%doc README AUTHORS Changelog
#date + "%a %b %d %Y"
%changelog
* 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
* Sun Mar 20 2016 SWAELENS Jonathan <jonathan@opensides.be> - 0.9.6-1
- New upstream release
......
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