]> git.pld-linux.org Git - packages/wvdial.git/blob - wvdial.spec
- added link patch (fixes build with -as-needed)
[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.61
5 Release:        2
6 License:        LGPL v2
7 Group:          Networking/Daemons
8 Source0:        http://wvstreams.googlecode.com/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  acd3b2050c9b65fff2aecda6576ee7bc
10 Patch0:         %{name}-link.patch
11 URL:            http://alumnit.ca/wiki/index.php?page=WvDial
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  pkgconfig
14 BuildRequires:  wvstreams-devel >= 4.5
15 Requires:       ppp >= 2.4.0
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 %description -l pl.UTF-8
25 WvDial automatycznie wyszukuje i konfiguruje modem, i potrafi się
26 zalogować do praktycznie każdego serwera dostawcy usług internetowych
27 (ISP). Trzeba wprowadzić nazwę użytkownika, hasło i numer telefonu, a
28 WvDial wynegocjuje połączenie PPP używając potrzebnych mechanizmów.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 # not autoconf generated, no arguments used
36 ./configure
37 %{__make} -j1 \
38         CC="%{__cc}" \
39         CXX="%{__cxx}" \
40         CPPOPTS="%{rpmcppflags}" \
41         COPTS="%{rpmcflags}" \
42         CXXOPTS="%{rpmcppflags}" \
43         VERBOSE=1 \
44         WVSTREAMS_LIB=. \
45         enable_debug=no
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 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc CHANGES ChangeLog FAQ MENUS README TODO
61 %attr(755,root,root) %{_bindir}/wvdial
62 %attr(755,root,root) %{_bindir}/wvdialconf
63 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ppp/peers/wvdial
64 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ppp/peers/wvdial-pipe
65 %{_mandir}/man1/wvdial.1*
66 %{_mandir}/man1/wvdialconf.1*
67 %{_mandir}/man5/wvdial.conf.5*
This page took 0.10512 seconds and 3 git commands to generate.