rpms/gnome-ppp/devel gnome-ppp.apps, NONE, 1.1 gnome-ppp.pam, NONE, 1.1 gnome-ppp.spec, 1.4, 1.5
Christoph Wickert (cwickert)
fedora-extras-commits at redhat.com
Tue Aug 28 21:08:43 UTC 2007
Author: cwickert
Update of /cvs/pkgs/rpms/gnome-ppp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2123
Modified Files:
gnome-ppp.spec
Added Files:
gnome-ppp.apps gnome-ppp.pam
Log Message:
Use userhelper. People in uucp group don't need to enter the root password
Update license tag
--- NEW FILE gnome-ppp.apps ---
USER=root
PROGRAM=/usr/sbin/gnome-ppp
SESSION=true
FALLBACK=true
--- NEW FILE gnome-ppp.pam ---
#%PAM-1.0
auth sufficient pam_rootok.so
auth sufficient pam_timestamp.so
auth sufficient pam_wheel.so trust use_uid group=uucp
auth include system-auth
account required pam_permit.so
session required pam_permit.so
session optional pam_xauth.so
Index: gnome-ppp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-ppp/devel/gnome-ppp.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gnome-ppp.spec 3 Sep 2006 22:34:14 -0000 1.4
+++ gnome-ppp.spec 28 Aug 2007 21:08:08 -0000 1.5
@@ -1,17 +1,19 @@
Name: gnome-ppp
Version: 0.3.23
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A GNOME 2 WvDial frontend
Group: Applications/Communications
-License: GPL
+License: GPLv2+
URL: http://www.icmreza.co.yu/blogs/vladecks/?page_id=7
Source0: http://www.icmreza.co.yu/blogs/vladecks/wp-content/projects/gnome-ppp/download/0.3/gnome-ppp-0.3.23.tar.bz2
+Source1: gnome-ppp.apps
+Source2: gnome-ppp.pam
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libglade2-devel >= 2.4.0, gettext, desktop-file-utils
-BuildRequires: intltool
-Requires: wvdial
+BuildRequires: intltool
+Requires: wvdial, usermode
%description
GNOME PPP is a modem dialup tool designed to integrate nicely into GNOME 2
@@ -26,20 +28,30 @@
%build
-%configure
+%configure --bindir=%{_sbindir}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name}
+#rm $RPM_BUILD_ROOT%{_libexecdir}/thunar-archive-plugin/file-roller.tap
+
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_bindir}
+install -p -m 644 %{SOURCE1} \
+ $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/%{name}
+install -p -m 644 %{SOURCE2} \
+ $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/%{name}
+ln -s consolehelper $RPM_BUILD_ROOT%{_bindir}/%{name}
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
- --add-category X-Fedora \
- --add-category GNOME \
- --delete-original \
+ --add-category GNOME \
+ --remove-category Application \
+ --delete-original \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
+%find_lang %{name}
%post
touch --no-create %{_datadir}/icons/hicolor || :
@@ -62,12 +74,19 @@
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog
%{_bindir}/%{name}
+%{_sbindir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
+%config(noreplace) %{_sysconfdir}/pam.d/%{name}
+%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
%changelog
+* Sun Jul 22 2007 Christoph Wickert <fedora wickert at arcor de> - 0.3.23-4
+- Use userhelper. People in uucp group don't need to enter the root password
+- Update license tag
+
* Mon Sep 04 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.23-3
- Mass rebuild for Fedora Core 6.
More information about the fedora-extras-commits
mailing list