premier commit

tags/wpkg-winscp-5.11.2-0.beta1
Daniel Berteaud 13 years ago
commit e265cd9fc3
  1. 25
      packages/winscp.xml
  2. BIN
      softwares/winscp436setup.exe
  3. 49
      wpkg-winscp.spec

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="winscp"
name="WinSCP"
revision="1"
priority="10"
reboot="false">
<variable name="PKG_VERSION" value="4.3.6" />
<variable name="SETUP_FILE" value="winscp436setup.exe" />
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\WinSCP\" />
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\WinSCP\" />
<check type="uninstall" condition="exists" path="WinSCP %PKG_VERSION%" />
<install cmd="%SOFTWARE%\winscp\%SETUP_FILE% /sp- /silent /nocancel /norestart /nocandy /log" />
<upgrade include="install" />
<downgrade include="install" />
<remove cmd="%INSTALL_PATH%\unins000.exe /silent /log /norestart" />
</package>
</packages>

Binary file not shown.

@ -0,0 +1,49 @@
%define package winscp
%define version 0.1
%define realversion 4.3.6
%define release 0.beta1
Name: wpkg-%{package}
Version: %{version}+%{realversion}
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
* Tue Jun 5 2012 Daniel Berteaud <daniel@firewall-services.com>
- initial release with WinSCP 4.3.6
Loading…
Cancel
Save