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