7-Zip WPKG Package for iPasserelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.7 KiB

%define package 7zip
%define version 16.02
%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/*
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)
%doc CHANGELOG.git
/home/e-smith/files/shares/wpkg/files/
%changelog
* Mon May 23 2016 Daniel Berteaud <daniel@firewall-services.com> - 16.02-1
- Update to 16.02
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 16.00-1
- Update to 16.00
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> - 15.14-1
- Update to 15.14
* Mon Nov 23 2015 Daniel Berteaud <daniel@firewall-services.com> - 15.12
- Update to 15.12
* Thu Sep 6 2012 Daniel Berteaud <daniel@firewall-services.com> - 9.20-2
- Add an small unzip.bat script
* Thu Jun 7 2012 Daniel Berteaud <daniel@firewall-services.com> - 9.20-1
- Change version scheme
* Thu May 31 2012 Daniel Berteaud <daniel@firewall-services.com>
- initial release with 7zip 9.20