rpms/zeroinstall-injector/devel .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 zeroinstall-injector.spec, 1.5, 1.6
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Thu Sep 6 00:04:52 UTC 2007
- Previous message (by thread): rpms/zeroinstall-injector/F-7 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 zeroinstall-injector.spec, 1.5, 1.6
- Next message (by thread): rpms/GeoIP/EL-4 .cvsignore, 1.9, 1.10 GeoIP.spec, 1.11, 1.12 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: salimma
Update of /cvs/pkgs/rpms/zeroinstall-injector/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16578/devel
Modified Files:
.cvsignore sources zeroinstall-injector.spec
Log Message:
Update to 0.30
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/zeroinstall-injector/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 5 Nov 2006 00:00:33 -0000 1.3
+++ .cvsignore 6 Sep 2007 00:04:19 -0000 1.4
@@ -1 +1 @@
-zeroinstall-injector-0.24.tar.gz.gpg
+zeroinstall-injector-0.30.tar.gz.gpg
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/zeroinstall-injector/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 5 Nov 2006 00:00:33 -0000 1.3
+++ sources 6 Sep 2007 00:04:19 -0000 1.4
@@ -1 +1 @@
-d543beb1742374b1d2d983f0d05388fc zeroinstall-injector-0.24.tar.gz.gpg
+c539dc6ffa39f18700220f5565d8eac3 zeroinstall-injector-0.30.tar.gz.gpg
Index: zeroinstall-injector.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zeroinstall-injector/devel/zeroinstall-injector.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- zeroinstall-injector.spec 19 Dec 2006 03:56:40 -0000 1.5
+++ zeroinstall-injector.spec 6 Sep 2007 00:04:19 -0000 1.6
@@ -1,30 +1,41 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%define cache_dir /var/cache/0install.net
+
Name: zeroinstall-injector
-Version: 0.24
-Release: 3%{?dist}
+Version: 0.30
+Release: 1%{?dist}
Summary: The Zero Install Injector (0launch)
Group: Applications/System
-License: LGPL
+License: LGPLv2.1
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-devel gnupg
-Requires: PyXML pygtk2 gnupg
+BuildRequires: python-devel gnupg desktop-file-utils
+Requires: PyXML pygtk2 gnupg pygtk2-libglade sudo
+Requires: /usr/sbin/useradd
%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.
+The Zero Install Injector makes it easy for users to install software without
+needing root privileges. It takes the URL of a program and runs it
+(downloading it first if necessary). Any dependencies of the program are
+fetched in the same way. The user controls which version of the program and
+its dependencies to use.
+
+Zero Install is a decentralised installation system (there is no central
+repository; all packages are identified by URLs), loosly-coupled (if different
+programs require different versions of a library then both versions are
+installed in parallel, without conflicts), and has an emphasis on security
+(all package descriptions are GPG-signed, and contain cryptographic hashes of
+the contents of each version). Each version of each program is stored in its
+own sub-directory within the Zero Install cache (nothing is installed to
+directories outside of the cache, such as /usr/bin) and no code from the
+package is run during install or uninstall. The system can automatically check
+for updates when software is run.
%prep
gpg --decrypt %{SOURCE0} | gzip -cd - | tar xvf -
@@ -36,15 +47,30 @@
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install --skip-build --install-data %{_datadir} --root $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+mv "$RPM_BUILD_ROOT/usr/man" "$RPM_BUILD_ROOT/%{_datadir}/man"
+mkdir -p "$RPM_BUILD_ROOT%{cache_dir}/implementations"
+
+desktop-file-install --vendor="fedora" \
+ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
+ $RPM_BUILD_ROOT%{_datadir}/applications/zeroinstall-zero2desktop.desktop
%clean
rm -rf $RPM_BUILD_ROOT
+%pre
+# Add the "zeroinst" user.
+# This is not used by default, but is required if you want to
+# set up sharing of downloads later.
+/usr/sbin/useradd -c 'Zero Install shared cache' \
+ -s /sbin/nologin -r -d '/' zeroinst 2> /dev/null || :
+
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/0*
+%{_datadir}/applications/zeroinstall-zero2desktop.desktop
+%{_datadir}/pixmaps/zeroinstall-zero2desktop.png
%dir %{python_sitelib}/zeroinstall/
%dir %{python_sitelib}/zeroinstall/0launch-gui/
%dir %{python_sitelib}/zeroinstall/injector/
@@ -53,11 +79,20 @@
%{python_sitelib}/zeroinstall/0launch-gui/0launch-gui
%{python_sitelib}/zeroinstall/0launch-gui/README
%{python_sitelib}/zeroinstall/0launch-gui/ZeroInstall-GUI.xml
+%{python_sitelib}/zeroinstall/0launch-gui/zero-install.glade
%{python_sitelib}/zeroinstall/*/*.py*
%{_mandir}/man1/0*
-
+%dir %{cache_dir}
+%attr(755,zeroinst,zeroinst) %{cache_dir}/implementations
%changelog
+* Wed Sep 5 2007 Michel Salim <michel.sylvan at gmail.com> 0.30-1
+- Update to 0.30
+- License is now versioned
+- Incorporate changes from Thomas Leonard:
+ * create zeroinst user
+ * create shared cache
+
* Mon Dec 18 2006 Michel Salim <michel.salim at gmail.com> 0.24-3
- Rebuild for development branch
- Previous message (by thread): rpms/zeroinstall-injector/F-7 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 zeroinstall-injector.spec, 1.5, 1.6
- Next message (by thread): rpms/GeoIP/EL-4 .cvsignore, 1.9, 1.10 GeoIP.spec, 1.11, 1.12 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list