automatic rebuild by autodist [release 2.0.2-2mamba;Wed Aug 14 2013]
This commit is contained in:
parent
c6d10722aa
commit
5ce3ac8007
@ -1,2 +1,4 @@
|
||||
# gksu
|
||||
|
||||
An interface for libgksu, a Gtk+ frontent to su and sudo.
|
||||
|
||||
|
29
gksu-2.0.2-glib-2.31.patch
Normal file
29
gksu-2.0.2-glib-2.31.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 10c7e67e11a56e2fe1acf9b085772bc995d35bc0 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Sat, 7 Apr 2012 17:57:36 -0400
|
||||
Subject: [PATCH] Fix glib includes for building with >=glib-2.31
|
||||
|
||||
glib-2.31 and newer no longer allow most glib subheaders to be included
|
||||
directly.
|
||||
|
||||
https://savannah.nongnu.org/bugs/index.php?36127
|
||||
---
|
||||
nautilus-gksu/libnautilus-gksu.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/nautilus-gksu/libnautilus-gksu.c b/nautilus-gksu/libnautilus-gksu.c
|
||||
index 8e44d29..4acf3f8 100644
|
||||
--- a/nautilus-gksu/libnautilus-gksu.c
|
||||
+++ b/nautilus-gksu/libnautilus-gksu.c
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <string.h>
|
||||
#include <pthread.h>
|
||||
|
||||
-#include <glib/gkeyfile.h>
|
||||
+#include <glib.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gio/gio.h>
|
||||
#include <libnautilus-extension/nautilus-extension-types.h>
|
||||
--
|
||||
1.7.8.5
|
||||
|
71
gksu.spec
Normal file
71
gksu.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: gksu
|
||||
Version: 2.0.2
|
||||
Release: 2mamba
|
||||
Summary: An interface for libgksu, a Gtk+ frontent to su and sudo
|
||||
Group: Graphical Desktop/Applications/Administration
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.nongnu.org/gksu/
|
||||
Source: http://people.debian.org/~kov/gksu/gksu-%{version}.tar.gz
|
||||
Patch0: gksu-2.0.2-glib-2.31.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libGConf-devel
|
||||
BuildRequires: libatk-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libgksu-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgnome-keyring-devel
|
||||
BuildRequires: libgtk-devel
|
||||
BuildRequires: libgtk2-devel
|
||||
BuildRequires: libnautilus-extension-devel
|
||||
BuildRequires: libpango-devel
|
||||
BuildRequires: libstartup-notification-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
An interface for libgksu, a Gtk+ frontent to su and sudo.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
#%find_lang %{name}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
# -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gksu
|
||||
%{_bindir}/gksudo
|
||||
%{_libdir}/nautilus/extensions-2.0/libnautilus-gksu.*
|
||||
%{_datadir}/applications/gksu.desktop
|
||||
%{_datadir}/gksu/gksu-migrate-conf.sh
|
||||
%{_datadir}/pixmaps/gksu-icon.png
|
||||
%{_datadir}/pixmaps/gksu-root-terminal.png
|
||||
%{_mandir}/man1/gksu.1.gz
|
||||
%{_mandir}/man1/gksudo.1.gz
|
||||
%doc AUTHORS COPYING ChangeLog README
|
||||
|
||||
%changelog
|
||||
* Wed Aug 14 2013 Automatic Build System <autodist@mambasoft.it> 2.0.2-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Mon Sep 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user