diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 9cd002d..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -xfce4-modemlights-plugin-0.1.1.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4e00192 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xfce4-modemlights-plugin-0.1.3.99.tar.bz2 diff --git a/sources b/sources new file mode 100644 index 0000000..7c304a7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +aeab49c57bdaeb12a73486515aae50cd xfce4-modemlights-plugin-0.1.3.99.tar.bz2 diff --git a/xfce4-modemlights-plugin-0.1.3.99-ifupdown.patch b/xfce4-modemlights-plugin-0.1.3.99-ifupdown.patch new file mode 100644 index 0000000..9c2aeb8 --- /dev/null +++ b/xfce4-modemlights-plugin-0.1.3.99-ifupdown.patch @@ -0,0 +1,14 @@ +--- xfce4-modemlights-plugin-0.1.3.99.orig/panel-plugin/panel-plugin.c 2007-11-08 09:28:58.000000000 +0100 ++++ xfce4-modemlights-plugin-0.1.3.99/panel-plugin/panel-plugin.c 2007-11-20 20:43:59.000000000 +0100 +@@ -355,9 +355,9 @@ + g_return_if_fail (rc); + + mwp->connection_cmd = +- g_strdup (xfce_rc_read_entry (rc, "connection_cmd", "/usr/bin/pon")); ++ g_strdup (xfce_rc_read_entry (rc, "connection_cmd", "/sbin/ifup")); + mwp->disconnection_cmd = +- g_strdup (xfce_rc_read_entry (rc, "disconnection_cmd", "/usr/bin/poff")); ++ g_strdup (xfce_rc_read_entry (rc, "disconnection_cmd", "/sbin/ifdown")); + mwp->device = + g_strdup (xfce_rc_read_entry (rc, "device", "ppp0")); + mwp->lockfile = diff --git a/xfce4-modemlights-plugin.spec b/xfce4-modemlights-plugin.spec new file mode 100644 index 0000000..7951cd7 --- /dev/null +++ b/xfce4-modemlights-plugin.spec @@ -0,0 +1,80 @@ +Name: xfce4-modemlights-plugin +Version: 0.1.3.99 +Release: 2%{?dist} +Summary: Modemlights for the Xfce panel + +Group: User Interface/Desktops +License: GPLv2 +URL: http://goodies.xfce.org/projects/panel-plugins/%{name} +Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2 +Patch0: %{name}-0.1.3.99-ifupdown.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: xfce4-panel-devel >= 4.4.0, libxfcegui4-devel >= 4.4.0, libxml2-devel +BuildRequires: gettext, perl(XML::Parser) +Requires: xfce4-panel >= 4.4.1, ppp + +%description +A Xfce4 panel applet intended to simplify establishing a ppp connection via +a modem. + +%prep +%setup -q +%patch0 -p1 -b .ifupdown + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog NEWS README +%{_libexecdir}/xfce4/panel-plugins/%{name} +%{_datadir}/xfce4/panel-plugins/*.desktop +%{_datadir}/pixmaps/modem-*.png + +%changelog +* Wed Nov 21 2007 Christoph Wickert - 0.1.3.99-2 +- Require ppp + +* Tue Nov 20 2007 Christoph Wickert - 0.1.3.99-1 +- Update to 0.1.4 RC +- Update license tag + +* Tue Apr 11 2006 Christoph Wickert - 0.1.1-7 +- Require xfce4-panel. + +* Thu Feb 16 2006 Christoph Wickert - 0.1.1-6 +- Rebuild for Fedora Extras 5. + +* Sat Jan 28 2006 Christoph Wickert - 0.1.1-5 +- Add libXt-devel BuildReqs. +- Drop libX11-devel. + +* Fri Dec 30 2005 Christoph Wickert - 0.1.1-4 +- Add libX11-devel BuildReqs for modular X. + +* Thu Dec 01 2005 Christoph Wickert - 0.1.1-3 +- Add libxfcegui4-devel BuildReqs. +- Fix %%defattr. + +* Mon Nov 14 2005 Christoph Wickert - 0.1.1-2 +- Initial Fedora Extras version. +- Rebuild for XFCE 4.2.3. +- disable-static instead of removing .a files. + +* Fri Sep 23 2005 Christoph Wickert - 0.1.1-1.fc4.cw +- Initial Fedora Extras version. +- Update to 0.1.1 +- Add libxml2 BuildReqs. + +* Sat Jul 30 2005 Christoph Wickert - 0.1.0-1.fc4.cw +- Initial RPM release.