Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70eb9f9034 | ||
|
|
9bbd769934 | ||
| ddb9a830a7 | |||
| 41787b0648 | |||
|
|
7e7dcb1009 |
5 changed files with 93 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
zeroinstall-injector-0.24.tar.gz.gpg
|
||||
|
|
@ -1 +0,0 @@
|
|||
obsoleted by 0install
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
d543beb1742374b1d2d983f0d05388fc zeroinstall-injector-0.24.tar.gz.gpg
|
||||
81
zeroinstall-injector.spec
Normal file
81
zeroinstall-injector.spec
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: zeroinstall-injector
|
||||
Version: 0.24
|
||||
Release: 2%{?dist}
|
||||
Summary: The Zero Install Injector (0launch)
|
||||
|
||||
Group: Applications/System
|
||||
License: LGPL
|
||||
URL: http://0install.net
|
||||
Source0: http://osdn.dl.sf.net/sourceforge/zero-install/%{name}-%{version}.tar.gz.gpg
|
||||
Patch0: zeroinstall-x86_64-arch.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python gnupg
|
||||
Requires: PyXML pygtk2 gnupg
|
||||
|
||||
%description
|
||||
A running process is created by combining many different libraries (and other
|
||||
components). In the Zero Install world, we have all versions of each library
|
||||
available at all times. The problem then is how to choose which versions to
|
||||
use.
|
||||
|
||||
The injector solves this problem by selecting components to meet a program's
|
||||
requirements, according to a policy you give it. The injector finds out which
|
||||
versions are available, and downloads and runs the ones you choose.
|
||||
|
||||
%prep
|
||||
gpg --decrypt %{SOURCE0} | gzip -cd - | tar xvf -
|
||||
%setup -q -T -D
|
||||
%patch0 -p1 -b .arch
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install --skip-build --install-data %{_datadir} --root $RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README
|
||||
%{_bindir}/0*
|
||||
%dir %{python_sitelib}/zeroinstall/
|
||||
%dir %{python_sitelib}/zeroinstall/0launch-gui/
|
||||
%dir %{python_sitelib}/zeroinstall/injector/
|
||||
%dir %{python_sitelib}/zeroinstall/zerostore/
|
||||
%{python_sitelib}/zeroinstall/*.py*
|
||||
%{python_sitelib}/zeroinstall/0launch-gui/0launch-gui
|
||||
%{python_sitelib}/zeroinstall/0launch-gui/README
|
||||
%{python_sitelib}/zeroinstall/0launch-gui/ZeroInstall-GUI.xml
|
||||
%{python_sitelib}/zeroinstall/*/*.py*
|
||||
%{_mandir}/man1/0*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 11 2006 Michel Salim <michel.salim@gmail.com> 0.24-2
|
||||
- Allow installation of ix86 binaries on x86_64
|
||||
|
||||
* Sat Nov 4 2006 Michel Salim <michel.salim@gmail.com> 0.24-1
|
||||
- Update to 0.24
|
||||
- Not ghosting .pyos any longer
|
||||
|
||||
* Sun Oct 8 2006 Michel Salim <michel.salim@gmail.com> 0.23-1
|
||||
- Update to 0.23
|
||||
|
||||
* Sun Mar 5 2006 Michel Salim <michel.salim@gmail.com> 0.18-4
|
||||
- Removed left-behind pushd and popd
|
||||
|
||||
* Sat Feb 25 2006 Michel Salim <michel.salim@gmail.com> 0.18-3
|
||||
- Add Python-related requirements, BuildReq on gnupg to decrypt upstream source
|
||||
|
||||
* Sat Feb 18 2006 Michel Salim <michel.salim@gmail.com> 0.18-2
|
||||
- Use _mandir, discard CFLAGS and unused python_sitearch definition
|
||||
|
||||
* Thu Feb 16 2006 Michel Salim <michel.salim@gmail.com> 0.18-1
|
||||
- Initial Fedora Extras release, based on upstream spec contributed by Juan Carlos Jimenez Garcia
|
||||
10
zeroinstall-x86_64-arch.patch
Normal file
10
zeroinstall-x86_64-arch.patch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- zeroinstall-injector-0.24/zeroinstall/injector/arch.py.orig 2006-10-08 08:14:49.000000000 -0400
|
||||
+++ zeroinstall-injector-0.24/zeroinstall/injector/arch.py 2006-11-11 12:30:07.000000000 -0500
|
||||
@@ -42,6 +42,7 @@
|
||||
'i486': ['i386'],
|
||||
'i586': ['i486', 'i386'],
|
||||
'i686': ['i586', 'i486', 'i386'],
|
||||
+ 'x86_64': ['i686', 'i586', 'i486', 'i386'],
|
||||
'ppc64': ['ppc32'],
|
||||
}
|
||||
for supported in _machine_matrix.get(this_machine, []):
|
||||
Loading…
Add table
Add a link
Reference in a new issue