- use optflags, pl fix, more verbose files
--- /dev/null
+--- wvdial-1.61/Makefile.in.orig 2008-10-22 22:01:09.000000000 +0200
++++ wvdial-1.61/Makefile.in 2014-12-31 15:52:42.812661627 +0100
+@@ -34,7 +34,7 @@
+ wvdialmon.o
+
+ wvdial wvdialconf papchaptest pppmon: \
+- LDFLAGS+=-luniconf -lwvstreams -lwvutils -lwvbase
++ LIBS+=-luniconf -lwvstreams -lwvutils -lwvbase
+
+ wvdial wvdialconf papchaptest pppmon: wvdial.a
+
Name: wvdial
Version: 1.61
Release: 2
Name: wvdial
Version: 1.61
Release: 2
Group: Networking/Daemons
Source0: http://wvstreams.googlecode.com/files/%{name}-%{version}.tar.gz
# Source0-md5: acd3b2050c9b65fff2aecda6576ee7bc
Group: Networking/Daemons
Source0: http://wvstreams.googlecode.com/files/%{name}-%{version}.tar.gz
# Source0-md5: acd3b2050c9b65fff2aecda6576ee7bc
+Patch0: %{name}-link.patch
URL: http://alumnit.ca/wiki/index.php?page=WvDial
BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
URL: http://alumnit.ca/wiki/index.php?page=WvDial
BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
input the username, password, and phone number, and then WvDial will
negotiate the PPP connection using any mechanism needed.
input the username, password, and phone number, and then WvDial will
negotiate the PPP connection using any mechanism needed.
-Install wvdial if you need a utility to configure your modem and set
-up a PPP connection.
-
-WvDial automatycznie wyszukuje i konfiguruje modem, i może sie
+WvDial automatycznie wyszukuje i konfiguruje modem, i potrafi się
zalogować do praktycznie każdego serwera dostawcy usług internetowych
zalogować do praktycznie każdego serwera dostawcy usług internetowych
-(ISP). Potrzebujesz podać nazwę użytkownika, hasło i numer telefonu, a
+(ISP). Trzeba wprowadzić nazwę użytkownika, hasło i numer telefonu, a
WvDial wynegocjuje połączenie PPP używając potrzebnych mechanizmów.
%prep
%setup -q
WvDial wynegocjuje połączenie PPP używając potrzebnych mechanizmów.
%prep
%setup -q
-%configure
-%{__make} -j1
+# not autoconf generated, no arguments used
+./configure
+%{__make} -j1 \
+ CC="%{__cc}" \
+ CXX="%{__cxx}" \
+ CPPOPTS="%{rpmcppflags}" \
+ COPTS="%{rpmcflags}" \
+ CXXOPTS="%{rpmcppflags}" \
+ VERBOSE=1 \
+ WVSTREAMS_LIB=. \
+ enable_debug=no
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%files
%defattr(644,root,root,755)
-%doc README CHANGES FAQ TODO MENUS
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man?/*
-%config %{_sysconfdir}/ppp/peers/*
+%doc CHANGES ChangeLog FAQ MENUS README TODO
+%attr(755,root,root) %{_bindir}/wvdial
+%attr(755,root,root) %{_bindir}/wvdialconf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ppp/peers/wvdial
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ppp/peers/wvdial-pipe
+%{_mandir}/man1/wvdial.1*
+%{_mandir}/man1/wvdialconf.1*
+%{_mandir}/man5/wvdial.conf.5*