[svn] r6009 - in trunk/rpms: . wifi-radar

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Wed Nov 21 17:05:08 CET 2007


Author: hadams
Date: 2007-11-21 17:05:08 +0100 (Wed, 21 Nov 2007)
New Revision: 6009

Added:
   trunk/rpms/wifi-radar/
   trunk/rpms/wifi-radar/wifi-radar-pam.d
   trunk/rpms/wifi-radar/wifi-radar.spec
Log:
Added wifi-radar

Added: trunk/rpms/wifi-radar/wifi-radar-pam.d
===================================================================
--- trunk/rpms/wifi-radar/wifi-radar-pam.d	                        (rev 0)
+++ trunk/rpms/wifi-radar/wifi-radar-pam.d	2007-11-21 16:05:08 UTC (rev 6009)
@@ -0,0 +1,9 @@
+#%PAM-1.0
+auth		sufficient	pam_console.so
+auth		sufficient	pam_rootok.so
+auth		sufficient	pam_timestamp.so
+auth		include		system-auth
+account		required	pam_permit.so
+session		required	pam_permit.so
+session		optional	pam_xauth.so
+session		optional	pam_timestamp.so

Added: trunk/rpms/wifi-radar/wifi-radar.spec
===================================================================
--- trunk/rpms/wifi-radar/wifi-radar.spec	                        (rev 0)
+++ trunk/rpms/wifi-radar/wifi-radar.spec	2007-11-21 16:05:08 UTC (rev 6009)
@@ -0,0 +1,98 @@
+Name:		wifi-radar
+Summary:	A utility for managing WiFi profiles
+Version:	1.9.8
+Release:	1
+License:	GPL
+Group:		Applications/Internet
+URL:		http://wifi-radar.systemimager.org/
+Source0:	http://wifi-radar.systemimager.org/pub/wifi-radar-%{version}.tar.bz2
+Source1:	fedora-wifi-radar.desktop
+Source2:	wifi-radar-pam.d
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:	noarch
+Requires:	pygtk2 net-tools wireless-tools dhclient usermode
+BuildRequires:	desktop-file-utils
+
+%description
+WiFi Radar is a straightforward utility, which scans for available wireless
+networks, and manages their associated profiles.
+
+%prep
+%setup -q
+
+%build
+%__make
+
+%install
+# An empty config file
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/wifi-radar
+touch $RPM_BUILD_ROOT/%{_sysconfdir}/wifi-radar/wifi-radar.conf
+# The actual executable
+mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
+cp wifi-radar.localized $RPM_BUILD_ROOT/%{_sbindir}/wifi-radar
+# The symlink for normal users
+mkdir -p $RPM_BUILD_ROOT/%{_bindir}
+ln -s consolehelper $RPM_BUILD_ROOT/%{_bindir}/wifi-radar
+# consolehelper file
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps
+cat > $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps/wifi-radar <<EOF
+USER=root
+PROGRAM=%{_sbindir}/wifi-radar
+SESSION=true
+EOF
+# PAM file
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d
+cp %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/wifi-radar
+# man pages
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
+cp wifi-radar.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5
+cp wifi-radar.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5/
+# Daemon init script
+#mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
+#cp init_script $RPM_BUILD_ROOT/%{_initrddir}/wifi-radar
+# Icons
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
+cp pixmaps/wifi-radar.{png,svg} $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
+# Desktop menus
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
+#cp %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/
+desktop-file-install --vendor fedora --dir $RPM_BUILD_ROOT/%{_datadir}/applications	\
+	--add-category X-Fedora %{SOURCE1}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%attr(0700,root,root) %dir %{_sysconfdir}/wifi-radar
+%attr(0600,root,root) %ghost %config(missingok,noreplace) %{_sysconfdir}/wifi-radar/wifi-radar.conf
+%attr(0755,root,root) %{_sbindir}/wifi-radar
+%{_bindir}/wifi-radar
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/security/console.apps/wifi-radar
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/wifi-radar
+%attr(0644,root,root) %{_mandir}/man1/*
+%attr(0644,root,root) %{_mandir}/man5/*
+#%attr(0755,root,root) %{_initrddir}/wifi-radar
+%attr(0644,root,root) %{_datadir}/pixmaps/*
+%attr(0644,root,root) %{_datadir}/applications/fedora-wifi-radar.desktop
+%defattr(0644,root,root,0755)
+#%doc AUTHORS ChangeLog COPYING DEVELOPER_GUIDELINES README TODO
+%doc CHANGE.LOG COPYING DEVELOPER_GUIDELINES README TODO
+
+%changelog
+* Wed Nov 21 2007 Heiko Adams <info at fedora-blog.de> 1.9.8-1
+- rebuild for rpmforge
+- update to 1.9.8
+
+* Sun Sep 17 2006 Ian Pilcher <i.pilcher at comcast.net> 1.9.6-3
+- Bump release for FC6 rebuild
+- Fix dates in previous changelog entries (It's 2006, duh!)
+
+* Thu Jun  1 2006 Ian Pilcher <i.pilcher at comcast.net> 1.9.6-2
+- Use desktop-file-install (and BuildRequire desktop-file-utils)
+- Add noreplace flag to config file
+- Fix doc directory permissions
+
+* Fri May 12 2006 Ian Pilcher <i.pilcher at comcast.net> 1.9.6-1
+- Initial SPEC file for Fedora Extras




More information about the commits mailing list