|
|
|
%define package 7zip
|
|
|
|
%define version 16.04
|
|
|
|
%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
|
|
|
|
* Wed Oct 19 2016 Daniel Berteaud <daniel@firewall-services.com> - 16.04-1
|
|
|
|
- Update to 16.04
|
|
|
|
|
|
|
|
* Mon Oct 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 16.03-1
|
|
|
|
- Update to 16.03
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|