gnome-netstatus.spec revision 14003
10791N/A#
10791N/A# Copyright (c) 2003-2004 Sun Microsystems, Inc.
10791N/A# This file and all modifications and additions to the pristine
10791N/A# package are under the same license as the package itself.
10791N/A# Owner: migi
10791N/A#
10791N/AName: gnome-netstatus
10791N/ALicense: GPL
10791N/AGroup: System/GUI/GNOME
10791N/AVersion: 2.12.1
13358N/ARelease: 1
10791N/ADistribution: Java Desktop System
10791N/AVendor: Sun Microsystems, Inc.
10791N/ASummary: The GNOME Network Monitor Applet
10791N/ASource: http://ftp.gnome.org/pub/GNOME/sources/gnome-netstatus/2.12/%{name}-%{version}.tar.bz2
10791N/A%if %build_l10n
11389N/ASource1: l10n-configure.sh
10791N/A%endif
10791N/ASource2: gnome-netstatus-wireless-icons-0.1.tar.gz
10791N/A#owner:gman date:2005-02-03 type:branding
10791N/APatch1: gnome-netstatus-01-restart.diff
10791N/A#owner:gman date:2005-02-03 type:branding
10791N/APatch2: gnome-netstatus-02-kstat-solaris.diff
10791N/A#owner:dcarbery date:2006-11-16 type:bug bugzilla:375932
10791N/APatch3: gnome-netstatus-03-icon-symlink.diff
10791N/A#owner:mattman date:2007-08-24 type:bug bugster:6577129 bugzilla:469864
10791N/APatch4: gnome-netstatus-04-default-interface.diff
10791N/A#owner:davelam date:2008-05-14 type:bug bugzilla:532095
10791N/APatch5: gnome-netstatus-05-add-ldlibs.diff
10791N/A#owner:dkenny date:2008-08-19 type:bug bugzilla:435668
10791N/APatch6: gnome-netstatus-06-icon-dirs.diff
10791N/A#owner:dkenny date:2008-06-23 type:feature
10791N/APatch7: gnome-netstatus-07-wifi-info.diff
10791N/AURL: http://www.gnome.org
10791N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10791N/ADocdir: %{_defaultdocdir}/gnome-netstatus
10791N/AAutoreqprov: on
10791N/A
10791N/A%define libglade_version 2.3.6
10791N/A%define gnome_panel_version 2.6.1
10791N/A
10791N/ARequires: libglade >= %{libglade_version}
10791N/ARequires: gnome-panel >= %{gnome_panel_version}
10791N/A
10791N/ABuildRequires: libglade-devel >= %{libglade_version}
10791N/ABuildRequires: gnome-panel-devel >= %{gnome_panel_version}
10791N/A
10791N/A%description
11049N/AThis package contains an applet which provides information
11049N/Aabout a network interface on your panel.
10791N/A
10791N/A%prep
10791N/A%setup -q
10791N/A%patch1 -p1
10791N/A%patch2 -p1
10791N/A%patch3 -p1
10791N/A%patch4 -p1
10791N/A%patch5 -p1
10791N/A%patch6 -p1
10791N/A%patch7 -p1
11049N/A
10791N/Acd icons
10791N/Agzip -cd %SOURCE2 | tar xvf -
10791N/Acd ..
10791N/A
10791N/A#FIXME: see below
10791N/Aecho > po/ne.po
10791N/A
10791N/A%build
10791N/A%ifos linux
10791N/Aif [ -x /usr/bin/getconf ]; then
10791N/A CPUS=`getconf _NPROCESSORS_ONLN`
10791N/Afi
10791N/A%else
10791N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10791N/A%endif
10791N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10791N/A CPUS=1
10791N/Afi
10791N/A
10791N/Agnome-doc-common
10791N/Agnome-doc-prepare
10791N/Alibtoolize --force
10791N/Aintltoolize -f -c --automake
10791N/A
10791N/A%if %build_l10n
10791N/Abash -x %SOURCE1 --enable-copyright
10791N/A%endif
10791N/A
10791N/Aaclocal $ACLOCAL_FLAGS
10791N/Aautoheader
10791N/Aautomake -a -c -f
10791N/Aautoconf
10791N/A
10791N/A#FIXME: "ne" po file seems broken, disabling for now
10791N/ALINGUAS="ar az bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu hi hr hu id it ja ko lt mn ms nb nl nn no pa pl pt pt_BR ro ru rw sk sq
10791N/Asr sr@Latn sv ta th tr vi uk wa xh zh_CN zh_TW"
10791N/Aexport LINGUAS
10791N/ACFLAGS="$RPM_OPT_FLAGS" \
10791N/A ./configure \
10791N/A --prefix=%{_prefix} \
10791N/A --libexecdir=%{_libexecdir} \
10791N/A --sysconfdir=%{_sysconfdir} \
10791N/A --disable-scrollkeeper
10791N/A
10791N/Amake -j $CPUS
10791N/A
10791N/A%install
10791N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
10791N/Amake install DESTDIR=$RPM_BUILD_ROOT
10791N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10791N/A
10791N/A%clean
10791N/Arm -rf $RPM_BUILD_ROOT
10791N/A
10791N/A%post
10791N/Aexport GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
10791N/ASCHEMAS="netstatus.schemas"
10791N/Afor S in $SCHEMAS; do
10791N/A gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
10791N/Adone
10791N/A
10791N/A%files
10791N/A%defattr(-,root,root)
10791N/A%doc AUTHORS ChangeLog COPYING NEWS README TODO
10791N/A%doc %{_datadir}/gnome/help/gnome-netstatus
10791N/A%config %{_sysconfdir}/gconf/schemas/*.schemas
10791N/A%{_libdir}/bonobo/servers/*.server
10791N/A%{_libexecdir}/*
10791N/A%{_datadir}/pixmaps/*
10791N/A%{_datadir}/gnome-netstatus/
10791N/A%{_datadir}/gnome/help/*
10791N/A%{_datadir}/gnome-2.0/ui/*.xml
10791N/A%{_datadir}/icons/hicolor/*
10791N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
10791N/A%{_datadir}/omf/gnome-netstatus/*.omf
10791N/A
10791N/A%changelog
10791N/A* Fri Aug 22 2008 - darren.kenny@sun.com
10791N/A- Add patch gnome-netstatus-06-icon-dirs.diff, taken from upstream, to fix
10791N/A location of application icons - bugzilla#435668.
10791N/A- Add wireless support on Solaris - gnome-netstatus-07-wifi-info.diff
10791N/A RFE#6740396.
10791N/A
11269N/A* Wed May 14 2008 - dave.lin@sun.com
11269N/A- Add patch gnome-netstatus-05-add-ldlibs.diff to fix build error
11269N/A
10791N/A* Fri Aug 24 2007 - matt.keenan@sun.com
10791N/A- Fix #6577129 : Default to working interface
10791N/A
10791N/A* Tue Feb 13 2007 - damien.carbery@sun.com
11269N/A- Bump to 2.12.1.
11269N/A
11269N/A* Wed Dec 06 2006 - takao.fujiwara@sun.com
10791N/A- Added intltoolize to read ALL_LINGUAS. Fixes 6499663
10791N/A
10791N/A* Thu Nov 16 2006 - damien.carbery@sun.com
10791N/A- Add patch 04-icon-symlink to make l10n image symlinks relative rather than
10791N/A absolute. Fixes WOS integration issue which prohibits absolute symlinks.
10791N/A Bugzilla 375932.
10791N/A
10791N/A* Mon Oct 03 2005 - damien.carbery@sun.com
10791N/A- Add patch to fix po/ne.po (dos2unix required). Bugzilla 316750.
10791N/A Remove javahelp-convert code as the docs are no longer used.
10791N/A
13358N/A* Thu Sep 15 2005 - brian.cameron@sun.com
13358N/A- Bump to 2.12.0
11282N/A
13358N/A* Fri Jan 14 2005 - kazuhiko.maekawa@sun.com
10791N/A- Updated l10n help tarball for cinnabar-linux
10791N/A
* Tue Dec 21 2004 - vinay.mandyakoppal@wipro.com
- Added gnome-netstatus-06-Shift+F10-not-working.diff to make
Shift+F10 work. Fixes bug#6193273.
* Thu Oct 28 2004 - kazuhiko.maekawa@sun.com
- Updated l10n help tarball and added pt_BR
* Tue Oct 05 2004 - matt.keenan@sun.com
- Removed patch 03-docs.diff #5108690
- Renamed patch 05-g11n-alllinguas.diff to 03-g11n-alllinguas.diff
* Fri Sep 17 2004 - ciaran.mcdermott@sun.com
- Added gnome-netstatus-05-g11n-alllinguas.diff to add zh_TW lingua
* Mon Sep 06 2004 - matt.keenan@sun.com
- Added javahelp-convert for gnome-netstatus docs
* Wed Aug 25 2004 - damien.carbery@sun.com
- Integrated updated docs tarball from breda.mccolgan@sun.com.
* Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com
- Added l10n help contents
* Fri Aug 13 2004 - damien.carbery@sun.com
- Change absolute symlinks to relative for s10 integration. Patch wos_symlinks.
* Mon Aug 09 2004 - takao.fujiwara@sun.com
- Fixed build error.
* Thu Aug 05 2004 - damien.carbery@sun.com
- Integrated docs tarball from breda.mccolgan@sun.com
- Added patch to omit non-C locales from help.
* Fri Jul 23 2004 - muktha.narayan@wipro.com
- Added gnome-netstatus-02-kstat-solaris.diff to use kstat
in Solaris.
* Thu Jul 08 2004 - damien.donlon@sun.com
- Adding gnome-netstatus-l10n-po-1.2.tar.bz2 l10n content
* Thu Jul 08 2004 - stephen.browne@sun.com
- ported to rpm4/suse91
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Mon Jun 14 2004 - misha@sun.com
- Removed upstream patch gnome-netstatus-01-right-click-help.diff
Removed upstream patch gnome-netstatus-02-include-socket-h.diff
Removed upstream patch gnome-netstatus-04-g11n-potfiles.diff
Removed broken patch gnome-netstatus-03-wireless.diff
* Tue Jun 08 2004 - misha@sun.com
- Bump to 2.7.1
Network interface restart patch is added.
* Mon May 23 2004 - yuriy.kuznetsov@sun.com
- Added patch gnome-netstatus-04-g11n-potfiles.diff
* Mon May 17 2004 - damien.carbery@sun.com
- Correct Requires line: iwlib -> wireless-tools.
* Wed May 12 2004 - damien.donlon@sun.com
- Updated l10n content to gnome-netstatus-l10n-po-1.1.tar.bz2
* Tue May 12 2004 - mark.carey@sun.com
- add patch #3 (wireless support linux only)
* Fri May 07 2004 - matt.keenan@sun.com
- Bump to 2.6.1
* Sun May 02 2004 - laca@sun.com
- add patch #2 (include-socket-h) to fix build on Solaris
* Fri Apr 30 2004 - muktha.narayan@wipro.com
- Modified gnome-netstatus-01-right-click-help.diff to
include the 'Help' menu item in GNOME_NetstatusApplet.xml file,
fix a warning and open the correct help page for preference tab.
* Mon Mar 29 2004 - damien.donlon@sun.com
- Updated l10n content to gnome-netstatus-l10n-po-1.0.tar.bz2
* Wed Mar 24 2004 - <glynn.foster@sun.com>
- Bump to 2.6.0. Remove l10n and socksio headers, upstream.
Refactor help patch not to use egg stuff.
* Wed Mar 03 2004 - <niall.power@sun.com>
- Patch #03 to fix build on solaris.
- replace "tar jxf" with "bzcat | tar -xf -"
- run gnome-doc-common and autoheader in build
- specify libexecdir in configure args
* Fri Feb 27 2004 - <matt.keenan@sun.com>
- Fix gnome-netstatus-02-right-click-help.diff as it was not applying... should have bee tested !
- Fix gnome-netstatus-01-i18n.diff : zh_HK bug in patch.... hmmm
* Tue Feb 24 2004 - <shakti.sen@wipro.com>
- Added gnome-netstatus-02-right-click-help.diff to provide right-click help
support for the applet as well as support for multi-head.
* Tue Feb 10 2004 - <matt.keenan@sun.com>
- Bump to 0.14, add docs/l10n, port patches 01/02
* Mon Jul 07 2003 - <markmc@sun.com>
- Move to 0.11
* Thu Jun 12 2003 - <markmc@sun.com>
- Move to 0.10
* Thu Jun 12 2003 - <markmc@sun.com>
- Initial spec file