Compare commits

...
Sign in to create a new pull request.

35 commits

Author SHA1 Message Date
Michel Alexandre Salim
43b4972eb3 obsoleted by 0install 2018-08-25 09:19:30 -07:00
685341c055
Switch to %py2_install
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:27:23 +02:00
10c82f1be1
Switch to %py2_build
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:25:40 +02:00
fdfe532aa1
%{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:12:06 +02:00
Fedora Release Engineering
bc05855afe - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:49:25 +00:00
Jason Tibbitts
709b9f8a5d Remove needless use of %defattr 2018-07-09 23:14:27 -05:00
Iryna Shcherbina
2a10a1fe0a Update Python 2 dependency declarations to new packaging standards 2018-02-14 17:28:26 +01:00
b83781adaa
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:02:56 +01:00
Fedora Release Engineering
d637048573 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 22:26:42 +00:00
f52b8aa0d3 Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:58:25 +01:00
Fedora Release Engineering
9fbefc4082 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:42:01 +00:00
Fedora Release Engineering
9276d6eacf - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:23:43 +00:00
Fedora Release Engineering
f85dadc199 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 13:15:51 +00:00
Fedora Release Engineering
067d4aff09 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 04:05:27 +00:00
Dennis Gilmore
5c92de0c1b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:45:52 +00:00
Dennis Gilmore
a4e3bf9e10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 13:07:00 -05:00
c9683791e3 Update to 2.3.3 2013-08-14 11:52:04 +07:00
Dennis Gilmore
09c74d66f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 04:49:15 -05:00
f5c97512fd Update to 2.3 2013-07-05 08:38:28 +07:00
e8e0f90aa3 Adjust for desktop file changes 2013-05-07 13:46:14 +07:00
ef44d9bc89 Update to 2.2 2013-05-07 10:07:18 +07:00
cdb020ced7 Update to 2.1 2013-04-05 17:00:35 +07:00
f3af3015e9 Update to 2.0 2013-03-06 15:13:23 +07:00
36865f0049 Fix bash-completion path 2013-02-26 08:52:11 +07:00
17d2a6a849 Update to 1.16 2013-02-25 21:20:38 +07:00
Dennis Gilmore
c87f673839 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 22:19:03 -06:00
f91e6810fa Update to 1.13 2012-11-19 14:20:38 +07:00
6925f1b44d Update to 1.11 2012-09-07 06:24:46 +07:00
Dennis Gilmore
e6759fe76f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 03:13:15 -05:00
3ad50d8d52 Update to 1.9
- Remove redundant %{python_sitelib} declaration
2012-06-29 10:17:06 +07:00
828ba3195d Update to 1.8 2012-05-23 16:43:07 +07:00
5a8d3c0a7c Update to 1.7 2012-04-24 11:10:26 +07:00
260588d8ce Prune dependencies 2012-01-27 13:20:37 +01:00
82974ebc42 Update to 1.5 2012-01-26 18:18:04 +01:00
Dennis Gilmore
4e7cd5b226 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 03:35:39 -06:00
4 changed files with 1 additions and 230 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/zeroinstall-injector-1.2.tar.bz2

1
dead.package Normal file
View file

@ -0,0 +1 @@
obsoleted by 0install

View file

@ -1 +0,0 @@
4f1cb7cb2a86f0b7d01add5991af2640 zeroinstall-injector-1.2.tar.bz2

View file

@ -1,228 +0,0 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global cache_dir /var/cache/0install.net
#global prerel rc1
Name: zeroinstall-injector
Version: 1.2
Release: 1%{?dist}
Summary: The Zero Install Injector (0launch)
Group: Applications/System
License: LGPLv2
URL: http://0install.net
Source0: http://downloads.sourceforge.net/project/zero-install/injector/%{version}/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: python-devel >= 2.6
BuildRequires: desktop-file-utils
BuildRequires: gettext
# for-tests
BuildRequires: PyXML pygtk2 gnupg xdg-utils
BuildRequires: tar gzip bzip2 xz-lzma-compat
BuildRequires: python-coverage
# /for-tests
Requires: PyXML pygtk2 gnupg sudo xdg-utils
Requires: tar gzip bzip2 xz-lzma-compat
# for PackageKit support
Requires: dbus-python
Requires(pre): shadow-utils
# for icons
Requires: hicolor-icon-theme
%description
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 decentralized installation system (there is no
central repository; all packages are identified by URLs),
loosely-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
%setup -q -n %{name}-%{version}
%build
%{__python} setup.py build
%install
rm -rf $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"
for i in add manage; do
desktop-file-install \
%if 0%{!?fedora:1}
--vendor="" \
%endif
--add-category="System" \
--delete-original \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/zeroinstall-$i.desktop
done
%find_lang zero-install
%check
export PYTHONPATH=`pwd`
cd tests
for t in download packagekit; do
mv test${t}.py{,.off}
done
./testall.py
%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.
getent group zeroinst >/dev/null || groupadd -r zeroinst
getent passwd zeroinst >/dev/null || \
useradd -r -g zeroinst -d %{cache_dir} -s /sbin/nologin \
-c "Zero Install shared cache" zeroinst
exit 0
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f zero-install.lang
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/0*
%config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/zeroinstall.menu
%{_datadir}/applications/*.desktop
%{_datadir}/desktop-directories/zeroinstall.directory
%{_datadir}/icons/hicolor/*/apps/zeroinstall.png
%{_datadir}/icons/hicolor/scalable/apps/zeroinstall.svg
%{python_sitelib}/zeroinstall/
%if 0%{!?el5:1}
%{python_sitelib}/*.egg-info
%endif
%{_mandir}/man1/0*
%dir %{cache_dir}
%attr(755,zeroinst,zeroinst) %{cache_dir}/implementations
%changelog
* Mon Jul 25 2011 Michel Salim <salimma@fedoraproject.org> - 1.2-1
- Update to 1.2
* Sat Jul 2 2011 Michel Salim <salimma@fedoraproject.org> - 1.1-2
- Further launcher script clean-up
* Wed Jun 29 2011 Michel Salim <salimma@fedoraproject.org> - 1.1-1
- Update to 1.1
- Remove --versions option, obsoleted in favor of '0alias launcher'
* Wed Jun 22 2011 Michel Salim <salimma@fedoraproject.org> - 1.0-3
- Fix --versions handling of 0alias-generated launchers
* Wed Jun 15 2011 Michel Salim <salimma@fedoraproject.org> - 1.0-2
- Add main category "System" to desktop entries
* Tue Jun 14 2011 Michel Salim <salimma@fedoraproject.org> - 1.0-1
- Update to 1.0
* Tue May 3 2011 Michel Salim <salimma@fedoraproject.org> - 1.0-0.rc1.1
- Update to 1.0rc1
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 0.53-1
- Update to 0.53
* Sun Mar 13 2011 Michel Salim <salimma@fedoraproject.org> - 0.52-1
- Update to 0.52
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.49-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Fri Jul 9 2010 Michel Salim <salimma@fedoraproject.org> - 0.49-2
- Enable tests
* Fri Jul 9 2010 Michel Salim <salimma@fedoraproject.org> - 0.49-1
- Update to 0.49
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Feb 28 2009 Michel Salim <salimma@fedoraproject.org> - 0.38-2
- Workaround for RHEL's desktop-file-utils
- Add missing dependency on xdg-utils
* Fri Feb 27 2009 Michel Salim <salimma@fedoraproject.org> - 0.38-1
- Update to 0.38
- Upgrades now preserve the existing menu, if modified
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.34-2
- Rebuild for Python 2.6
* Sun Aug 3 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.34-1
- Update to 0.34
* Sat Apr 5 2008 Michel Salim <salimma@fedoraproject.org> - 0.32-1
- Update to 0.32
- Package .egg-info file on Fedora >= 9
* Fri Jan 18 2008 Michel Salim <michel.sylvan@gmail.com> - 0.31-1
- Update to 0.31
* Sat Sep 8 2007 Michel Salim <michel.sylvan@gmail.com> 0.30-2
- Update scriptlet that creates zeroinst user
* Wed Sep 5 2007 Michel Salim <michel.sylvan@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@gmail.com> 0.24-3
- Rebuild for development branch
* 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