commit
eebf90f42f
4 changed files with 82 additions and 0 deletions
@ -0,0 +1,28 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<packages> |
||||
<package |
||||
id="xmind" |
||||
name="Logiciel de mind mapping Xmind" |
||||
reboot="false" |
||||
revision="1" |
||||
priority="10"> |
||||
|
||||
<depends package-id="jre" /> |
||||
|
||||
<variable name="PKG_VERSION" value="3.5.1" /> |
||||
<variable name="BUILD" value="201411201906" /> |
||||
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\Xmind" /> |
||||
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\Xmind" /> |
||||
|
||||
<check type="uninstall" condition="versionequalto" path="XMind 6 (v%PKG_VERSION%)" value="%PKG_VERSION%.%BUILD%" /> |
||||
|
||||
<install cmd='"%SOFTWARE%\xmind\xmind-windows-%PKG_VERSION%.%BUILD%.exe" /SP- /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /CLOSEAPPLICATIONS /LOADINF="%SOFTWARE%\xmind\xmind.inf"' /> |
||||
<install cmd='%COMSPEC% /C del /f "%INSTALL_PATH%\thirdparty\bonjour*.msi"' /> |
||||
|
||||
<upgrade include="install" /> |
||||
|
||||
<downgrade include="install" /> |
||||
|
||||
<remove cmd="%INSTALL_PATH%\unins000.exe /SILENT" /> |
||||
</package> |
||||
</packages> |
Binary file not shown.
@ -0,0 +1,5 @@ |
||||
[Setup] |
||||
Lang=default |
||||
Group=XMind |
||||
NoIcons=0 |
||||
Tasks=associate,associate\mindmanager |
@ -0,0 +1,49 @@ |
||||
%define package xmind |
||||
%define version 3.5.1 |
||||
%define release 1 |
||||
|
||||
Name: wpkg-%{package} |
||||
Version: %{version} |
||||
Release: %{release}%{?dist} |
||||
Summary: %{package} for WPKG on iPasserelle |
||||
|
||||
Group: System/Softwares |
||||
URL: http://www.ipasserelle.com |
||||
Source0: %{name}-%{version}.tar.gz |
||||
License: misc |
||||
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
||||
BuildArch: noarch |
||||
BuildRequires: unix2dos |
||||
|
||||
Requires: ipasserelle-gp |
||||
Requires: wpkg-jre |
||||
|
||||
%description |
||||
%{package} for WPKG on iPasserelle |
||||
|
||||
%prep |
||||
%setup -q -n %{name}-%{version} |
||||
|
||||
%build |
||||
unix2dos packages/* |
||||
|
||||
%install |
||||
/bin/rm -rf %{buildroot} |
||||
mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages |
||||
mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package} |
||||
cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package}/ |
||||
cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ |
||||
|
||||
%files |
||||
%defattr(-,root,root) |
||||
%doc CHANGELOG.git |
||||
/home/e-smith/files/shares/wpkg/files/ |
||||
|
||||
%clean |
||||
/bin/rm -rf %{buildroot} |
||||
|
||||
%changelog |
||||
* Tue Mar 24 2015 Daniel Berteaud <daniel@firewall-services.com> - 3.5.1-1 |
||||
- initial release with Xmind 3.5.1 |
||||
|
Loading…
Reference in new issue