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