Compare commits

..

6 commits

Author SHA1 Message Date
f8749c415f Release 3.0.17-1 2015-04-21 07:13:34 +02:00
ba3bde070e release 3.0.16-2 2015-04-13 07:22:15 +02:00
a448682e4d release 3.0.16-2 2015-04-13 07:21:20 +02:00
e4e768543a Merge branch 'master' into epel7 2015-04-07 13:47:33 +02:00
56e89bee42 use spec from master 2015-04-07 13:47:29 +02:00
6fb5dd3c32 fix deps for epel7 2014-09-06 18:24:46 +02:00
6 changed files with 180 additions and 1 deletions

19
.gitignore vendored Normal file
View file

@ -0,0 +1,19 @@
yumex-2.9.9.tar.gz
yumex-2.9.10.tar.gz
/yumex-3.0.0.tar.gz
/yumex-3.0.1.tar.gz
/yumex-3.0.2.tar.gz
/yumex-3.0.3.tar.gz
/yumex-3.0.4.tar.gz
/yumex-3.0.5.tar.gz
/yumex-3.0.6.tar.gz
/yumex-3.0.7.tar.gz
/yumex-3.0.9.tar.gz
/yumex-3.0.10.tar.gz
/yumex-3.0.11.tar.gz
/yumex-3.0.12.tar.gz
/yumex-3.0.13.tar.gz
/yumex-3.0.14.tar.gz
/yumex-3.0.15.tar.gz
/yumex-3.0.16.tar.gz
/yumex-3.0.17.tar.gz

21
Makefile Normal file
View file

@ -0,0 +1,21 @@
# Makefile for source rpm: yumex
# $Id$
NAME := yumex
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +0,0 @@
yumex is replaced by yumex-dnf

1
sources Normal file
View file

@ -0,0 +1 @@
9990213613322e6221643f5d3f1af99d yumex-3.0.17.tar.gz

25
yumex-sudo.patch Normal file
View file

@ -0,0 +1,25 @@
From 39c22ebab282bc8a74eeb00db8d3159be08453f3 Mon Sep 17 00:00:00 2001
From: Tim Lauridsen <timlau@fedoraproject.org>
Date: Mon, 14 May 2012 15:24:50 +0200
Subject: [PATCH] make yumex work with use_sudo=1 in .yumex.conf
---
src/yumexbackend/yum_client.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/yumexbackend/yum_client.py b/src/yumexbackend/yum_client.py
index 4d3a0ac..e673a1c 100644
--- a/src/yumexbackend/yum_client.py
+++ b/src/yumexbackend/yum_client.py
@@ -176,7 +176,7 @@ class YumClientBase:
self.info('Running backend launcher with sudo')
cmd = '/usr/bin/sudo'
args.append('-n') # Abort sudo if password is needed
- args.append('/usr/bin/yumex-yum-backend')
+ args.append(MAIN_PATH + "/backend-launcher.py")
else:
cmd = '/usr/bin/pkexec'
--
1.7.10.1

114
yumex.spec Normal file
View file

@ -0,0 +1,114 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: yumex
Version: 3.0.17
Release: 1%{?dist}
Summary: Yum Extender graphical package management tool
Group: Applications/System
License: GPLv2+
URL: http://www.yumex.dk
Source0: https://fedorahosted.org/releases/y/u/yumex/%{name}-%{version}.tar.gz
BuildRoot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: intltool
Requires: yum >= 3.2.23
Requires: pygtk2 >= 2.14
Requires: pycairo
%{?fedora:Requires: python-pexpect}
%{?rhel:Requires: pexpect}
Requires: python-iniparse
Requires: dbus-python
Requires: python-kitchen
Requires: urlgrabber
Requires: polkit
Requires: pyxdg
Requires(pre): shadow-utils
%description
Graphical User Interface for Yum.
%prep
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
#install another .glade file for el6
%if 0%{?el6}
install -m644 src/yumex.glade.el6 $RPM_BUILD_ROOT/%{_datadir}/%{name}/yumex.glade
%endif
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-local.desktop
# this is a doc file; removing from installed tree
rm $RPM_BUILD_ROOT%{_datadir}/yumex/COPYING
%find_lang %name
%pre
getent group yumex >/dev/null || groupadd -r yumex
%post
update-desktop-database %{_datadir}/applications &> /dev/null || :
%postun
update-desktop-database %{_datadir}/applications &> /dev/null || :
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root, -)
%doc COPYING ChangeLog TODO
%{_datadir}/pixmaps/*
%{_datadir}/yumex
%{_bindir}/yumex*
%{python_sitelib}/yumexbackend/
%{python_sitelib}/yumexbase/
%{python_sitelib}/yumexgui/
%{python_sitelib}/guihelpers/
%config(noreplace) %{_sysconfdir}/yumex.profiles.conf
%config(noreplace) %{_sysconfdir}/yumex.conf
%{_datadir}/polkit-1/actions/dk.yumex.backend.policy
%{_datadir}/applications/*.desktop
%{_datadir}/appdata/*.xml
%{_datadir}/polkit-1/rules.d/*.rules
%changelog
* Tue Apr 21 2015 Tim Lauridsen <timlau@fedoraproject.org> 3.0.17-1
- bumped release
- add rhel/fedora specific requirement of pexpect/python-pexpect
* Tue Oct 14 2014 Tim Lauridsen <timlau@fedoraproject.org> 3.0.16-2
- create yumex group
- added shadow-utils requirement (pre)
- added PolicyKit rule
* Sun Oct 5 2014 Tim Lauridsen <timlau@fedoraproject.org> 3.0.16-1
- bumped version to 3.0.16
- removed udisks requirement
- cleaned up the spec changelog
* Wed Jun 4 2014 Tim Lauridsen <timlau@fedoraproject.org> 3.0.15-1
- bumped version to 3.0.15
* Tue Feb 25 2014 Tim Lauridsen <timlau@fedoraproject.org> 3.0.14-1
- bumped version to 3.0.14
* Wed Oct 16 2013 Tim Lauridsen <timlau@fedoraproject.org> 3.0.13-1
- bumped version to 3.0.13
* Mon Oct 07 2013 Tim Lauridsen <timlau@fedoraproject.org> 3.0.12-2
- changed requirement pexpect to python-pexpect