]> git.pld-linux.org Git - packages/amap.git/blob - amap.spec
- tabs in preamble
[packages/amap.git] / amap.spec
1 Summary:        Amap - a next-generation scanning tool
2 Summary(pl.UTF-8):      Amap - skaner "następnej generacji"
3 Name:           amap
4 Version:        5.2
5 Release:        1
6 License:        GPL
7 Group:          Networking
8 Source0:        http://thc.segfault.net/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  e3b1f5ebd24aac03aacb38ec183eb426
10 Patch0:         %{name}-destdir.patch
11 Patch1:         %{name}-path.patch
12 URL:            http://thc.segfault.net/thc-amap/
13 BuildRequires:  pcre-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Amap is a next-generation scanning tool, which identifies applications
18 and services even if they are not listening on the default port by
19 creating a bogus-communication and analyzing the responses.
20
21 %description -l pl.UTF-8
22 Amap jest skanerem "następnej generacji", który identyfikuje aplikacje
23 i usługi nawet gdy nie nasłuchują na domyślnych portach poprzez
24 tworzenie pseudo komunikacji i analizie odpowiedzi.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29 %patch1 -p1
30
31 %build
32 ./configure \
33         --prefix=%{_prefix}
34 %{__make} strip
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT \
41         DATADIR=%{_datadir}/%{name} \
42         PREFIX=%{_prefix} \
43         MANDIR=%{_mandir}/man1
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc CHANGES README TODO
51 %attr(755,root,root) %{_bindir}/*
52 %{_mandir}/man1/amap.1*
53 %{_datadir}/%{name}
This page took 0.145294 seconds and 3 git commands to generate.