]> git.pld-linux.org Git - packages/echoping.git/blob - echoping.spec
- fix building with gcc 10+, rebuild with openssl 3.0.0, rel 10
[packages/echoping.git] / echoping.spec
1 Summary:        Non-suid ping
2 Summary(pl.UTF-8):      ping bez suida
3 Name:           echoping
4 Version:        6.0.2
5 Release:        7
6 License:        GPL v2
7 Group:          Networking/Admin
8 Source0:        http://dl.sourceforge.net/echoping/%{name}-%{version}.tar.gz
9 # Source0-md5:  991478532b56ab3b6f46ea9fa332626f
10 Patch0:         echoping-no-versioned-modules.patch
11 Patch1:         echoping-so.patch
12 URL:            http://echoping.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libidn-devel
16 BuildRequires:  libtool
17 BuildRequires:  openldap-devel >= 2.4.6
18 BuildRequires:  openssl-devel
19 BuildRequires:  popt-devel
20 BuildRequires:  postgresql-devel
21 Obsoletes:      echoping-libs
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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
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).
33
34 %package devel
35 Summary:        Header files for echoping library
36 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki echoping
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
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
46 %prep
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
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
72 %configure \
73         --with-ssl \
74         --without-gnutls \
75         --disable-static
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/echoping/*.la
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog DETAILS PLUGINS README TODO
93 %attr(755,root,root) %{_bindir}/echoping
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
100 %{_mandir}/man1/echoping*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %dir %{_includedir}/echoping
105 %{_includedir}/echoping/*.h
This page took 0.100462 seconds and 3 git commands to generate.