]> git.pld-linux.org Git - packages/amap.git/blob - amap.spec
f7765d95fac00e9bc9ae43261a0430f46cc5313d
[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:        2
6 License:        GPL v2 with exceptions (see LICENCE.AMAP)
7 Group:          Networking
8 Source0:        http://freeworld.thc.org/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  e3b1f5ebd24aac03aacb38ec183eb426
10 Patch0:         %{name}-destdir.patch
11 Patch1:         %{name}-path.patch
12 Patch2:         %{name}-ldflags.patch
13 Patch3:         %{name}-new-homepage.patch
14 Patch4:         %{name}-system-pcre.patch
15 URL:            http://www.thc.org/thc-amap/
16 BuildRequires:  openssl-devel
17 BuildRequires:  pcre-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Amap is a next-generation scanning tool, which identifies applications
22 and services even if they are not listening on the default port by
23 creating a bogus-communication and analyzing the responses.
24
25 %description -l pl.UTF-8
26 Amap jest skanerem "następnej generacji", który identyfikuje aplikacje
27 i usługi nawet gdy nie nasłuchują na domyślnych portach poprzez
28 tworzenie pseudo komunikacji i analizie odpowiedzi.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34 %patch2 -p1
35 %patch3 -p1
36 %patch4 -p1
37
38 %build
39 ./configure \
40         --prefix=%{_prefix}
41
42 %{__make} \
43         CC="%{__cc}" \
44         OPT="%{rpmcflags}" \
45         LDFLAGS="%{rpmldflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc CHANGES README TODO LICENCE.AMAP
59 %attr(755,root,root) %{_bindir}/amap
60 %attr(755,root,root) %{_bindir}/amap6
61 %attr(755,root,root) %{_bindir}/amapcrap
62 %{_mandir}/man1/amap.1*
63 %{_datadir}/%{name}
This page took 0.06993 seconds and 2 git commands to generate.