packages: usermode/usermode.spec - up to 1.107, add -gtk subpackage
glen
glen at pld-linux.org
Sat Oct 1 21:55:47 CEST 2011
Author: glen Date: Sat Oct 1 19:55:47 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.107, add -gtk subpackage
---- Files affected:
packages/usermode:
usermode.spec (1.38 -> 1.39)
---- Diffs:
================================================================
Index: packages/usermode/usermode.spec
diff -u packages/usermode/usermode.spec:1.38 packages/usermode/usermode.spec:1.39
--- packages/usermode/usermode.spec:1.38 Sat Jan 29 01:07:31 2011
+++ packages/usermode/usermode.spec Sat Oct 1 21:55:41 2011
@@ -1,29 +1,31 @@
# $Revision$, $Date$
-Summary: User Tools
+Summary: Tools for certain user account management tasks
Summary(de.UTF-8): Anwender-Tools
Summary(fr.UTF-8): Outils utilisateur
Summary(pl.UTF-8): Narzędzia użytkownika
Summary(tr.UTF-8): Kullanıcı araçları
Name: usermode
-Version: 1.9
-Release: 4
-License: GPL
-Group: X11/Applications
-Source0: https://fedorahosted.org/releases/u/s/usermode/%{name}-%{version}.tar.gz
-# Source0-md5: 173586e150c4669bca40943af84104cf
-Patch0: %{name}-FHS20.patch
+Version: 1.107
+Release: 1
+License: GPL v2+
+Group: Applications/System
+Source0: https://fedorahosted.org/releases/u/s/usermode/%{name}-%{version}.tar.xz
+# Source0-md5: 00a53086a5716106585fe0234f1030d3
URL: https://fedorahosted.org/usermode/
BuildRequires: gtk+-devel
+BuildRequires: libuser-devel
BuildRequires: pam-devel
BuildRequires: pwdb-devel
-Requires: util-linux
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
#Requires: nss_db
+Requires: util-linux
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Several graphical tools, including a tool to help users manage
-floppies (and other removable media) and a tool to help the user
-change his or her finger information.
+The usermode package contains the userhelper program, which can be
+used to allow configured programs to be run with superuser privileges
+by ordinary users.
%description -l de.UTF-8
Mehrere grafische Tools, u.a. eines zum Verwalten von Disketten (und
@@ -46,35 +48,67 @@
bilgilerini değiştirmek gibi işler için kullanabilecekleri araçlar
içerir.
+%package gtk
+Summary: Graphical tools for certain user account management tasks
+Group: X11/Applications
+Requires: %{name} = %{version}-%{release}
+
+%description gtk
+The usermode-gtk package contains several graphical tools for users:
+userinfo, usermount and userpasswd. Userinfo allows users to change
+their finger information. Usermount lets users mount, unmount, and
+format file systems. Userpasswd allows users to change their
+passwords.
+
+Install the usermode-gtk package if you would like to provide users
+with graphical tools for certain account management tasks.
+
%prep
%setup -q
-%patch0 -p1
%build
-%{__make} \
- CC="%{__cc}" \
- CFLAGS="%{rpmcflags} `gtk-config --cflags`"
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
-
%{__make} install \
- PREFIX=$RPM_BUILD_ROOT
-%{__make} install-man \
- PREFIX=$RPM_BUILD_ROOT
+ INSTALL='install -p' \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# in pld we do not install default wrappers
+%{__rm} $RPM_BUILD_ROOT/etc/security/console.apps/*
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/shutdown
-mv $RPM_BUILD_ROOT/etc/X11/applnk/System/* $RPM_BUILD_ROOT%{_desktopdir}
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%attr(0755,root,root) %{_bindir}/*
-%attr(4755,root,root) %{_sbindir}/userhelper
-%{_mandir}/man[18]/*
+%doc ChangeLog NEWS README
+%attr(4711,root,root) %{_sbindir}/userhelper
+%attr(755,root,root) %{_bindir}/consolehelper
+%{_mandir}/man8/userhelper.8*
+%{_mandir}/man8/consolehelper.8*
+
+%files gtk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/consolehelper-gtk
+%attr(755,root,root) %{_bindir}/pam-panel-icon
+%attr(755,root,root) %{_bindir}/userinfo
+%attr(755,root,root) %{_bindir}/usermount
+%attr(755,root,root) %{_bindir}/userpasswd
+%{_mandir}/man1/pam-panel-icon.1*
+%{_mandir}/man1/userinfo.1*
+%{_mandir}/man1/usermount.1*
+%{_mandir}/man1/userpasswd.1*
+%{_mandir}/man8/consolehelper-gtk.8*
+%{_datadir}/%{name}
%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.png
+%{_pixmapsdir}/keys.xpm
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -82,6 +116,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.39 2011/10/01 19:55:41 glen
+- up to 1.107, add -gtk subpackage
+
Revision 1.38 2011/01/29 00:07:31 sparky
- dropped pre-cvs changelog
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/usermode/usermode.spec?r1=1.38&r2=1.39&f=u
More information about the pld-cvs-commit
mailing list