%define package 7zip Name: wpkg-%{package} Version: 18.01 Release: 1%{?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/* unix2dos softwares/reg.bat %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) /home/e-smith/files/shares/wpkg/files/ %changelog * Wed Jan 3 2018 Daniel Berteaud - 18.01-1 - Update to 18.01 * Wed Jun 7 2017 Daniel Berteaud - 16.04-2 - Fix version to check in package definition * Wed Oct 19 2016 Daniel Berteaud - 16.04-1 - Update to 16.04 * Mon Oct 3 2016 Daniel Berteaud - 16.03-1 - Update to 16.03 * Mon May 23 2016 Daniel Berteaud - 16.02-1 - Update to 16.02 * Wed May 11 2016 Daniel Berteaud - 16.00-1 - Update to 16.00 * Wed Jan 13 2016 Daniel Berteaud - 15.14-1 - Update to 15.14 * Mon Nov 23 2015 Daniel Berteaud - 15.12 - Update to 15.12 * Thu Sep 6 2012 Daniel Berteaud - 9.20-2 - Add an small unzip.bat script * Thu Jun 7 2012 Daniel Berteaud - 9.20-1 - Change version scheme * Thu May 31 2012 Daniel Berteaud - initial release with 7zip 9.20