]> git.pld-linux.org Git - packages/wvdial.git/blob - wvdial.spec
- added "BuildRequires: libstdc++-devel".
[packages/wvdial.git] / wvdial.spec
1 Summary:        A heuristic autodialer for PPP connections.
2 Summary(pl):    Heurystyczny "autowydzwaniacz" dla po³±czeñ PPP
3 Name:           wvdial
4 Version:        1.41
5 Release:        4
6 License:        LGPL
7 Group:          Networking/Daemons
8 Group(pl):      Sieciowe/Demony
9 Source0:        http://www.worldvisions.ca/wvdial/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-libs.patch
11 Patch1:         %{name}-type.patch
12 Patch2:         %{name}-nodebug.patch
13 BuildRequires:  libstdc++-devel
14 Requires:       ppp >= 2.3.7
15 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 WvDial automatically locates and configures modems and can log into almost
19 any ISP's server without special configuration. You need to input the
20 username, password, and phone number, and then WvDial will negotiate the
21 PPP connection using any mechanism needed.
22
23 Install wvdial if you need a utility to configure your modem and set up a
24 PPP connection.
25
26 %description -l pl
27 WvDial automatycznie wyszukuje i konfiguruje modem, i mo¿e sie zalogowaæ do
28 praktycznie ka¿dego serwera dostawcy us³ug internetowych (ISP).
29 Potrzebujesz podaæ nazwê u¿ytkownika, has³o i numer telefonu, a WvDial
30 wynegocjuje po³±czenie PPP u¿ywaj±c potrzebnych mechanizmów.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 make \
40         PREFIX=%{_prefix} \
41         BINDIR=%{_bindir} \
42         MANDIR=%{_mandir} \
43         COPTS="$RPM_OPT_FLAGS" \
44         CXXOPTS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates" \
45         LDOPTS="-s"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 make install \
50         PREFIX=$RPM_BUILD_ROOT%{_prefix} \
51         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
52         MANDIR=$RPM_BUILD_ROOT%{_mandir} \
53         PPPDIR=$RPM_BUILD_ROOT%{_sysconfdir}/ppp/peers
54
55 gzip -9nf $RPM_BUILD_ROOT/%{_mandir}/man1/* README CHANGES ANNOUNCE
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc *.gz
63 %attr(0755,root,root)   %{_bindir}/*
64 %attr(0644,root,root)   %{_mandir}/man1/*
65 %attr(0600,root,daemon) %config %{_sysconfdir}/ppp/peers/wvdial
This page took 0.09376 seconds and 4 git commands to generate.