You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

196 lines
7.0 KiB

%define version 0.2.37
%define release 1
%define name ipasserelle-gp
Summary: Gestion de Parc iPasserelle
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
License: GPL
Group: Networking/Daemons
Source: %{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
BuildArchitectures: noarch
BuildRequires: e-smith-devtools
Requires: ipasserelle-base
Requires: smeserver-fusioninventory-agent
Obsoletes: smeserver-loginscript
Provides: smeserver-loginscript
%description
Ce paquet permet de gérer un parc de machines sous MS Windows
Basé sur WPKG et d'autres outils
%changelog
* Tue Mar 24 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.37-1
- Add xmind in the sample workstation profile
* Fri Dec 19 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.36-1
- Also exclude ImapMail_old from thunderbird profile's backup
* Wed Jul 16 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.35-1
- Fix a typo in bootstrap-console-save event name
* Tue Feb 25 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.34-1
- Configure Thunderbird to add signature on reply and forward
* Thu Feb 6 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.33-1
- Configure Thunderbird to reply on top by default
- Remove some hardcoded defaultPref, use the global type instead
* Fri Jan 10 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.32-1
- Add a few packages (disabled) in the workstation profile
* Thu Apr 4 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.31-1
- Revert previous change as it prevents XMPP accounts to work properly
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.30-1
- Use UTF-8 for Thunderbird conf
* Wed Feb 20 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.29-1
- Add userprofile package in workstation profile
* Wed Dec 19 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.28-1
- Add HOSTNAME constant in mcd config
- Don't disable popup blocker
* Tue Nov 20 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.27-1
- Exclude ImapMail.old and Mail from Thunderbird profile backups
* Sat Nov 10 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.26-1
- Fix missing GOTO in mozBackup script
* Fri Nov 9 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.25-1
- Use GOTO :EOF instead of exit in mozBackup
* Thu Oct 18 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.24-1
- Let other package add variables
* Thu Sep 27 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.23-1
- Fix default imap folders
- Add a session script to backup Thunderbird and Firefox profiles
- Add freemap in workstation profile (commented)
- Add kompozer in graphiste profile
* Mon Sep 24 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.22-1
- Don't generate accounts config if we receive a email address which
is not an uid
- Support a whitelist of groups
* Fri Sep 21 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.21-1
- Revert lookup with an email address
* Fri Sep 21 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.20-1
- Fix uid if a email address is passed
* Thu Sep 20 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.19-1
- Fix mail.content_disposition_type pref
* Thu Sep 20 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.18-1
- Don't force defaultPref for some settings (use the default, either defaultPref or lockPref)
- Lookup in LDAP using the mail address if the uid doesn't return any result
* Wed Sep 12 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.17-1
- Fix home page URL for Firefox
* Wed Sep 12 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.16-1
- Include Firefox conf fragments
* Sat Sep 8 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.15-1
- Don't enforce Firefox or Thunderbird config for members of
specified groups
- Get the home URL from LDAP if it's set
- Make defaultPref for home URL works
* Fri Sep 7 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.14-1
- small improvments in Thunderbird auto config
* Thu Sep 6 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.13-1
- Update workstation profile
* Wed Aug 29 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.12-1
- Add ZBX_SERVER_IP in the variable profile
* Fri Aug 24 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.11-1
- Create wpkg and wpkglogs shares as hidden and non removable
* Thu Aug 23 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.10-1
- Add settings in the default profile
* Thu Jul 26 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.9-1
- Fix Thunderbird conf generator
* Fri Jul 20 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.8-1
- Add basic firefox autoconf support
* Wed Jul 18 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.7-1
- Use full path for the mail signature (using javascript and env var)
- Cleanups comments in mozilla-mcd script
* Mon Jul 16 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.6-1
- Fix logon drive mapping
* Mon Jul 16 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.5-1
- Add sketchup in graphiste profile
- Fix SERVER1 exemple in hosts.xml
* Thu Jul 12 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.4-1
- Add a session script to set username in Office
* Mon Jul 9 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.3-1
- Add a "server" profile
* Fri Jul 6 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.2-1
- Add JCE in workstation profile
* Wed Jul 4 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.1-1
- Add ultradefrag in default profile
* Mon Jul 2 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.0-1
- Provide a session script framework
- Include a panel to manage custom session script
- Provides scripts to autoconfigure Thunderbird
* Wed Jun 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1
- Make standard profiles depends on workstation instead of default
* Mon Jun 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-1.sme
- restructure profiles
* Mon Jun 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1.sme
- initial release
%prep
%setup -q -n %{name}-%{version}
%build
%{__mkdir_p} root/home/e-smith/files/shares/wpkg/files/profiles/
%{__mkdir_p} root/home/e-smith/files/shares/tools/files/scripts/users
perl createlinks
%install
/bin/rm -rf $RPM_BUILD_ROOT
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
/bin/rm -f %{name}-%{version}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--file /home/e-smith/files/shares/wpkg/files/profiles.xml 'attr(0770,root,admin) %config(noreplace)' \
--file /home/e-smith/files/shares/wpkg/files/hosts.xml 'attr(0770,root,admin) %config(noreplace)' \
--file /home/e-smith/files/shares/wpkg/files/packages.xml 'attr(0770,root,admin) %config(noreplace)' \
> %{name}-%{version}-filelist
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%clean
rm -rf $RPM_BUILD_ROOT
%post
%preun