Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

32 commits

Author SHA1 Message Date
8336308396 Update to 2.3.3
(cherry picked from commit c9683791e3)
2013-08-15 10:16:58 +07:00
728d9c59f5 Update to 2.3
(cherry picked from commit f5c97512fd)
2013-07-05 09:35:01 +07:00
b6913cd448 Adjust for desktop file changes
(cherry picked from commit e8e0f90aa3)
2013-05-07 16:05:30 +07:00
722cba054a Update to 2.2
(cherry picked from commit ef44d9bc89)
2013-05-07 16:05:25 +07:00
b2a7ca6384 Update to 2.1 2013-04-05 17:34:48 +07:00
ca63333d2e Update to 2.0 2013-03-06 15:34:30 +07:00
a6dfc15154 Fix bash-completion path 2013-03-06 14:54:17 +07:00
6c03c6309f Update to 1.16 2013-03-06 14:54:16 +07:00
560a6cf5d6 Update to 1.13 2012-11-19 17:01:06 +07:00
32aefa0d63 Update to 1.11 2012-09-08 16:47:03 +07:00
c40a0d93e5 Update to 1.9
- Remove redundant %{python_sitelib} declaration
2012-06-29 11:04:02 +07:00
e277580c34 Update to 1.8 2012-05-23 18:30:28 +07:00
17f4901557 Update to 1.7 2012-05-04 15:52:32 +07:00
2c65194cfd Merge branch 'f16' into el6 2012-01-27 13:53:12 +01:00
d4befe92e6 Prune dependencies 2012-01-27 13:22:47 +01:00
5b26f05f7f Update to 1.5 2012-01-26 18:24:54 +01:00
40198cc11b Merge branch 'master' into el6 2011-07-25 20:43:17 +02:00
065a97af91 Merge branch 'el6' of ssh://pkgs.fedoraproject.org/zeroinstall-injector into el6 2011-07-25 17:58:27 +02:00
Michel Alexandre Salim
ae2d1bea81 Merge branch 'master' into el6 2011-07-25 17:57:39 +02:00
Michel Alexandre Salim
97c6b663bb Merge branch 'master' into el6 2011-07-02 23:43:53 +02:00
Michel Alexandre Salim
293bbdf2a9 Merge branch 'master' into el6 2011-06-17 10:27:49 +02:00
Michel Alexandre Salim
328c21fe66 Merge branch 'master' into el6 2011-06-14 12:17:37 +02:00
Michel Alexandre Salim
f8e91ebbd4 Merge branch 'master' into el6 2011-03-22 10:13:17 +01:00
c4fc6f03e6 Merge branch 'master' into el6 2011-03-13 01:36:23 +01:00
4a709ee949 Merge commit '70db78cf25' into el6
Conflicts:
	zeroinstall-injector.spec
2011-03-13 01:36:15 +01:00
Fedora Release Engineering
fa66227e0a dist-git conversion 2010-07-29 16:29:08 +00:00
bb7f65e266 commit EL-5 detection fix to other branches as well; make sure next update
does not clobber it
2010-07-09 15:52:36 +00:00
4c57fc479d - Enable tests 2010-07-09 15:23:04 +00:00
d29d17e3a9 Package Python eggs on all but EL5 2010-07-09 11:06:26 +00:00
54c527c932 - Update to 0.49 2010-07-09 10:32:18 +00:00
b4550228d0 Initialize branch EL-6 for zeroinstall-injector 2010-05-08 02:30:04 +00:00
Bill Nottingham
576ab07096 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:08:51 +00:00
3 changed files with 63 additions and 23 deletions

2
.gitignore vendored
View file

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

View file

@ -1 +1 @@
4f1cb7cb2a86f0b7d01add5991af2640 zeroinstall-injector-1.2.tar.bz2
00d567d9086d0b030ac610df6e4cb237 0install-2.3.3.tar.bz2

View file

@ -1,28 +1,27 @@
%{!?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 upstream_name 0install
#global prerel rc1
Name: zeroinstall-injector
Version: 1.2
Version: 2.3.3
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
Source0: http://downloads.sf.net/project/zero-install/%{upstream_name}/%{version}/%{upstream_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: pygtk2 gnupg xdg-utils
BuildRequires: tar gzip bzip2 xz-lzma-compat
BuildRequires: python-coverage
# /for-tests
Requires: PyXML pygtk2 gnupg sudo xdg-utils
Requires: pygtk2 gnupg sudo xdg-utils
Requires: tar gzip bzip2 xz-lzma-compat
# for PackageKit support
Requires: dbus-python
@ -52,7 +51,7 @@ 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}
%setup -q -n %{upstream_name}-%{version}
%build
%{__python} setup.py build
@ -63,16 +62,9 @@ rm -rf $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
desktop-file-validate \
$RPM_BUILD_ROOT%{_datadir}/applications/0install.desktop
%find_lang zero-install
%check
@ -112,11 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f zero-install.lang
%defattr(-,root,root,-)
%doc COPYING README
%doc COPYING README.md
%{_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/
@ -126,8 +116,58 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/man1/0*
%dir %{cache_dir}
%attr(755,zeroinst,zeroinst) %{cache_dir}/implementations
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/0install
%dir %{_datadir}/fish
%dir %{_datadir}/fish/completions
%{_datadir}/fish/completions/0install.fish
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_0install
%changelog
* Wed Aug 14 2013 Michel Salim <salimma@fedoraproject.org> - 2.3.3-1
- Update to 2.3.3
* Fri Jul 5 2013 Michel Salim <salimma@fedoraproject.org> - 2.3-1
- Update to 2.3
* Mon May 6 2013 Michel Salim <salimma@fedoraproject.org> - 2.2-1
- Update to 2.2
* Fri Apr 5 2013 Michel Salim <salimma@fedoraproject.org> - 2.1-1
- Update to 2.1
* Wed Mar 6 2013 Michel Salim <salimma@fedoraproject.org> - 2.0-1
- Update to 2.0
* Mon Feb 25 2013 Michel Salim <salimma@fedoraproject.org> - 1.16-1
- Update to 1.16
* Mon Nov 19 2012 Michel Salim <salimma@fedoraproject.org> - 1.13-1
- Update to 1.13
* Wed Sep 5 2012 Michel Salim <salimma@fedoraproject.org> - 1.11-1
- Update to 1.11
* Fri Jun 29 2012 Michel Salim <salimma@fedoraproject.org> - 1.9-1
- Update to 1.9
- Remove redundant %%{python_sitelib} declaration
* Wed May 23 2012 Michel Salim <salimma@fedoraproject.org> - 1.8-1
- Update to 1.8
* Tue Apr 24 2012 Michel Salim <salimma@fedoraproject.org> - 1.7-1
- Update to 1.7
* Thu Jan 26 2012 Michel Salim <salimma@fedoraproject.org> - 1.5-2
- Prune dependencies
* Thu Jan 26 2012 Michel Salim <salimma@fedoraproject.org> - 1.5-1
- Update to 1.5
* Mon Jul 25 2011 Michel Salim <salimma@fedoraproject.org> - 1.2-1
- Update to 1.2
@ -220,7 +260,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
* 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