Группа :: Система/Настройка/Сеть
Пакет: wifi-radar
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# This spec is backported to ALTLinux 4.0 automatically by rpmbh script. Do not edit it.
Name: wifi-radar
Version: 1.9.8
Release: alt0.M40.2
Summary: Tool for connecting to wireless networks
Group: System/Configuration/Networking
License: GPL2
Url: http://wifi-radar.systemimager.org/
Source: http://wifi-radar.systemimager.org/pub/%name-%version.tar.bz2
Source1: %name.init
Source2: %name.pam
Source3: %name.consolehelper
Source4: %name.desktop
Patch: alt-%name-makefile.patch
Packager: Andrey Alexandrov <demion at altlinux.ru>
Requires: python-module-pygtk
BuildRequires: rpm-build-compat >= 0.95
%description
WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles.
It enables you to scan for available networks and create profiles for your preferred networks. At boot time, running WiFi Radar will automatically scan for an available preferred network and connect to it. You can drag and drop your preferred networks to arrange the profile priority.
%prep
%setup
%patch -p1
%build
%make_build
%install
%makeinstall_std
# pam auth
install -d %buildroot%_bindir
install -d %buildroot%_sysconfdir/pam.d/
install -d %buildroot%_sysconfdir/security/console.apps
install -m 644 %SOURCE2 %buildroot%_sysconfdir/pam.d/%name
install -m 644 %SOURCE3 %buildroot%_sysconfdir/security/console.apps/%name
ln -s consolehelper %buildroot%_bindir/%name
mkdir -p %buildroot%_initdir
install -m 755 %SOURCE1 %buildroot%_initdir/%name
rm -rf %buildroot%_sysconfdir/init.d
install -m 644 %SOURCE4 %buildroot%_desktopdir
%post
%update_menus
%postun
%update_menus
%files
%doc DEVELOPER_GUIDELINES README README.WPA-Mini-HOWTO.txt TODO
%_initdir/%name
%_sysconfdir/%name/%name.conf
%_sbindir/%name
%_desktopdir/%name.desktop
%_man1dir/%name.1.gz
%_man5dir/%name.conf.5.gz
%_pixmapsdir/%name.png
%_pixmapsdir/%name.svg
%config %_sysconfdir/pam.d/*
%config(noreplace) %_sysconfdir/security/console.apps/*
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Name: wifi-radar
Version: 1.9.8
Release: alt0.M40.2
Summary: Tool for connecting to wireless networks
Group: System/Configuration/Networking
License: GPL2
Url: http://wifi-radar.systemimager.org/
Source: http://wifi-radar.systemimager.org/pub/%name-%version.tar.bz2
Source1: %name.init
Source2: %name.pam
Source3: %name.consolehelper
Source4: %name.desktop
Patch: alt-%name-makefile.patch
Packager: Andrey Alexandrov <demion at altlinux.ru>
Requires: python-module-pygtk
BuildRequires: rpm-build-compat >= 0.95
%description
WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles.
It enables you to scan for available networks and create profiles for your preferred networks. At boot time, running WiFi Radar will automatically scan for an available preferred network and connect to it. You can drag and drop your preferred networks to arrange the profile priority.
%prep
%setup
%patch -p1
%build
%make_build
%install
%makeinstall_std
# pam auth
install -d %buildroot%_bindir
install -d %buildroot%_sysconfdir/pam.d/
install -d %buildroot%_sysconfdir/security/console.apps
install -m 644 %SOURCE2 %buildroot%_sysconfdir/pam.d/%name
install -m 644 %SOURCE3 %buildroot%_sysconfdir/security/console.apps/%name
ln -s consolehelper %buildroot%_bindir/%name
mkdir -p %buildroot%_initdir
install -m 755 %SOURCE1 %buildroot%_initdir/%name
rm -rf %buildroot%_sysconfdir/init.d
install -m 644 %SOURCE4 %buildroot%_desktopdir
%post
%update_menus
%postun
%update_menus
%files
%doc DEVELOPER_GUIDELINES README README.WPA-Mini-HOWTO.txt TODO
%_initdir/%name
%_sysconfdir/%name/%name.conf
%_sbindir/%name
%_desktopdir/%name.desktop
%_man1dir/%name.1.gz
%_man5dir/%name.conf.5.gz
%_pixmapsdir/%name.png
%_pixmapsdir/%name.svg
%config %_sysconfdir/pam.d/*
%config(noreplace) %_sysconfdir/security/console.apps/*
%_bindir/%name
%changelog
…
Полный changelog можно просмотреть здесь