Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Fedora Release Engineering
639d4f06b1 dist-git conversion 2010-07-29 15:22:23 +00:00
Bill Nottingham
b0fa8468f9 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:17:35 +00:00
Tom Callaway
74eba72124 rebuild for ppc32, license tag fix 2007-08-27 17:55:25 +00:00
Tom Callaway
ec46d9d01c Initialize branch EL-4 for wlassistant 2007-07-02 15:15:20 +00:00
Tom Callaway
382a9eebf1 scons annoys me. bumping to 0.5.5 2006-03-01 01:11:18 +00:00
Tom Callaway
eae6856c3e Don't bother messing with the existing desktop file, use a known good copy. 2005-09-17 21:31:55 +00:00
6 changed files with 46 additions and 34 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: wlassistant
# $Id$
NAME := wlassistant
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +1 @@
4836d595a27f34c24784cdf9c2a9d5a8 wlassistant-0.5.4a.tar.bz2
1f30f1384b03662a9a0b75fa777f21d6 wlassistant-0.5.5.tar.bz2

View file

@ -0,0 +1,14 @@
--- wlassistant-0.5.5/bksys/kde.py.BAD 2006-02-28 19:00:25.000000000 -0600
+++ wlassistant-0.5.5/bksys/kde.py 2006-02-28 19:01:14.000000000 -0600
@@ -25,10 +25,7 @@
lenv.Append( CPPFLAGS = '-DQT_NO_TRANSLATION' )
if 'rpath' in _flags:
## Use this to set rpath - this may cause trouble if folders are moved (chrpath)
- kdelibpaths=[]
- if lenv['KDELIBPATH'] == lenv['KDELIB']: kdelibpaths = [lenv['KDELIB']]
- else: kdelibpaths = [lenv['KDELIBPATH'], lenv['KDELIB']]
- lenv.Append( RPATH = [lenv['QTLIBPATH'], lenv['KDEMODULE']]+kdelibpaths )
+ lenv.Append( RPATH = [lenv['QTLIBPATH'], lenv['KDEMODULE']] )
if 'thread' in _flags:
## Uncomment the following if you need threading support
lenv.KDEaddflags_cxx( ['-DQT_THREAD_SUPPORT', '-D_REENTRANT'] )

12
wlassistant.desktop Normal file
View file

@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Name=Wireless Assistant
Comment[pl]=Program do obsługi sieci bezprzewodowych
Comment[es]=Aplicación para buscar redes inalámbricas
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

View file

@ -1,20 +1,21 @@
Name: wlassistant
Version: 0.5.4a
Release: 2%{?dist}
License: GPL
Version: 0.5.5
Release: 1%{?dist}
License: GPLv2+
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
Source3: wlassistant.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdebase-devel, desktop-file-utils, dos2unix, wireless-tools
BuildRequires: kdebase-devel, desktop-file-utils, wireless-tools, scons
BuildRequires: qt-devel
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
Patch0: wlassistant-0.5.5-rpath.patch
%description
Wireless Assistant (wlassistant) is a small application that allows you to
@ -30,10 +31,11 @@ MAIN FEATURES:
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure
PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS\' | sed "s/ /',/g" | sed "s/',/', '/g"`
sed -i "s|'-O2'|[$PARSED_OPT_FLAGS]|" bksys/generic.py
./configure
make %{?_smp_mflags}
%install
@ -46,13 +48,12 @@ 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
rm -rf $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
%{SOURCE3}
%find_lang %{name}
@ -73,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README NEWS ChangeLog
%doc doc/AUTHORS doc/COPYING doc/README doc/NEWS doc/TODO ChangeLog
%config(noreplace) %{_sysconfdir}/pam.d/wlassistant
%config(noreplace) %{_sysconfdir}/security/console.apps/wlassistant
%{_bindir}/wlassistant
@ -83,6 +84,12 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor/32x32/apps/wlassistant.png
%changelog
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.5-1
- bump to 0.5.5
* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.4a-3
- use .desktop file as SOURCE3 rather than screwing around with dos2unix
* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.4a-2
- add BR: wireless-tools