[packages/pirut] up to 1.3.31 (last release available)
glen
glen at pld-linux.org
Sun May 31 17:44:43 CEST 2015
commit 49c085f2e2f7119157e6ee52155f45ef135c0b69
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun May 31 18:12:20 2015 +0300
up to 1.3.31 (last release available)
updated deps from fedora, 1b7af2b
pirut-consolehelper.patch | 19 +++----
pirut-desktop.patch | 131 ++++++++++------------------------------------
pirut.spec | 37 +++++++++----
3 files changed, 63 insertions(+), 124 deletions(-)
---
diff --git a/pirut.spec b/pirut.spec
index 3c3719d..a621e12 100644
--- a/pirut.spec
+++ b/pirut.spec
@@ -1,22 +1,37 @@
Summary: Package Installation, Removal and Update Tools
Summary(pl.UTF-8): Narzędzia do instalowania, usuwania i uaktualniania pakietów
Name: pirut
-Version: 1.0.1
-Release: 0.5
+Version: 1.3.31
+Release: 0.1
License: GPL
Group: Applications/System
-# https://fedorahosted.org/releases/p/i/pirut/ (not yet)
-Source0: %{name}-%{version}.tar.gz
-# Source0-md5: b628cc41256fa48dfb77c54085823eb6
-URL: https://fedoraproject.org/wiki/Pirut
-Requires(post,postun): desktop-file-utils >= 0.8
+Source0: http://pkgs.fedoraproject.org/repo/pkgs/pirut/%{name}-%{version}.tar.gz/c6994f02627834c374f0855540850cd7/pirut-%{version}.tar.gz
+# Source0-md5: c6994f02627834c374f0855540850cd7
+URL: https://fedoraproject.org/wiki/Tools/pirut
Patch0: %{name}-desktop.patch
Patch1: %{name}-consolehelper.patch
-#Requires: comps-extras
-#Requires: python-pygtk
-BuildRequires: automake
+BuildRequires: gettext
+BuildRequires: intltool
+BuildRequires: python
+Requires(post): desktop-file-utils >= 0.8
+Requires(postun): desktop-file-utils >= 0.8
+Requires: comps-extras
+Requires: python-dbus
+Requires: python-gnome-gconf
+Requires: python-iniparse
Requires: python-pygtk-glade
-Requires: yum >= 2.5.3
+Requires: python-pygtk-glade
+Requires: python-pygtk-gtk >= 2.9.2
+Requires: python-pynotify
+Requires: rhpl
+Requires: usermode
+Requires: yum >= 3.2.5-2
+Obsoletes: pup
+Obsoletes: redhat-config-packages
+Obsoletes: rhn-applet
+Obsoletes: system-config-packages
+Obsoletes: up2date-gnome
+BuildArch: noarch
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/pirut-consolehelper.patch b/pirut-consolehelper.patch
index 05b32c4..9e8dcc9 100644
--- a/pirut-consolehelper.patch
+++ b/pirut-consolehelper.patch
@@ -1,12 +1,13 @@
---- pirut-1.0.1/data/Makefile.am~ 2006-05-26 13:45:49.395124919 +0300
-+++ pirut-1.0.1/data/Makefile.am 2006-05-26 13:48:45.599077546 +0300
-@@ -59,9 +59,6 @@
- $(INSTALL_DATA) -D pirut.console $(DESTDIR)$(sysconfdir)/security/console.apps/pirut
+--- pirut-1.3.31/data/Makefile.am~ 2008-01-31 18:29:21.000000000 +0200
++++ pirut-1.3.31/data/Makefile.am 2015-05-31 18:12:03.888581130 +0300
+@@ -62,10 +62,6 @@
$(INSTALL_DATA) -D pup.console $(DESTDIR)$(sysconfdir)/security/console.apps/pup
$(INSTALL_DATA) -D system-install-packages.console $(DESTDIR)$(sysconfdir)/security/console.apps/system-install-packages
-- $(LN_S) /usr/bin/consolehelper $(DESTDIR)$(bindir)/pirut
-- $(LN_S) /usr/bin/consolehelper $(DESTDIR)$(bindir)/pup
-- $(LN_S) /usr/bin/consolehelper $(DESTDIR)$(bindir)/system-install-packages
+ $(INSTALL_DATA) -D system-cdinstall-helper.console $(DESTDIR)$(sysconfdir)/security/console.apps/system-cdinstall-helper
+- $(LN_S) consolehelper $(DESTDIR)$(bindir)/pirut
+- $(LN_S) consolehelper $(DESTDIR)$(bindir)/pup
+- $(LN_S) consolehelper $(DESTDIR)$(bindir)/system-install-packages
+- $(LN_S) consolehelper $(DESTDIR)$(bindir)/system-cdinstall-helper
- $(INSTALL_DATA) -D pirut.png $(DESTDIR)$(datadir)/pixmaps/pirut.png
- $(INSTALL_DATA) -D pup.png $(DESTDIR)$(datadir)/pixmaps/pup.png
+ uninstall-local:
+ rm -f $(DESTDIR)$(sysconfdir)/pam.d/pirut
diff --git a/pirut-desktop.patch b/pirut-desktop.patch
index 8b41d4f..8b76d57 100644
--- a/pirut-desktop.patch
+++ b/pirut-desktop.patch
@@ -1,120 +1,43 @@
---- pirut-1.0.1/data/pirut.desktop.in 2006-03-01 01:56:27.000000000 +0200
-+++ pirut-1.0.1.desktop/data/pirut.desktop.in 2006-05-26 13:11:37.359189448 +0300
-@@ -2,10 +2,11 @@
- Name=Add/Remove Software
- GenericName=Add/Remove Software
- Comment=Change the software installed on the system
--Categories=Application;System;X-Red-Hat-Base;X-Fedora;PackageManager;GNOME;GTK
--Exec=/usr/bin/pirut
+--- pirut-1.3.31/data/pirut.desktop.in~ 2007-11-07 00:51:40.000000000 +0200
++++ pirut-1.3.31/data/pirut.desktop.in 2015-05-31 18:05:53.659327790 +0300
+@@ -3,8 +3,9 @@
+ _GenericName=Add/Remove Software
+ _Comment=Change the software installed on the system
+ Categories=System;X-Red-Hat-Base;X-Fedora;PackageManager;GNOME;GTK;
+-Exec=/usr/bin/getproxy /usr/bin/pirut
+Categories=Application;System;PackageManager;GNOME;GTK
+Exec=gksu -u root /usr/sbin/pirut
Terminal=false
Type=Application
- Icon=pirut.png
- Encoding=UTF-8
+ Icon=system-software-installer
StartupNotify=true
-+NotShowIn=KDE
---- pirut-1.0.1/data/pup.desktop.in 2006-03-01 01:56:28.000000000 +0200
-+++ pirut-1.0.1.desktop/data/pup.desktop.in 2006-05-26 13:10:51.618166176 +0300
-@@ -2,10 +2,11 @@
- Name=Software Updater
- GenericName=Software Updater
- Comment=Update software installed on the system
--Categories=Application;System;X-Red-Hat-Base;X-Fedora;PackageManager;GNOME;GTK
--Exec=/usr/bin/pup
+--- pirut-1.3.31/data/pup.desktop.in~ 2007-11-07 00:51:40.000000000 +0200
++++ pirut-1.3.31/data/pup.desktop.in 2015-05-31 18:06:33.148048022 +0300
+@@ -2,9 +2,9 @@
+ _Name=Software Updater
+ _GenericName=Software Updater
+ _Comment=Update software installed on the system
+-Categories=System;X-Red-Hat-Base;X-Fedora;PackageManager;GNOME;GTK;
+-Exec=/usr/bin/getproxy /usr/bin/pup
+Categories=PackageManager;GNOME;GTK;System;Application;
+Exec=gksu -u root /usr/sbin/pup
Terminal=false
Type=Application
- Icon=pup.png
- Encoding=UTF-8
+ Icon=system-software-update
StartupNotify=true
-+NotShowIn=KDE
---- pirut-1.0.1/data/system-install-packages.desktop.in 2006-03-01 01:56:28.000000000 +0200
-+++ pirut-1.0.1.desktop/data/system-install-packages.desktop.in 2006-05-26 13:09:52.186836659 +0300
-@@ -2,11 +2,12 @@
- Name=Install software
- GenericName=Install software
- Comment=Install selected software on the system
--Categories=Application;System;X-Red-Hat-Base;X-Fedora
--Exec=/usr/bin/system-install-packages %F
+--- pirut-1.3.31/data/system-install-packages.desktop.in~ 2007-11-07 00:51:40.000000000 +0200
++++ pirut-1.3.31/data/system-install-packages.desktop.in 2015-05-31 18:07:18.490405998 +0300
+@@ -2,11 +2,11 @@
+ _Name=Software Installer
+ _GenericName=Software Installer
+ _Comment=Install selected software on the system
+-Categories=System;X-Red-Hat-Base;X-Fedora;
+-Exec=/usr/bin/getproxy /usr/bin/system-install-packages %F
+Categories=GTK;System;Application;
+Exec=gksu -u root /usr/sbin/system-install-packages %F
Terminal=false
Type=Application
- Icon=installpkg.png
- Encoding=UTF-8
+ Icon=system-software-installer
StartupNotify=true
NoDisplay=true
-+NotShowIn=KDE
---- /dev/null 2006-03-28 14:00:37.387408000 +0300
-+++ pirut-1.0.1/data/system-install-packages-kde.desktop.in 2006-05-26 13:15:35.454516111 +0300
-@@ -0,0 +1,14 @@
-+[Desktop Entry]
-+Name=Install software
-+GenericName=Install software
-+Comment=Install selected software on the system
-+Categories=GTK;System;Application;
-+Exec=/usr/sbin/system-install-packages %F
-+Terminal=false
-+Type=Application
-+Icon=installpkg.png
-+Encoding=UTF-8
-+StartupNotify=true
-+NoDisplay=true
-+X-KDE-SubstituteUID=true
-+OnlyShowIn=KDE
---- /dev/null 2006-03-28 14:00:37.387408000 +0300
-+++ pirut-1.0.1/data/pup-kde.desktop.in 2006-05-26 13:15:25.994304460 +0300
-@@ -0,0 +1,13 @@
-+[Desktop Entry]
-+Name=Software Updater
-+GenericName=Software Updater
-+Comment=Update software installed on the system
-+Categories=PackageManager;GNOME;GTK;System;Application;
-+Exec=/usr/sbin/pup
-+Terminal=false
-+Type=Application
-+Icon=pup.png
-+Encoding=UTF-8
-+StartupNotify=true
-+X-KDE-SubstituteUID=true
-+OnlyShowIn=KDE
---- /dev/null 2006-03-28 14:00:37.387408000 +0300
-+++ pirut-1.0.1/data/pirut-kde.desktop.in 2006-05-26 13:15:16.294087439 +0300
-@@ -0,0 +1,13 @@
-+[Desktop Entry]
-+Name=Add/Remove Software
-+GenericName=Add/Remove Software
-+Comment=Change the software installed on the system
-+Categories=Application;System;PackageManager;GNOME;GTK
-+Exec=/usr/sbin/pirut
-+Terminal=false
-+Type=Application
-+Icon=pirut.png
-+Encoding=UTF-8
-+StartupNotify=true
-+X-KDE-SubstituteUID=true
-+OnlyShowIn=KDE
---- pirut-1.0.1/data/Makefile.am~ 2006-05-26 13:26:17.708886414 +0300
-+++ pirut-1.0.1/data/Makefile.am 2006-05-26 13:26:48.129567131 +0300
-@@ -3,6 +3,10 @@
- desktop_in_files = pirut.desktop.in pup.desktop.in system-install-packages.desktop.in
- desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-
-+kdedesktopdir = $(datadir)/applications/kde
-+kdedesktop_in_files = pirut-kde.desktop.in pup-kde.desktop.in system-install-packages-kde.desktop.in
-+kdedesktop_DATA = $(kdedesktop_in_files:.desktop.in=.desktop)
-+
- GLADE_FILES = \
- GroupSelector.glade \
- PackageManager.glade \
-@@ -31,6 +35,8 @@
- $(PIXMAPS) \
- $(desktop_in_files) \
- $(desktop_DATA) \
-+ $(kdedesktop_in_files) \
-+ $(kdedesktop_DATA) \
- pirut.pam \
- pirut.console \
- pup.pam \
+ MimeType=application/x-rpm;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pirut.git/commitdiff/3ef735ec9d082db8be3de03784fc69725ec7efc2
More information about the pld-cvs-commit
mailing list