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