commit 52e7a25431aef572e3d9dd721491e9a288d21849 Author: Daniel Berteaud Date: Sun Jun 3 20:34:24 2012 +0200 premier commit diff --git a/packages/7zip.xml b/packages/7zip.xml new file mode 100755 index 0000000..69399d9 --- /dev/null +++ b/packages/7zip.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/softwares/7z920-x64.msi b/softwares/7z920-x64.msi new file mode 100644 index 0000000..a14fc5e Binary files /dev/null and b/softwares/7z920-x64.msi differ diff --git a/softwares/7z920.msi b/softwares/7z920.msi new file mode 100644 index 0000000..d178b45 Binary files /dev/null and b/softwares/7z920.msi differ diff --git a/softwares/reg.bat b/softwares/reg.bat new file mode 100755 index 0000000..592d0c4 --- /dev/null +++ b/softwares/reg.bat @@ -0,0 +1,15 @@ +@echo off + +SET SC=HKLM\Software\Classes +SET Extn=001-9 7z-0 arj-4 bz2-2 bzip2-2 cab-7 cpio-7 deb-11 dmg-17 gz-14 fat-21 gz-14 gzip-14 hfs-18 iso-8 lha-6 lzh-6 lzma-16 ntfs-22 rar-3 rpm-10 split-9 squashfs-24 swm-15 tar-13 taz-5 tbz-2 tbz2-2 tgz-14 tpz-14 txz-23 vhd-20 wim-15 xar-19 xz-23 z-5 zip-1001-9 7z-0 arj-4 bz2-2 bzip2-2 cab-7 cpio-7 deb-11 dmg-17 gz-14 fat-21 gz-14 gzip-14 hfs-18 iso-8 lha-6 lzh-6 lzma-16 ntfs-22 rar-3 rpm-10 split-9 squashfs-24 swm-15 tar-13 taz-5 tbz-2 tbz2-2 tgz-14 tpz-14 txz-23 vhd-20 wim-15 xar-19 xz-23 z-5 zip-1 + +FOR %%j IN (%Extn%) DO ( + FOR /F "tokens=1,2 delims=-" %%A IN ("%%j") DO ( + REG ADD %SC%\.%%A /VE /D "7-Zip.%%A" /F + REG ADD %SC%\7-Zip.%%A /VE /D "%%A Archive" /F + REG ADD %SC%\7-Zip.%%A\DefaultIcon /VE /D "%PROGRAMFILES%\7-Zip\7z.dll,%%B" /F + REG ADD %SC%\7-Zip.%%A\shell\open\command /VE /D "\"%PROGRAMFILES%\7-Zip\7zFM.exe\" \"%%1\"" /F + ) +) + +exit diff --git a/wpkg-7zip.spec b/wpkg-7zip.spec new file mode 100644 index 0000000..10fa21d --- /dev/null +++ b/wpkg-7zip.spec @@ -0,0 +1,50 @@ +%define package 7zip +%define version 0.1 +%define realversion 9.20 +%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: dos2unix + +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/ + +%files +%defattr(-,root,root) +%doc CHANGELOG.git +/home/e-smith/files/shares/wpkg/files/ + +%clean +/bin/rm -rf %{buildroot} + +%changelog +* Thu May 31 2012 Daniel Berteaud +- initial release with 7zip 9.20 +