]> git.pld-linux.org Git - packages/wvdial.git/blob - wvdial.spec
22f38ef306bb21ecc9dd72216fb2510a2f3ab5b6
[packages/wvdial.git] / wvdial.spec
1 Summary:        A heuristic autodialer for PPP connections
2 Summary(pl.UTF-8):      Heurystyczny "autowydzwaniacz" dla połączeń PPP
3 Name:           wvdial
4 Version:        1.60
5 Release:        2
6 License:        LGPL
7 Group:          Networking/Daemons
8 Source0:        http://alumnit.ca/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  27fbbde89f8fd9f6e735a8efa5217fc9
10 Patch0:         %{name}-as_needed-fix.patch
11 URL:            http://alumnit.ca/wiki/index.php?page=WvDial
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  wvstreams-devel >= 4.5
14 Requires:       ppp >= 2.4.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 WvDial automatically locates and configures modems and can log into
19 almost any ISP's server without special configuration. You need to
20 input the username, password, and phone number, and then WvDial will
21 negotiate the PPP connection using any mechanism needed.
22
23 Install wvdial if you need a utility to configure your modem and set
24 up a PPP connection.
25
26 %description -l pl.UTF-8
27 WvDial automatycznie wyszukuje i konfiguruje modem, i może sie
28 zalogować do praktycznie każdego serwera dostawcy usług internetowych
29 (ISP). Potrzebujesz podać nazwę użytkownika, hasło i numer telefonu, a
30 WvDial wynegocjuje połączenie PPP używając potrzebnych mechanizmów.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__make} \
38         CXX="%{__cxx}" \
39         PREFIX=%{_prefix} \
40         BINDIR=%{_bindir} \
41         MANDIR=%{_mandir} \
42         COPTS="%{rpmcflags}" \
43         CXXOPTS="%{rpmcflags}" \
44         LDOPTS="%{rpmldflags}"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} install \
49         PREFIX=$RPM_BUILD_ROOT%{_prefix} \
50         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
51         MANDIR=$RPM_BUILD_ROOT%{_mandir} \
52         PPPDIR=$RPM_BUILD_ROOT%{_sysconfdir}/ppp/peers
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README CHANGES FAQ TODO MENUS
60 %attr(755,root,root) %{_bindir}/*
61 %{_mandir}/man?/*
62 %config %{_sysconfdir}/ppp/peers/*
This page took 0.069896 seconds and 3 git commands to generate.