%define package putty %define version 0.68 %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 %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/ %clean /bin/rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGELOG.git /home/e-smith/files/shares/wpkg/files/ %changelog * Tue Mar 21 2017 Daniel Berteaud 0.68-1 - Update to 0.68 - Switch to MSI based installer * Thu Mar 17 2016 Daniel Berteaud 0.67-2 - Update test condition * Wed Mar 16 2016 Daniel Berteaud 0.67-1 - Update to 0.67 * Thu Jun 7 2012 Daniel Berteaud 0.62 - change version scheme * Tue Jun 5 2012 Daniel Berteaud - initial release with Putty 0.62