commit
c4312272f4
3 changed files with 79 additions and 0 deletions
@ -0,0 +1,31 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<packages> |
||||
<package id="gajim" |
||||
name="Client XMPP Gajim" |
||||
revision="1" |
||||
reboot="false" |
||||
priority="10"> |
||||
|
||||
<variable name="PKG_VERSION" value='0.15.4-3' /> |
||||
<variable name="SETUP" value='gajim-%PKG_VERSION%.exe' /> |
||||
|
||||
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\Gajim" /> |
||||
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\Gajim" /> |
||||
|
||||
<check type="uninstall" condition="versiongreaterorequal" path="Gajim" value="%PKG_VERSION%" /> |
||||
|
||||
<install include='remove' /> |
||||
<install cmd='%SOFTWARE%\gajim\%SETUP% /S' /> |
||||
|
||||
<upgrade include='install' /> |
||||
|
||||
<downgrade include="install" /> |
||||
|
||||
<remove cmd="taskkill /F /IM gajim.exe"> |
||||
<exit code="0" /> |
||||
<exit code="128" /> |
||||
</remove> |
||||
<remove cmd='"%INSTALL_PATH%\Uninstall.exe" /S' /> |
||||
</package> |
||||
</packages> |
||||
|
Binary file not shown.
@ -0,0 +1,48 @@ |
||||
%define package gajim |
||||
%define version 0.15.4.3 |
||||
%define release 1.beta0 |
||||
|
||||
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 |
||||
|
||||
%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 |
||||
* Fri Jan 10 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.15.4.3-1 |
||||
- Initial release with Gajim 0.15.4-3 |
||||
|
Loading…
Reference in new issue