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