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