Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > c75f3d40b9ed1205cc4234d2014e8ec2 > files > 3

penggy-0.2.1-5mdv2008.1.src.rpm

%define name penggy
%define version 0.2.1
%define release %mkrel 5

Summary:	UNIX client for AOL
Name:		%{name}
Version:	%{version}
Release:	%{release}
Group:		Networking/Remote access
License:	GPL
URL:		http://peng.apinc.org
Source:		http://download.penggy.org/sources/%{name}-%{version}.tar.bz2
Patch0:		penggy-modem.patch.bz2
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	guile-devel

%description
Penggy is a free UNIX client for AOL. It allows UNIX users to connect
to the Internet using AOL, through an IP tunneling system.

%prep
rm -rf $RPM_BUILD_ROOT
%setup

%patch0 -p1

%build
%configure --target="" --enable-dsl --enable-flap --enable-cable

%make

%install
%makeinstall
%find_lang %{name}

%post
# script for launch of tun. Important, tun is available as module with mdk9.0
# launch tun if it is'nt still
if ! (lsmod | grep -q tun) then
  echo "Launching tun."; modprobe tun; result=$?
  if [ "$result" ]; then
    echo "Error launching tun !"
  fi
else
  echo "Tun module is still running."
fi
# initialise launching of tun at boot time
if ! (grep -q tun -r /etc/modules) then
  echo "Adding tun in /etc/modules ."
  echo tun >> /etc/modules
else
  echo "Tun already in /etc/modules, nothing to do."
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%{_sbindir}/%{name}
%{_datadir}/%{name}/chat/*
%defattr(-,root,root,0755)
%doc COPYING DISCLAIMER INSTALL README TODO
%config(noreplace) %{_sysconfdir}/%{name}/*



%changelog
* Mon Feb 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.2.1-5mdv2008.1
+ Revision: 171021
- rebuild
- summary is not licence tag
- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.2.1-4mdv2008.1
+ Revision: 131088
- kill re-definition of %%buildroot on Pixel's request
- import penggy


* Mon Jan 16 2006 Lenny Cartier <lenny@mandriva.com> 0.2.1-4mdk
- rebuild with patch from Dale Parquette <ParquetteD@aol.com> :
- Issues resolved:
- 1. Fixed late exiting of nested loops.
- 2. The modem now hangs-up the phone between dial-in attempts.
- 3. The previously unused MODEM_RETRY_DELAY parm is now coded.
- 4. Retrying of a given telephone number now agrees with penggy.cfg file.


* Tue Jan 03 2006 Lenny Cartier <lenny@mandriva.com> 0.2.1-3mdk
- rebuild

* Fri Jan  2 2004 Pixel <pixel@mandrakesoft.com> 0.2.1-2mdk
- rebuild for libguile12
- no need for requiring old libguile

* Wed Apr 02 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2.1-1mdk
- from Carlier Laurent <lordheavy@infonie.fr> :
	- New version