X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=autoscan-network.spec;h=e6b57a88663f51828f9d588c34f90f2421f4d5bb;hb=HEAD;hp=775e88871d5f383d040f1b918c9c58e73975165d;hpb=47aac68923409ebdbe0bfb6fc5283427e1e9ceb7;p=packages%2Fautoscan-network.git diff --git a/autoscan-network.spec b/autoscan-network.spec index 775e888..e6b57a8 100644 --- a/autoscan-network.spec +++ b/autoscan-network.spec @@ -1,75 +1,94 @@ -%define _subver R1 Summary: AutoScan - a utility for network exploration -Summary(pl): AutoScan - narzêdzie do odkrywania sieci -Name: AutoScan -Version: 0.95 -Release: 0.%{_subver}.1 -License: GPL -Group: Networking -Source0: http://autoscan.free.fr/%{name}-%{version}-%{_subver}.tar.gz -# Source0-md5: ccf781b778cc4da781f2a7b26bc49e0a +Summary(pl.UTF-8): AutoScan - narzędzie do odkrywania sieci +Name: autoscan-network +Version: 1.12 +Release: 0.1 +License: GPL v2 +Group: X11/Applications/Networking +Source0: http://autoscan.fr/download/%{name}-%{version}.tar.gz +# Source0-md5: 59c94af105807738c379586447755e20 +Patch0: %{name}-install.patch URL: http://autoscan.free.fr/ BuildRequires: autoconf BuildRequires: automake -BuildRequires: gettext-devel +BuildRequires: elfutils-devel +BuildRequires: gettext-tools +BuildRequires: glib2-devel >= 1:2.6.3 +BuildRequires: gnome-keyring-devel >= 0.4.2 +BuildRequires: gnome-vfs2-devel >= 2.8.4 +BuildRequires: gtk+2-devel >= 2:2.6.0 +# disabled in configure +#BuildRequires: gtk-vnc-devel >= 0.2.0 +BuildRequires: libao-devel >= 0.8.5 +BuildRequires: libbonoboui-devel >= 2.8.1 +BuildRequires: libgnomeui-devel >= 2.8.1 BuildRequires: libgtkhtml-devel BuildRequires: libsmbclient-devel -Requires: kdelibs +BuildRequires: libvorbis-devel >= 1:1.1.0 +BuildRequires: libxml2-devel +BuildRequires: net-snmp-devel >= 5.0 +BuildRequires: openssl-devel >= 0.9.7a +BuildRequires: pango-devel >= 1.8.1 +BuildRequires: pkgconfig +BuildRequires: vte-devel >= 0.11.12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. +AutoScan Network is an application designed to explore and to manage +your network. -%description -l pl -Celem tego programu jest wskazanie wszystkich urz±dzeñ pod³±czonych do -sieci. Dla ka¿dego urz±dzenia przedstawiana jest lista otwartych -portów. +Some features: +- Automatic network discovery +- Entire subnets can be scanned simultaneously without human + intervention +- Addition time-reality of the new machines put on the network +- Detection of the OS, brand and model known (possibility to add an + unknown equipment in the database) +- Ability to save the network state +- A Samba share browser +- A Nessus client + +%description -l pl.UTF-8 +AutoScan Network to aplikacja przeznaczona do odkrywania i zarządzania +siecią. + +Wybrane cechy: +- automatyczne odkrywanie sieci +- można skanować jednocześnie całe podsieci bez udziału człowieka +- dodawanie w czasie rzeczywistym nowych maszyn umieszczonych w sieci +- wykrywanie systemu operacyjnego, marki i modelu (z możliwością + dodania nieznanego sprzętu do bazy) +- możliwość zapisu stanu sieci +- przeglądarka udziałów Samby +- klient Nessusa %prep %setup -q +%patch0 -p1 %build -cd Sources/Autoscan -rm -rf autom4te.cache -%{__gettextize} -%{__aclocal} -%{__autoconf} -%{__autoheader} -%{__automake} -%configure -cd src -%{__make} -cd ../../../ - -cd Sources/AutoScan_d -rm -rf autom4te.cache -%{__gettextize} -%{__aclocal} -%{__autoconf} -%{__autoheader} -%{__automake} -%configure -cd src -%{__make} -cd ../../../ +bash configure +%{__make} \ + CC='%{__cc} %{rpmcflags} $(OPTIONS)' %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/{apps,pixmaps}} -install Sources/Autoscan/src/autoscan $RPM_BUILD_ROOT%{_bindir}/AutoScan -install Sources/AutoScan_d/src/autoscan_d $RPM_BUILD_ROOT%{_bindir} -cp -R Data/apps/AutoScan $RPM_BUILD_ROOT%{_datadir}/apps -cp -R Data/pixmaps/AutoScan $RPM_BUILD_ROOT%{_datadir}/pixmaps +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT +mv -f $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png \ + $RPM_BUILD_ROOT%{_pixmapsdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README Data/doc/AutoScan -%attr(755,root,root) %{_bindir}/* +%doc AUTHORS +%attr(755,root,root) %{_bindir}/autoscan-network +%attr(755,root,root) %{_sbindir}/autoscan-network-daemon %{_datadir}/apps/%{name} -%{_datadir}/pixmaps/%{name} +%{_datadir}/sounds/%{name} +%{_desktopdir}/%{name}.desktop +%{_pixmapsdir}/%{name}.png +%{_pixmapsdir}/%{name}