140 lines
4.3 KiB
RPMSpec
140 lines
4.3 KiB
RPMSpec
Name: rp-pppoe
|
|
Version: 3.11
|
|
Release: 1mamba
|
|
Summary: Roaring Penguins' implementation of Point-to-Point Protocol over Ethernet
|
|
Group: Applications/Networking
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.roaringpenguin.com/pppoe
|
|
Source0: http://www.roaringpenguin.com/files/download/rp-pppoe-%{version}.tar.gz
|
|
Source1: %{name}.desktop
|
|
Patch0: %{name}-3.8-scripts.patch
|
|
Patch1: %{name}-3.8-allow_root_use.patch
|
|
Patch2: %{name}-3.8-conf.patch
|
|
Patch3: %{name}-3.8-ppp_enable_logfile.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: ppp >= 2.4.3-3
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by many ADSL Internet Service Providers.
|
|
Roaring Penguin has a free client for Linux, NetBSD and Solaris systems to connect to PPPoE service providers.
|
|
If you have a DSL "modem" and your provider uses PPPoE, you need a PPPoE client.
|
|
|
|
%package gui
|
|
Summary: Tk PPP Over Ethernet Client (xDSL support)
|
|
Group: Graphical Desktop/Applications/Networking
|
|
Requires: /usr/bin/wish
|
|
Requires: %{name} = %{version}
|
|
|
|
%description gui
|
|
This is a graphical wrapper around the rp-pppoe PPPoE client.
|
|
PPPoE is a protocol used by many DSL Internet Service Providers.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
#%patch3 -p1
|
|
|
|
%build
|
|
cd src
|
|
./configure --mandir=%{_mandir}
|
|
%make \
|
|
docdir=%{_datadir}/doc/rp-pppoe \
|
|
PPPD_PATH=%{_sbindir}/pppd
|
|
cd ..
|
|
|
|
%make -C gui \
|
|
docdir=%{_datadir}/doc/%{name}-%{version} \
|
|
PPPD_PATH=%{_sbindir}/pppd
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C src \
|
|
docdir=%{_datadir}/doc/%{name}-%{version}
|
|
|
|
%makeinstall -C gui
|
|
|
|
# install entry in KDE menu
|
|
install -D -m644 %{S:1} \
|
|
%{buildroot}/usr/share/applications/tkpppoe.desktop
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_sbindir}/*
|
|
%dir %{_datadir}/doc/%{name}-%{version}
|
|
%{_datadir}/doc/%{name}-%{version}/*
|
|
#%{_initrddir}/adsl
|
|
%config(noreplace) %{_sysconfdir}/ppp/*
|
|
%{_mandir}/man1/pppoe-wrapper.*
|
|
%{_mandir}/man8/*
|
|
%{_mandir}/man5/*
|
|
|
|
%files gui
|
|
%defattr(-,root,root)
|
|
%{_bindir}/tkpppoe
|
|
%dir %{_datadir}/tkpppoe
|
|
%{_datadir}/tkpppoe/*
|
|
%{_datadir}/applications/tkpppoe.desktop
|
|
%{_mandir}/man1/tkpppoe.*
|
|
|
|
%changelog
|
|
* Sun Aug 19 2012 Automatic Build System <autodist@mambasoft.it> 3.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jan 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10-3mamba
|
|
- don't own /etc/ppp
|
|
|
|
* Sat Mar 27 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.10-2mamba
|
|
- fixed the path of pppd
|
|
|
|
* Thu Sep 25 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10-1mamba
|
|
- automatic update to 3.10 by autodist
|
|
|
|
* Sat Nov 03 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8-4mamba
|
|
- pppoe-connect: disable dhcp client running on ethernet interface before connecting
|
|
|
|
* Tue Oct 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8-3mamba
|
|
- pppoe-connect: add logfile option (/var/log/pppd.log) to pppd
|
|
|
|
* Thu Oct 04 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8-2mamba
|
|
- re-added scripts patch for openmamba
|
|
- source0 link fixed
|
|
- set eth0 as the default interface
|
|
|
|
* Tue Aug 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8-1mamba
|
|
- update to 3.8
|
|
|
|
* Tue Jun 06 2006 Massimo Pintore <massimo.pintore@qilinux.it> 3.5-7qilnx
|
|
- updated tkpppoe.desktop file
|
|
|
|
* Tue Feb 07 2006 Davide Madrisan <davide.madrisan@qilinux.it> 3.5-6qilnx
|
|
- fixed package groups
|
|
- desktop file translated in french, german and spanish
|
|
|
|
* Thu Nov 03 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.5-5qilnx
|
|
- wish (libtk) required by %{name} gui
|
|
- specfile updates
|
|
|
|
* Mon Dec 20 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5-4qilnx
|
|
- fixes for integration with ppp 2.4.2-5qilnx
|
|
|
|
* Tue Mar 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5-3qilnx
|
|
- removed tk requirement of the gui
|
|
|
|
* Thu Mar 25 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5-2qilnx
|
|
- rebuild with pppd path pointing to /usr/sbin/pppd instead of /usr/bin/pppd
|
|
|
|
* Thu Jun 19 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5-1qilnx
|
|
- first build of rp-pppoe
|