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