rpms/wlassistant/devel wlassistant-0.5.4a-desktopfix.patch, NONE, 1.1 wlassistant-0.5.4a-rpath.patch, NONE, 1.1 wlassistant.console_apps, NONE, 1.1 wlassistant.pamd, NONE, 1.1 wlassistant.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Sat Sep 17 20:52:56 UTC 2005


Author: spot

Update of /cvs/extras/rpms/wlassistant/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19514/devel

Modified Files:
	.cvsignore sources 
Added Files:
	wlassistant-0.5.4a-desktopfix.patch 
	wlassistant-0.5.4a-rpath.patch wlassistant.console_apps 
	wlassistant.pamd wlassistant.spec 
Log Message:
auto-import wlassistant-0.5.4a-2 on branch devel from wlassistant-0.5.4a-2.src.rpm

wlassistant-0.5.4a-desktopfix.patch:

--- NEW FILE wlassistant-0.5.4a-desktopfix.patch ---
--- wlassistant-0.5.4a/src/wlassistant.desktop.orig	2005-09-01 23:23:44.000000000 -0500
+++ wlassistant-0.5.4a/src/wlassistant.desktop	2005-09-04 20:00:41.000000000 -0500
@@ -3,7 +3,10 @@
 Name=Wireless Assistant
 Comment[pl]=Program do obsługi sieci bezprzewodowych
 Comment[es]=Aplicación para buscar redes inalámbricas
-Exec=sudo wlassistant
-Icon=wlassistant
+Comment=Application to look for wireless networks
+Exec=/usr/sbin/wlassistant
+Icon=/usr/share/icons/hicolor/32x32/apps/wlassistant.png
 Type=Application
+Categories=Application;SystemSetup;System;
+StartupNotify=true
 

wlassistant-0.5.4a-rpath.patch:

--- NEW FILE wlassistant-0.5.4a-rpath.patch ---
--- wlassistant-0.5.4a/configure.BAD	2005-09-04 19:32:40.000000000 -0500
+++ wlassistant-0.5.4a/configure	2005-09-04 19:33:10.000000000 -0500
@@ -29220,17 +29220,8 @@
 
 if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
 
-  KDE_RPATH="-R \$(kde_libraries)"
-
   if test -n "$qt_libraries"; then
-    KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
-  fi
-    if test -n "$X_LDFLAGS"; then
-    X_RPATH="-R \$(x_libraries)"
-    KDE_RPATH="$KDE_RPATH $X_RPATH"
-  fi
-  if test -n "$KDE_EXTRA_RPATH"; then
-    KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
+    KDE_RPATH="-R \$(qt_libraries)"
   fi
 fi
 


--- NEW FILE wlassistant.console_apps ---
USER=root
PROGRAM=/usr/bin/wlassistant
SESSION=true


--- NEW FILE wlassistant.pamd ---
#%PAM-1.0
auth       sufficient   pam_rootok.so
auth       sufficient   pam_timestamp.so
auth       required     pam_stack.so service=system-auth
session    required     pam_permit.so
session    optional     pam_xauth.so
session    optional     pam_timestamp.so
account    required     pam_permit.so


--- NEW FILE wlassistant.spec ---
Name:		wlassistant
Version:	0.5.4a
Release:	2%{?dist}
License:	GPL
Group:		Applications/System
Summary:	Wireless network management tool
URL:		http://wlassistant.sourceforge.net
Source0:	http://download.sourceforge.net/wlassistant/wlassistant-%{version}.tar.bz2
Source1:	wlassistant.console_apps
Source2:	wlassistant.pamd
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	kdebase-devel, desktop-file-utils, dos2unix, wireless-tools
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
Requires:       usermode, wireless-tools, net-tools, dhclient
Patch0:		wlassistant-0.5.4a-rpath.patch
Patch1:		wlassistant-0.5.4a-desktopfix.patch

%description
Wireless Assistant (wlassistant) is a small application that allows you to 
connect to wireless networks.

MAIN FEATURES:
- Managed Networks Support
- WEP Encryption Support
- Not Broadcasted ("hidden") ESSIDs Support
- Per Network (AP) Configuration Profiles
- Automatic (DHCP, both dhcpcd and dhclient) and manual configuration options.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/wlassistant
install -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/wlassistant

dos2unix $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/wlassistant.desktop

desktop-file-install --vendor fedora \
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
	--add-category X-Fedora \
	--delete-original \
	$RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/wlassistant.desktop

%find_lang %{name}

# We're going to use consolehelper, since this is a GUI app.
cd $RPM_BUILD_ROOT%{_sbindir}/
ln -s /usr/bin/consolehelper wlassistant

%post
update-desktop-database %{_datadir}/applications &> /dev/null

%postun
if [ "$1" = "0" ]; then
  update-desktop-database %{_datadir}/applications &> /dev/null
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README NEWS ChangeLog
%config(noreplace) %{_sysconfdir}/pam.d/wlassistant
%config(noreplace) %{_sysconfdir}/security/console.apps/wlassistant
%{_bindir}/wlassistant
%{_sbindir}/wlassistant
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/16x16/apps/wlassistant.png
%{_datadir}/icons/hicolor/32x32/apps/wlassistant.png

%changelog
* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.5.4a-2
- add BR: wireless-tools

* Sun Sep  4 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.5.4a-1
- initial package for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/wlassistant/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Sep 2005 20:52:08 -0000	1.1
+++ .cvsignore	17 Sep 2005 20:52:54 -0000	1.2
@@ -0,0 +1 @@
+wlassistant-0.5.4a.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/wlassistant/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Sep 2005 20:52:08 -0000	1.1
+++ sources	17 Sep 2005 20:52:54 -0000	1.2
@@ -0,0 +1 @@
+4836d595a27f34c24784cdf9c2a9d5a8  wlassistant-0.5.4a.tar.bz2




More information about the fedora-extras-commits mailing list