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