Browse Source

update: xfce4-{battery,clipman,systemload}-plugin
NEW: xfce4-wavelan-plugin


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3935 ec354946-7b23-47d6-9f5a-488ba84defc7

inagaki 13 years ago
parent
commit
c9a1c5bbd2

+ 48 - 23
x/xfce4-battery-plugin/xfce4-battery-plugin-vl.spec

@@ -1,49 +1,74 @@
-Summary: Battery monitor panel plugin for XFce4.
-Summary(ja): XFce4迕田永氾伉□棘骰皿仿弘奶件
 Name: xfce4-battery-plugin
-Version: 0.2.0
-Release: 0vl4
-License: BSD
+Summary: Battery monitor for the Xfce panel
+Summary(ja): Xfce �㻫��怎鍂�僐�����潛𧙗閬硔��押��扎�
+Version: 1.0.0
+Release: 1%{?_dist_release}
+
 Group: User Interface/Desktops
-URL: http://xfce-goodies.berlios.de/
-Source0: http://download.berlios.de/xfce-goodies/%{name}-%{version}.tar.gz
-Patch: read_acad_status.patch
+License: GPLv2+
+URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
+
+Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.0/%{name}-%{version}.tar.bz2
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Requires: xfce4-panel
-Requires: XOrg-libs atk glib2 glibc gtk2 libxfce4util libxfcegui4 libxml2 pango zlib
-BuildRequires: xfce4-panel
-BuildRequires: XOrg-devel atk-devel glib2-devel glibc-devel gtk2-devel libxfce4util-devel libxfcegui4-devel libxml2-devel pango-devel zlib-devel
+BuildRequires: gtk2-devel >= 2.6.0
+BuildRequires: libxfce4util-devel >= 4.3.90.2
+BuildRequires: libxfcegui4-devel >= 4.3.90.2
+BuildRequires: xfce4-panel-devel >= 4.3.90.2
+BuildRequires: libxml2-devel
+BuildRequires: gettext
+BuildRequires: perl-XML-Parser
+Requires: xfce4-panel >= 4.4.0
+Requires(posttrans): gtk2
+Requires(postun): gtk2
 
 %description
 A battery monitor panel plugin for Xfce4, written by Nick Penwarden and
 Edscott Wilson Garcia, compatible with APM and ACPI, for Linux and *BSD.
 
 %description -l ja
-Nick Penwarden 午 Edscott Wilson Garcia 互踏中凶 XFce4 迕及田永氾伉□棘骰由
-生伙皿仿弘奶件匹允﹝Linux 午 *BSD 及 APM 午 ACPI 匹⑹綜仄引允﹝
-
-%prep
-rm -rf %{buildroot}
+Nick Penwarden �� Edscott Wilson Garcia �峕㮾��� Xfce4 �具��僐�����潛𧙗閬硔�
+�溻��𨰜��啜��喋��踺��inux �� *BSD �� APM �� ACPI �批�雿栶��整���
 
+%prep 
 %setup -q
-%patch -b .orig
 
 %build
-%configure
+%configure --disable-static
 make
 
 %install
-%makeinstall plugindir=%{buildroot}%{_libdir}/xfce4/panel-plugins
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT 
+
+%find_lang %{name}
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+
+%posttrans 
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+%postun 
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+    gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog README
-%{_libdir}/xfce4/panel-plugins/*
+%{_libexecdir}/xfce4/panel-plugins/xfce4-battery-plugin
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/xfce4/panel-plugins/*.desktop
 
 %changelog
+* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1
+- updated to 1.0.0
+
 * Mon Jan 24 2005 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl4
 - build against Xfce 4.2
 

+ 79 - 16
x/xfce4-clipman-plugin/xfce4-clipman-plugin-vl.spec

@@ -1,43 +1,106 @@
-Summary: 	Clipboard history plugin for the XFce4 panel
-Summary(ja): 	XFce4用クリップボード履歴監視プラグイン
 Name: 		xfce4-clipman-plugin
-Version: 	0.8.0
-Release: 	2%{?_dist_release}
-License:	BSD
-URL: 		http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin
-Source0: 	http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2
+Summary:        Clipboard manager plugin for the Xfce panel
+Summary(ja):    Xfce パネル用クリップボード管理プラグイン
+Version:        1.1.3
+Release: 	1%{?_dist_release}
+
 Group: 		User Interface/Desktops
+License:	GPLv2+
+URL: 		http://goodies.xfce.org/projects/panel-plugins/%{name}
+
+Source0: 	http://archive.xfce.org/src/panel-plugins/%{name}/1.1/%{name}-%{version}.tar.bz2
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=552892
+# https://bugzilla.redhat.com/show_bug.cgi?id=552895
+# fixed with a rebased version of
+# http://git.xfce.org/panel-plugins/xfce4-clipman-plugin/commit/?id=d06e35ee62a0477adc84b5d7aeb29e348bb0b813
+Patch0:         xfce4-clipman-plugin-1.1.3-fix-possible-NULL-values.patch
+#
+# build with 4.7.x exo
+# http://bugzilla.xfce.org/show_bug.cgi?id=6853
+#
+Patch1:		xfce4-clipman-plugin-1.1.3-use-exo.patch
+
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
-#BuildRequires:	XOrg-devel, glib2-devel, gtk2-devel, libxfcegui4-devel, libxfce4util-devel
+BuildRequires:  libxfcegui4-devel >= 4.4.0
+BuildRequires:  xfce4-panel-devel >= 4.4.0
+BuildRequires:  libexo-devel >= 0.3.0 
+BuildRequires:  libglade2-devel >= 2.6.0
+BuildRequires:  xfconf-devel >= 4.6.0
+BuildRequires:  unique-devel >= 1.0.0
+BuildRequires:  gettext, intltool, desktop-file-utils
+Requires:       xfce4-panel >= 4.4.0
 
 %description
-xfce4-clipman is a clipboard history plugin for the XFce4 panel.
+xfce4-clipman is a clipboard history plugin for the Xfce4 panel.
 
 %description -l ja
-xfce4-clipmanはXFce4用のクリップボード履歴監視プラグインです。
+xfce4-clipman は Xfce パネル用のクリップボード履歴管理プラグインです.
 
 %prep
 %setup -q
+%patch0 -p1 -b .null-value
+%patch1 -p1 -b .exo-build
 
 %build
-./configure --prefix=/usr
-make
+%configure --disable-static
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install-strip
 
+%find_lang %{name}
+
+desktop-file-install                                      \
+  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
+  --add-category=X-Xfce                                   \
+  --delete-original                                       \
+  ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
+
+desktop-file-install                                      \
+  --dir ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart     \
+  --add-category=X-Xfce                                   \
+  --delete-original                                       \
+  ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
 %defattr(-,root,root)
-%doc README ChangeLog INSTALL COPYING AUTHORS NEWS THANKS TODO
+%doc AUTHORS COPYING ChangeLog NEWS README TODO
 %{_libexecdir}/xfce4/panel-plugins/%{name}
-%{_datadir}/xfce4/panel-plugins/clipman.desktop
-%{_localedir}/*/LC_MESSAGES/%{name}.mo
+%config %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
+%config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml
+%{_bindir}/xfce4-clipman
+%{_bindir}/xfce4-clipman-settings
+%{_bindir}/xfce4-popup-clipman
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
+%{_datadir}/xfce4/doc/*/images/clipman-*.png
+%{_datadir}/xfce4/doc/*/%{name}.html
+%{_datadir}/xfce4/panel-plugins/%{name}.desktop
 
 %changelog
+* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
+- updated to 1.1.3
+- added Patch1 from Fedora for building with new libexo
+- added BR: unique-devel
+
 * Mon Oct 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-2vl5
 - applied new versioning policy, spec in utf-8
 

+ 20 - 10
x/xfce4-systemload-plugin/xfce4-systemload-plugin-vl.spec

@@ -1,14 +1,20 @@
-Summary: System Load plugin for XFce4
-Summary(ja): XFce4用システムロードプラグイン
+Summary: System Load plugin for Xfce
+Summary(ja): Xfce 用システム負荷監視プラグイン
 Name: xfce4-systemload-plugin
-Version: 0.4.2
+Version: 1.0.0
 Release: 1%{?_dist_release}
+
 License: BSD
 Group: User Interface/Desktops
-URL: http://xfce-goodies.berlios.de/
-Source0: http://goodies.xfce.org/releases/xfce4-systemload-plugin/%{name}-%{version}.tar.bz2
+URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
+
+Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.0/%{name}-%{version}.tar.bz2
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: gtk2-devel libxfce4util-devel libxfcegui4-devel
+BuildRequires: gtk2-devel >= 2.6.0
+BuildRequires: libxfce4util-devel >= 4.3.99.1
+BuildRequires: libxfcegui4-devel >= 4.3.99.1
+BuildRequires: xfce4-panel-devel >= 4.3.99.1
 
 %description
 A system load plugin for the Xfce4 desktop environment, written by Riccardo
@@ -16,9 +22,9 @@ Persichetti. It displays the current CPU load, the memory in use, the swap
 space and the system uptime in the Xfce4 panel.
 
 %description -l ja
-Riccardo Persichetti が書いた XFce4 デスクトップ環境用のシステムロードプラグ
-インです。CPU負荷、メモリ使用量、スワップスペース、システム稼働時間を XFce4
-パネルに表示します。
+Riccardo Persichetti が書いた Xfce デスクトップ環境用のシステム負荷監視
+プラグインです.CPU負荷、メモリ使用量、スワップスペース、システム稼働時間
+を Xfce パネルに表示します.
 
 %prep
 rm -rf %{buildroot}
@@ -26,7 +32,7 @@ rm -rf %{buildroot}
 %setup -q
 
 %build
-%configure
+%configure --disable-static
 make
 
 %install
@@ -43,6 +49,10 @@ rm -rf %{buildroot}
 %{_datadir}/xfce4/panel-plugins/systemload.desktop
 
 %changelog
+* Sun May 22 2011 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1
+- updated to 1.0.0
+- added BR: xfce4-panel-devel
+
 * Mon Oct 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.2-1vl5
 - applied new versioning policy, spec in utf-8
 

+ 126 - 0
x/xfce4-wavelan-plugin/xfce4-wavelan-plugin-vl.spec

@@ -0,0 +1,126 @@
+%global minor_version 0.5
+
+Name:           xfce4-wavelan-plugin
+Summary:        WaveLAN plugin for the Xfce panel
+Summary(ja):    Xfce パネル用無線 LAN プラグイン
+Version:        0.5.6
+Release:        4%{?_dist_release}
+
+Group:          User Interface/Desktops
+License:        BSD
+URL:            http://goodies.xfce.org/projects/panel-plugins/%{name}
+
+Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  libxfcegui4-devel >= 4.3.20
+BuildRequires:  libxml2-devel
+BuildRequires:  xfce4-panel-devel >= 4.3.20
+BuildRequires:  gettext, intltool
+Requires:       xfce4-panel >= 4.4.0
+
+%description
+A plugin for the Xfce panel that monitors a wireless LAN interface. It 
+displays stats for signal state, signal quality and network name (SSID).
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+%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
+
+%changelog
+* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5.6-4
+- initial build for Vine Linux
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Dec 13 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.6-2
+- Rebuild for xfce4-panel 4.7
+
+* Mon Dec 13 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.6-1
+- Update to 0.5.6
+- Drop DSO patch (no longer needed)
+
+* Tue Feb 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.5-3
+- Add patch to fix DSO linking (#564776)
+
+* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri Apr 10 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.5-1
+- Update to 0.5.5
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.4-5
+- Rebuild for Xfce 4.6 (Beta 3)
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.4-4
+- Autorebuild for GCC 4.3
+
+* Sat Aug 25 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.4-3
+- Rebuild for BuildID feature 
+
+* Sat Apr 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.4-2
+- Rebuild for Xfce 4.4.1
+
+* Sun Feb 25 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.4-1
+- Update to 0.5.4.
+
+* Mon Jan 22 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.3-4
+- Rebuild for Xfce 4.4.
+
+* Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.3-3
+- Bump release for devel checkin.
+
+* Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.3-2
+- Rebuild for XFCE 4.3.99.1.
+- BR perl(XML::Parser).
+
+* Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.3-1
+- Update to 0.5.3 on XFCE 4.3.90.2.
+
+* Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.1-7
+- Mass rebuild for Fedora Core 6.
+
+* Tue Apr 11 2006 Christoph Wickert <fedora wickert at arcor de> - 0.4.1-6
+- Require xfce4-panel.
+
+* Thu Feb 16 2006 Christoph Wickert <fedora wickert at arcor de> - 0.4.1-5
+- Rebuild for Fedora Extras 5.
+
+* Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.1-4
+- Add libxfcegui4-devel BuildReqs.
+- Fix %%defattr.
+
+* Mon Nov 14 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.1-3
+- Initial Fedora Extras version.
+- Rebuild for XFCE 4.2.3.
+- disable-static instead of removing .a files.
+
+* Fri Sep 23 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.1-2.fc4.cw
+- Add libxml2 BuildReqs.
+
+* Sat Jul 09 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.1-1.fc4.cw
+- Rebuild for Core 4.
+
+* Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.1-1.fc3.cw
+- Initial RPM release.