Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37567542
en ru br
ALT Linux repos
5.0: 1.10-alt1
4.1: 1.10-alt1
4.0: 0.99-alt0.1.1

Group :: Networking/Other
RPM: AutoScan

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#%define _subver %nil

Name: AutoScan
Version: 0.99
Release: alt0.1.1

Summary: AutoScan - a utility for network exploration

License: GPL
Group: Networking/Other
Url: http://autoscan.free.fr/

Packager: Vitaly Lipatov <lav at altlinux.ru>

#Source: http://dl.sf.net/autoscan/%name-%version%_subver.tar.bz2

Source: http://autoscan.free.fr/%name-%{version}_SOURCES.tar.bz2

BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel

# manually removed: esound gcc-g77 libg2c-devel glibc-devel-static gtk+-devel

# Automatically added by buildreq on Sat Mar 11 2006
BuildRequires: ORBit2-devel esound fontconfig freetype2 gcc-c++ glib2-devel gnome-vfs2-devel libGConf2-devel libICE-devel libSM-devel libX11-devel libao-devel libart_lgpl-devel libatk-devel libavahi-glib libbonobo2-devel libbonoboui-devel libcairo-devel libgnome-devel libgnome-keyring-devel libgnomecanvas-devel libgnomeui-devel libgpg-error libgtk+2-devel libnet-snmp-devel libogg-devel libpango-devel libpopt-devel libsmbclient-devel libssl-devel libstdc++-devel libucd-snmp-devel libvorbis-devel libxml2-devel libzvt-devel pkg-config xorg-x11-proto-devel zlib-devel

%description
The objective of the program is to post the list of all equipment
connected to the network. A list of ports preset is scanned for each
equipment.

%prep
%setup -q

%build
pushd Sources/AutoScan
rm -rf autom4te.cache
%__subst "s|gnome-config|pkg-config|g" src/Makefile.am
%__subst "s|-lgdk ||g" src/Makefile.am
autoreconf -fisv
%configure
cd src
%make
popd

pushd Sources/AutoScan_Agent
rm -rf autom4te.cache
autoreconf -fisv
%configure
cd src
%make
popd

%install
%__install -d %buildroot{%_bindir,%_datadir/{apps,pixmaps}}

%__install -m755 Sources/AutoScan/src/AutoScan_Network %buildroot%_bindir/AutoScan
%__install -m755 Sources/AutoScan_Agent/src/AutoScan_Agent %buildroot%_bindir

%__mkdir_p %buildroot%_menudir %buildroot%_desktopdir
%__install -m644 Sources/AutoScan/AutoScan.desktop %buildroot%_desktopdir
%__install -m644 Sources/AutoScan_Agent/AutoScan_Agent.desktop %buildroot%_desktopdir

freedesktop2menu.pl %name "Networking/Other" \
%buildroot/%_desktopdir/%name.desktop \
%buildroot%_menudir/%name

freedesktop2menu.pl AutoScan_Network "Networking/Other" \
%buildroot%_desktopdir/%name.desktop \
%buildroot%_menudir/AutoScan_Network

cp -R Data/apps/AutoScan %buildroot%_datadir/apps
cp -R Data/pixmaps/AutoScan %buildroot%_datadir/pixmaps

%post
%update_menus

%postun
%clean_menus

%files
%doc README Data/doc/AutoScan
%_bindir/*
%_datadir/apps/%name
%_desktopdir/*
%_menudir/*
%_pixmapsdir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin