]>
Commit | Line | Data |
---|---|---|
fec4ca46 | 1 | Summary: Non-suid ping |
541918f4 | 2 | Summary(pl.UTF-8): ping bez suida |
fec4ca46 | 3 | Name: echoping |
66b0d4ea | 4 | Version: 6.0.2 |
74b0c9d2 | 5 | Release: 10 |
fec4ca46 PG |
6 | License: GPL v2 |
7 | Group: Networking/Admin | |
66b0d4ea TP |
8 | Source0: http://dl.sourceforge.net/echoping/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 991478532b56ab3b6f46ea9fa332626f | |
723f6cde JR |
10 | Patch0: echoping-no-versioned-modules.patch |
11 | Patch1: echoping-so.patch | |
74b0c9d2 | 12 | Patch2: gcc10.patch |
fec4ca46 | 13 | URL: http://echoping.sourceforge.net/ |
723f6cde JR |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
2f645fe6 | 16 | BuildRequires: libidn-devel |
723f6cde | 17 | BuildRequires: libtool |
decc275f | 18 | BuildRequires: openldap-devel >= 2.4.6 |
66b0d4ea | 19 | BuildRequires: openssl-devel |
fec4ca46 | 20 | BuildRequires: popt-devel |
15d4b9e3 | 21 | BuildRequires: postgresql-devel |
723f6cde | 22 | Obsoletes: echoping-libs |
fec4ca46 PG |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
bd3e5c06 JB |
26 | "echoping" is a small program to test (approximatively) performances |
27 | of a remote host by sending it TCP "echo" (or other protocol, such as | |
28 | HTTP) packets. | |
29 | ||
4b461641 JR |
30 | %description -l pl.UTF-8 |
31 | echoping to mały program do sprawdzania (przybliżonej) wydajności | |
32 | zdalnego hosta poprzez wysyłanie pakietów TCP "echo" (lub innego | |
33 | protokołu, jak np. HTTP). | |
fec4ca46 | 34 | |
15d4b9e3 | 35 | %package devel |
36 | Summary: Header files for echoping library | |
37 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki echoping | |
38 | Group: Development/Libraries | |
723f6cde | 39 | Requires: %{name} = %{version}-%{release} |
15d4b9e3 | 40 | |
41 | %description devel | |
42 | Header files for echoping library. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Pliki nagłówkowe echoping library. | |
46 | ||
fec4ca46 | 47 | %prep |
275020ae | 48 | %setup -q |
723f6cde JR |
49 | %patch0 -p1 |
50 | %patch1 -p1 | |
74b0c9d2 | 51 | %patch2 -p1 |
fec4ca46 PG |
52 | |
53 | %build | |
723f6cde JR |
54 | %{__libtoolize} |
55 | %{__aclocal} | |
56 | %{__autoconf} | |
57 | %{__autoheader} | |
58 | %{__automake} | |
59 | cd plugins | |
60 | %{__libtoolize} | |
61 | %{__aclocal} -I . | |
62 | %{__autoconf} | |
63 | %{__automake} | |
64 | cd - | |
65 | for d in dns ldap postgresql random whois ; do | |
66 | cd plugins/$d | |
67 | %{__libtoolize} | |
68 | %{__aclocal} | |
69 | %{__autoconf} | |
70 | %{__autoheader} | |
71 | %{__automake} | |
72 | cd - | |
73 | done | |
2f645fe6 | 74 | %configure \ |
66b0d4ea TP |
75 | --with-ssl \ |
76 | --without-gnutls \ | |
2f645fe6 | 77 | --disable-static |
723f6cde | 78 | |
fec4ca46 PG |
79 | %{__make} |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %{__make} install \ | |
85 | DESTDIR=$RPM_BUILD_ROOT | |
86 | ||
723f6cde | 87 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/echoping/*.la |
2f645fe6 | 88 | |
fec4ca46 PG |
89 | %clean |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
2f645fe6 | 94 | %doc AUTHORS ChangeLog DETAILS PLUGINS README TODO |
15d4b9e3 | 95 | %attr(755,root,root) %{_bindir}/echoping |
723f6cde JR |
96 | %dir %{_libdir}/echoping |
97 | %attr(755,root,root) %{_libdir}/echoping/dns.so | |
98 | %attr(755,root,root) %{_libdir}/echoping/ldap.so | |
99 | %attr(755,root,root) %{_libdir}/echoping/postgresql.so | |
100 | %attr(755,root,root) %{_libdir}/echoping/random.so | |
101 | %attr(755,root,root) %{_libdir}/echoping/whois.so | |
2f645fe6 | 102 | %{_mandir}/man1/echoping* |
15d4b9e3 | 103 | |
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
30d79298 | 106 | %dir %{_includedir}/echoping |
15d4b9e3 | 107 | %{_includedir}/echoping/*.h |