]> git.pld-linux.org Git - packages/echoping.git/blame - echoping.spec
Make all plugins work
[packages/echoping.git] / echoping.spec
CommitLineData
fec4ca46 1Summary: Non-suid ping
541918f4 2Summary(pl.UTF-8): ping bez suida
fec4ca46 3Name: echoping
66b0d4ea 4Version: 6.0.2
723f6cde 5Release: 7
fec4ca46
PG
6License: GPL v2
7Group: Networking/Admin
66b0d4ea
TP
8Source0: http://dl.sourceforge.net/echoping/%{name}-%{version}.tar.gz
9# Source0-md5: 991478532b56ab3b6f46ea9fa332626f
723f6cde
JR
10Patch0: echoping-no-versioned-modules.patch
11Patch1: echoping-so.patch
fec4ca46 12URL: http://echoping.sourceforge.net/
723f6cde
JR
13BuildRequires: autoconf
14BuildRequires: automake
2f645fe6 15BuildRequires: libidn-devel
723f6cde 16BuildRequires: libtool
decc275f 17BuildRequires: openldap-devel >= 2.4.6
66b0d4ea 18BuildRequires: openssl-devel
fec4ca46 19BuildRequires: popt-devel
15d4b9e3 20BuildRequires: postgresql-devel
723f6cde 21Obsoletes: echoping-libs
fec4ca46
PG
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
bd3e5c06
JB
25"echoping" is a small program to test (approximatively) performances
26of a remote host by sending it TCP "echo" (or other protocol, such as
27HTTP) packets.
28
4b461641
JR
29%description -l pl.UTF-8
30echoping to mały program do sprawdzania (przybliżonej) wydajności
31zdalnego hosta poprzez wysyłanie pakietów TCP "echo" (lub innego
32protokołu, jak np. HTTP).
fec4ca46 33
15d4b9e3 34%package devel
35Summary: Header files for echoping library
36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki echoping
37Group: Development/Libraries
723f6cde 38Requires: %{name} = %{version}-%{release}
15d4b9e3 39
40%description devel
41Header files for echoping library.
42
43%description devel -l pl.UTF-8
44Pliki 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}
57cd plugins
58%{__libtoolize}
59%{__aclocal} -I .
60%{__autoconf}
61%{__automake}
62cd -
63for d in dns ldap postgresql random whois ; do
64 cd plugins/$d
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %{__autoheader}
69 %{__automake}
70 cd -
71done
2f645fe6 72%configure \
66b0d4ea
TP
73 --with-ssl \
74 --without-gnutls \
2f645fe6 75 --disable-static
723f6cde 76
fec4ca46
PG
77%{__make}
78
79%install
80rm -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
88rm -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
This page took 0.088845 seconds and 4 git commands to generate.