]> git.pld-linux.org Git - packages/autoscan-network.git/blob - autoscan-network.spec
775e88871d5f383d040f1b918c9c58e73975165d
[packages/autoscan-network.git] / autoscan-network.spec
1 %define         _subver R1
2 Summary:        AutoScan - a utility for network exploration
3 Summary(pl):    AutoScan - narzêdzie do odkrywania sieci
4 Name:           AutoScan
5 Version:        0.95
6 Release:        0.%{_subver}.1
7 License:        GPL
8 Group:          Networking
9 Source0:        http://autoscan.free.fr/%{name}-%{version}-%{_subver}.tar.gz
10 # Source0-md5:  ccf781b778cc4da781f2a7b26bc49e0a
11 URL:            http://autoscan.free.fr/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  libgtkhtml-devel
16 BuildRequires:  libsmbclient-devel
17 Requires:       kdelibs
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The objective of the program is to post the list of all equipment
22 connected to the network. A list of ports preset is scanned for each
23 equipment.
24
25 %description -l pl
26 Celem tego programu jest wskazanie wszystkich urz±dzeñ pod³±czonych do
27 sieci. Dla ka¿dego urz±dzenia przedstawiana jest lista otwartych
28 portów.
29
30 %prep
31 %setup -q
32
33 %build
34 cd Sources/Autoscan
35 rm -rf autom4te.cache
36 %{__gettextize}
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42 cd src
43 %{__make}
44 cd ../../../
45
46 cd Sources/AutoScan_d
47 rm -rf autom4te.cache
48 %{__gettextize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure
54 cd src
55 %{__make}
56 cd ../../../
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/{apps,pixmaps}}
61
62 install Sources/Autoscan/src/autoscan $RPM_BUILD_ROOT%{_bindir}/AutoScan
63 install Sources/AutoScan_d/src/autoscan_d $RPM_BUILD_ROOT%{_bindir}
64 cp -R Data/apps/AutoScan $RPM_BUILD_ROOT%{_datadir}/apps
65 cp -R Data/pixmaps/AutoScan $RPM_BUILD_ROOT%{_datadir}/pixmaps
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc README Data/doc/AutoScan
73 %attr(755,root,root) %{_bindir}/*
74 %{_datadir}/apps/%{name}
75 %{_datadir}/pixmaps/%{name}
This page took 0.050299 seconds and 3 git commands to generate.