]>
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 |
978dc7f2 | 5 | Release: 4 |
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 | |
fec4ca46 | 10 | URL: http://echoping.sourceforge.net/ |
2f645fe6 | 11 | BuildRequires: libidn-devel |
decc275f | 12 | BuildRequires: openldap-devel >= 2.4.6 |
66b0d4ea | 13 | BuildRequires: openssl-devel |
fec4ca46 | 14 | BuildRequires: popt-devel |
15d4b9e3 | 15 | BuildRequires: postgresql-devel |
16 | Requires: %{name}-libs = %{version}-%{release} | |
fec4ca46 PG |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
bd3e5c06 JB |
20 | "echoping" is a small program to test (approximatively) performances |
21 | of a remote host by sending it TCP "echo" (or other protocol, such as | |
22 | HTTP) packets. | |
23 | ||
4b461641 JR |
24 | %description -l pl.UTF-8 |
25 | echoping to mały program do sprawdzania (przybliżonej) wydajności | |
26 | zdalnego hosta poprzez wysyłanie pakietów TCP "echo" (lub innego | |
27 | protokołu, jak np. HTTP). | |
fec4ca46 | 28 | |
15d4b9e3 | 29 | %package devel |
30 | Summary: Header files for echoping library | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki echoping | |
32 | Group: Development/Libraries | |
33 | Requires: %{name}-libs = %{version}-%{release} | |
34 | ||
35 | %description devel | |
36 | Header files for echoping library. | |
37 | ||
38 | %description devel -l pl.UTF-8 | |
39 | Pliki nagłówkowe echoping library. | |
40 | ||
41 | %package libs | |
42 | Summary: echoping libraries | |
43 | Summary(pl.UTF-8): Biblioteki echoping | |
44 | Group: Libraries | |
45 | ||
46 | %description libs | |
47 | echoping libraries. | |
48 | ||
49 | %description libs -l pl.UTF-8 | |
50 | Biblioteki echoping. | |
51 | ||
fec4ca46 | 52 | %prep |
275020ae | 53 | %setup -q |
fec4ca46 PG |
54 | |
55 | %build | |
2f645fe6 | 56 | %configure \ |
66b0d4ea TP |
57 | --with-ssl \ |
58 | --without-gnutls \ | |
2f645fe6 | 59 | --disable-static |
fec4ca46 PG |
60 | %{__make} |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
2f645fe6 JB |
68 | rm -f $RPM_BUILD_ROOT%{_libdir}/echoping/*.la |
69 | ||
fec4ca46 PG |
70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
2f645fe6 | 75 | %doc AUTHORS ChangeLog DETAILS PLUGINS README TODO |
15d4b9e3 | 76 | %attr(755,root,root) %{_bindir}/echoping |
2f645fe6 | 77 | %{_mandir}/man1/echoping* |
15d4b9e3 | 78 | |
79 | %files devel | |
80 | %defattr(644,root,root,755) | |
81 | %{_libdir}/echoping/dns.so | |
82 | %{_libdir}/echoping/ldap.so | |
83 | %{_libdir}/echoping/postgresql.so | |
84 | %{_libdir}/echoping/random.so | |
85 | %{_libdir}/echoping/whois.so | |
30d79298 | 86 | %dir %{_includedir}/echoping |
15d4b9e3 | 87 | %{_includedir}/echoping/*.h |
88 | ||
89 | %files libs | |
90 | %defattr(644,root,root,755) | |
91 | %dir %{_libdir}/echoping | |
92 | %attr(755,root,root) %{_libdir}/echoping/dns.so.*.* | |
93 | %attr(755,root,root) %ghost %{_libdir}/echoping/dns.so.0 | |
94 | %attr(755,root,root) %{_libdir}/echoping/ldap.so.*.* | |
95 | %attr(755,root,root) %ghost %{_libdir}/echoping/ldap.so.0 | |
96 | %attr(755,root,root) %{_libdir}/echoping/postgresql.so.*.* | |
97 | %attr(755,root,root) %ghost %{_libdir}/echoping/postgresql.so.0 | |
98 | %attr(755,root,root) %{_libdir}/echoping/random.so.*.* | |
99 | %attr(755,root,root) %ghost %{_libdir}/echoping/random.so.0 | |
100 | %attr(755,root,root) %{_libdir}/echoping/whois.so.*.* | |
101 | %attr(755,root,root) %ghost %{_libdir}/echoping/whois.so.0 |