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