]> git.pld-linux.org Git - SPECS.git/blob - gpppkill.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gpppkill.spec
1 Summary:        Finishes idle ppp connection. X11/gtk+ program
2 Summary(pl.UTF-8):      Program X11/GTK+ kończący nieaktywne połączenie ppp
3 Name:           gpppkill
4 Version:        1.0.3
5 Release:        0.1
6 Epoch:          1
7 License:        GPL
8 Vendor:         The gpppkill Team
9 Group:          X11/Applications/Networking
10 # Native URL is http: only, but we prefer ftp:
11 # Source0:      http://www.pla.net.py/home/oliver/gpppkill/archive/%{name}-%{version}.tar.gz
12 Source0:        ftp://metalab.unc.edu/pub/Linux/system/network/serial/ppp/%{name}-%{version}.tar.gz
13 # Source0-md5:  222279e531a57ff21b918d04561146ba
14 Patch0:         %{name}-warning.patch
15 URL:            http://www.pla.net.py/home/oliver/gpppkill/
16 BuildRequires:  gtk+-devel
17 BuildRequires:  libstdc++-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 gpppkill is a X11 program for Linux that finishes the ppp connection
22 if it not receive a minimal amount of bytes during certain time. It
23 also show the ppp traffic in a graph. Al configuration is done via the
24 GUI. Detects all pppds and let you choose which to use.
25
26 %description -l pl.UTF-8
27 gpppkill to program dla X, który kończy połączenie ppp jeśli w danym
28 okresie czasu nie otrzyma minimalnej ilości bajtów. Ukazuje on również
29 ruch ppp w formie wykresu. Konfiguruje się go za pomocą GUI. Wykrywa
30 wszystkie pppd i pyta, którego użyć.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__make} \
38         CC="%{__cxx}" \
39         CFLAGS="%{rpmcxxflags} -Wall -Wno-unused -Wno-deprecated -fpermissive -DGTK_DISABLE_COMPAT_H"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_bindir}
44
45 install gpppkill $RPM_BUILD_ROOT%{_bindir}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc CHANGELOG CONTRIBUTORS README
53 %attr(755,root,root) %{_bindir}/*
This page took 0.990738 seconds and 3 git commands to generate.