author | gman |
Thu, 30 Sep 2010 21:37:28 +0000 | |
branch | gnome-2-30 |
changeset 20130 | c7dfc176dcbd |
parent 18066 | 1847ff0f1078 |
child 18266 | 113621622ba8 |
child 20266 | 8bea88f4b589 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
18066 | 2 |
# Copyright (c) 2003-2010 Sun Microsystems, Inc. |
9397 | 3 |
# This file and all modifications and additions to the pristine |
4 |
# package are under the same license as the package itself. |
|
16434 | 5 |
%define owner migi |
9397 | 6 |
# |
16426 | 7 |
|
17852 | 8 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16426 | 9 |
|
14402 | 10 |
%include l10n.inc |
9397 | 11 |
Name: gnome-netstatus |
18066 | 12 |
License: GPLv2 |
9397 | 13 |
Group: System/GUI/GNOME |
18066 | 14 |
Version: 2.28.1 |
9397 | 15 |
Release: 1 |
16 |
Distribution: Java Desktop System |
|
17864 | 17 |
Vendor: Gnome Community |
9397 | 18 |
Summary: The GNOME Network Monitor Applet |
16660 | 19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-netstatus/2.28/%{name}-%{version}.tar.bz2 |
12031 | 20 |
%if %build_l10n |
14402 | 21 |
Source1: l10n-configure.sh |
12031 | 22 |
%endif |
13588 | 23 |
Source2: gnome-netstatus-wireless-icons-0.2.tar.gz |
14402 | 24 |
%if %build_l10n |
25 |
Source3: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
|
26 |
%endif |
|
9397 | 27 |
#owner:gman date:2005-02-03 type:branding |
16660 | 28 |
Patch1: gnome-netstatus-01-kstat-solaris.diff |
9397 | 29 |
#owner:gman date:2005-02-03 type:branding |
16660 | 30 |
Patch2: gnome-netstatus-02-restart-wifiinfo.diff |
10370
0390a0304a75
* base-specs/gnome-netstatus-applet.spec : Fix bug bugster:6577129,
mattman
parents:
9397
diff
changeset
|
31 |
#owner:mattman date:2007-08-24 type:bug bugster:6577129 bugzilla:469864 |
16660 | 32 |
Patch3: gnome-netstatus-03-default-interface.diff |
9397 | 33 |
URL: http://www.gnome.org |
34 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
35 |
Docdir: %{_defaultdocdir}/gnome-netstatus |
|
36 |
Autoreqprov: on |
|
37 |
||
38 |
%define libglade_version 2.3.6 |
|
39 |
%define gnome_panel_version 2.6.1 |
|
40 |
||
41 |
Requires: libglade >= %{libglade_version} |
|
42 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
43 |
||
44 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
45 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
|
46 |
||
47 |
%description |
|
48 |
This package contains an applet which provides information |
|
49 |
about a network interface on your panel. |
|
50 |
||
51 |
%prep |
|
52 |
%setup -q |
|
14402 | 53 |
%if %build_l10n |
54 |
bzcat %SOURCE3 | tar xf - |
|
55 |
cd po-sun; make; cd .. |
|
56 |
%endif |
|
9397 | 57 |
%patch1 -p1 |
58 |
%patch2 -p1 |
|
16660 | 59 |
%patch3 -p1 |
13261 | 60 |
|
61 |
cd icons |
|
62 |
gzip -cd %SOURCE2 | tar xvf - |
|
63 |
cd .. |
|
9397 | 64 |
|
65 |
#FIXME: see below |
|
66 |
echo > po/ne.po |
|
67 |
||
68 |
%build |
|
69 |
%ifos linux |
|
70 |
if [ -x /usr/bin/getconf ]; then |
|
71 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
72 |
fi |
|
73 |
%else |
|
74 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
75 |
%endif |
|
76 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
77 |
CPUS=1 |
|
78 |
fi |
|
79 |
||
80 |
gnome-doc-common |
|
81 |
gnome-doc-prepare |
|
82 |
libtoolize --force |
|
83 |
intltoolize -f -c --automake |
|
12031 | 84 |
|
85 |
%if %build_l10n |
|
86 |
bash -x %SOURCE1 --enable-copyright |
|
87 |
%endif |
|
88 |
||
9397 | 89 |
aclocal $ACLOCAL_FLAGS |
90 |
autoheader |
|
91 |
automake -a -c -f |
|
92 |
autoconf |
|
93 |
||
94 |
#FIXME: "ne" po file seems broken, disabling for now |
|
95 |
LINGUAS="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 |
|
96 |
sr sr@Latn sv ta th tr vi uk wa xh zh_CN zh_TW" |
|
97 |
export LINGUAS |
|
98 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
99 |
./configure \ |
|
100 |
--prefix=%{_prefix} \ |
|
101 |
--libexecdir=%{_libexecdir} \ |
|
102 |
--sysconfdir=%{_sysconfdir} \ |
|
103 |
--disable-scrollkeeper |
|
104 |
||
105 |
make -j $CPUS |
|
106 |
||
107 |
%install |
|
108 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
109 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
110 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
111 |
||
112 |
%clean |
|
113 |
rm -rf $RPM_BUILD_ROOT |
|
114 |
||
115 |
%post |
|
116 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
117 |
SCHEMAS="netstatus.schemas" |
|
118 |
for S in $SCHEMAS; do |
|
119 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
120 |
done |
|
121 |
||
122 |
%files |
|
123 |
%defattr(-,root,root) |
|
124 |
%doc AUTHORS ChangeLog COPYING NEWS README TODO |
|
125 |
%doc %{_datadir}/gnome/help/gnome-netstatus |
|
126 |
%config %{_sysconfdir}/gconf/schemas/*.schemas |
|
127 |
%{_libdir}/bonobo/servers/*.server |
|
128 |
%{_libexecdir}/* |
|
129 |
%{_datadir}/pixmaps/* |
|
130 |
%{_datadir}/gnome-netstatus/ |
|
131 |
%{_datadir}/gnome/help/* |
|
132 |
%{_datadir}/gnome-2.0/ui/*.xml |
|
133 |
%{_datadir}/icons/hicolor/* |
|
134 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
135 |
%{_datadir}/omf/gnome-netstatus/*.omf |
|
136 |
||
137 |
%changelog |
|
18066 | 138 |
* Wed Jun 02 2010 - [email protected] |
139 |
- Bump to 2.28.1. |
|
140 |
* Fri Feb 26 2009 - [email protected] |
|
17599 | 141 |
- Removed gnome-netstatus-04-hwaddr.diff. |
142 |
- Updated patch02 to back out the code for nwam-manager interface. |
|
16857 | 143 |
* Mon Oct 26 2009 - [email protected] |
144 |
- Added gnome-netstatus-04-hwaddr.diff: |
|
16660 | 145 |
* Fri Sep 25 2009 - [email protected] |
18066 | 146 |
- Bump to 2.28.0. |
16660 | 147 |
- Reworked gnome-netstatus-01-kstat-solaris.diff and moved |
18066 | 148 |
from gnome-netstatus-02-kstat-solaris.diff. |
16660 | 149 |
- Merged gnome-netstatus-01-restart.diff and |
150 |
gnome-netstatus-05-wifi-info.diff into |
|
18066 | 151 |
gnome-netstatus-02-restart-wifiinfo.diff. |
16660 | 152 |
- gnome-netstatus-02-restart-wifiinfo.diff rework needed |
18066 | 153 |
due to change from libglade to GtkBuilder. |
16660 | 154 |
- gnome-netstatus-03-default-interface.diff reworked |
18066 | 155 |
from gnome-netstatus-04-default-interface.diff. |
15386
e8877e71c767
* base-specs/gnome-icon-theme.spec: Bump to 2.25.92.
davelam
parents:
14962
diff
changeset
|
156 |
* Fri Mar 13 2009 - [email protected] |
18066 | 157 |
- Bump to 2.26.0. |
15386
e8877e71c767
* base-specs/gnome-icon-theme.spec: Bump to 2.25.92.
davelam
parents:
14962
diff
changeset
|
158 |
- Removed upstreamed patch 03-icon-symlink.diff. |
14473 | 159 |
* Fri Oct 17 2008 - [email protected] |
160 |
- Updated 03-icon-symlink.diff because *-wifi-info.diff modifies |
|
161 |
icons/Makefile.am and *.png files are not installed. Fixes 6759654. |
|
162 |
- Updated 06-wifi-info.diff to localize "none" and "open". Fixes 6761162. |
|
14402 | 163 |
* Wed Oct 01 2008 - [email protected] |
164 |
- Add l10n tarball. |
|
13806 | 165 |
* Mon Sep 28 2008 - [email protected] |
166 |
- Bump to 2.12.2 remove upstream patch gnome-netstatus-06-icon-dirs.diff, and |
|
167 |
renumber existing patches. |
|
13588 | 168 |
* Mon Sep 15 2008 - [email protected] |
169 |
- Fix bug#6748400, to update to use new mechanism for icons and enable support |
|
170 |
for nimbus icons. |
|
13261 | 171 |
* Fri Aug 22 2008 - [email protected] |
172 |
- Add patch gnome-netstatus-06-icon-dirs.diff, taken from upstream, to fix |
|
173 |
location of application icons - bugzilla#435668. |
|
174 |
- Add wireless support on Solaris - gnome-netstatus-07-wifi-info.diff |
|
175 |
RFE#6740396. |
|
12292
9fea8698dbfd
Add ld flags in Makefile.am to fix the build error.
davelam
parents:
12031
diff
changeset
|
176 |
* Wed May 14 2008 - [email protected] |
18066 | 177 |
- Add patch gnome-netstatus-05-add-ldlibs.diff to fix build error. |
10370
0390a0304a75
* base-specs/gnome-netstatus-applet.spec : Fix bug bugster:6577129,
mattman
parents:
9397
diff
changeset
|
178 |
* Fri Aug 24 2007 - [email protected] |
18066 | 179 |
- Fix #6577129 : Default to working interface. |
9397 | 180 |
* Tue Feb 13 2007 - [email protected] |
181 |
- Bump to 2.12.1. |
|
182 |
* Wed Dec 06 2006 - [email protected] |
|
18066 | 183 |
- Added intltoolize to read ALL_LINGUAS. Fixes 6499663. |
9397 | 184 |
* Thu Nov 16 2006 - [email protected] |
185 |
- Add patch 04-icon-symlink to make l10n image symlinks relative rather than |
|
186 |
absolute. Fixes WOS integration issue which prohibits absolute symlinks. |
|
187 |
Bugzilla 375932. |
|
188 |
* Mon Oct 03 2005 - [email protected] |
|
189 |
- Add patch to fix po/ne.po (dos2unix required). Bugzilla 316750. |
|
190 |
Remove javahelp-convert code as the docs are no longer used. |
|
191 |
* Thu Sep 15 2005 - [email protected] |
|
18066 | 192 |
- Bump to 2.12.0. |
9397 | 193 |
* Fri Jan 14 2005 - [email protected] |
18066 | 194 |
- Updated l10n help tarball for cinnabar-linux. |
9397 | 195 |
* Tue Dec 21 2004 - [email protected] |
196 |
- Added gnome-netstatus-06-Shift+F10-not-working.diff to make |
|
197 |
Shift+F10 work. Fixes bug#6193273. |
|
198 |
* Thu Oct 28 2004 - [email protected] |
|
18066 | 199 |
- Updated l10n help tarball and added pt_BR. |
9397 | 200 |
* Tue Oct 05 2004 - [email protected] |
18066 | 201 |
- Removed patch 03-docs.diff #5108690. |
202 |
- Renamed patch 05-g11n-alllinguas.diff to 03-g11n-alllinguas.diff. |
|
9397 | 203 |
* Fri Sep 17 2004 - [email protected] |
18066 | 204 |
- Added gnome-netstatus-05-g11n-alllinguas.diff to add zh_TW lingua. |
9397 | 205 |
* Mon Sep 06 2004 - [email protected] |
18066 | 206 |
- Added javahelp-convert for gnome-netstatus docs. |
9397 | 207 |
* Wed Aug 25 2004 - [email protected] |
208 |
- Integrated updated docs tarball from [email protected]. |
|
209 |
* Wed Aug 25 2004 - [email protected] |
|
18066 | 210 |
- Added l10n help contents. |
9397 | 211 |
* Fri Aug 13 2004 - [email protected] |
212 |
- Change absolute symlinks to relative for s10 integration. Patch wos_symlinks. |
|
213 |
* Mon Aug 09 2004 - [email protected] |
|
214 |
- Fixed build error. |
|
215 |
* Thu Aug 05 2004 - [email protected] |
|
18066 | 216 |
- Integrated docs tarball from [email protected]. |
9397 | 217 |
- Added patch to omit non-C locales from help. |
218 |
* Fri Jul 23 2004 - [email protected] |
|
219 |
- Added gnome-netstatus-02-kstat-solaris.diff to use kstat |
|
220 |
in Solaris. |
|
221 |
* Thu Jul 08 2004 - [email protected] |
|
18066 | 222 |
- Adding gnome-netstatus-l10n-po-1.2.tar.bz2 l10n content. |
9397 | 223 |
* Thu Jul 08 2004 - [email protected] |
18066 | 224 |
- ported to rpm4/suse91. |
9397 | 225 |
* Wed Jul 07 2004 - [email protected] |
18066 | 226 |
- added "-j $CPUS" to make to speed up builds. |
9397 | 227 |
* Mon Jun 14 2004 - [email protected] |
228 |
- Removed upstream patch gnome-netstatus-01-right-click-help.diff |
|
229 |
Removed upstream patch gnome-netstatus-02-include-socket-h.diff |
|
230 |
Removed upstream patch gnome-netstatus-04-g11n-potfiles.diff |
|
18066 | 231 |
Removed broken patch gnome-netstatus-03-wireless.diff. |
9397 | 232 |
* Tue Jun 08 2004 - [email protected] |
18066 | 233 |
- Bump to 2.7.1. |
9397 | 234 |
Network interface restart patch is added. |
235 |
* Mon May 23 2004 - [email protected] |
|
18066 | 236 |
- Added patch gnome-netstatus-04-g11n-potfiles.diff. |
9397 | 237 |
* Mon May 17 2004 - [email protected] |
238 |
- Correct Requires line: iwlib -> wireless-tools. |
|
239 |
* Wed May 12 2004 - [email protected] |
|
18066 | 240 |
- Updated l10n content to gnome-netstatus-l10n-po-1.1.tar.bz2. |
9397 | 241 |
* Tue May 12 2004 - [email protected] |
18066 | 242 |
- add patch #3 (wireless support linux only). |
9397 | 243 |
* Fri May 07 2004 - [email protected] |
18066 | 244 |
- Bump to 2.6.1. |
9397 | 245 |
* Sun May 02 2004 - [email protected] |
18066 | 246 |
- add patch #2 (include-socket-h) to fix build on Solaris. |
9397 | 247 |
* Fri Apr 30 2004 - [email protected] |
248 |
- Modified gnome-netstatus-01-right-click-help.diff to |
|
249 |
include the 'Help' menu item in GNOME_NetstatusApplet.xml file, |
|
250 |
fix a warning and open the correct help page for preference tab. |
|
251 |
* Mon Mar 29 2004 - [email protected] |
|
18066 | 252 |
- Updated l10n content to gnome-netstatus-l10n-po-1.0.tar.bz2. |
9397 | 253 |
* Wed Mar 24 2004 - <[email protected]> |
254 |
- Bump to 2.6.0. Remove l10n and socksio headers, upstream. |
|
255 |
Refactor help patch not to use egg stuff. |
|
256 |
* Wed Mar 03 2004 - <[email protected]> |
|
257 |
- Patch #03 to fix build on solaris. |
|
18066 | 258 |
- replace "tar jxf" with "bzcat | tar -xf -". |
259 |
- run gnome-doc-common and autoheader in build. |
|
260 |
- specify libexecdir in configure args. |
|
9397 | 261 |
* Fri Feb 27 2004 - <[email protected]> |
18066 | 262 |
- Fix gnome-netstatus-02-right-click-help.diff as it was not applying... should |
263 |
have bee tested! |
|
264 |
- Fix gnome-netstatus-01-i18n.diff : zh_HK bug in patch.... hmmm. |
|
9397 | 265 |
* Tue Feb 24 2004 - <[email protected]> |
266 |
- Added gnome-netstatus-02-right-click-help.diff to provide right-click help |
|
267 |
support for the applet as well as support for multi-head. |
|
268 |
* Tue Feb 10 2004 - <[email protected]> |
|
18066 | 269 |
- Bump to 0.14, add docs/l10n, port patches 01/02. |
9397 | 270 |
* Mon Jul 07 2003 - <[email protected]> |
18066 | 271 |
- Move to 0.11. |
9397 | 272 |
* Thu Jun 12 2003 - <[email protected]> |
18066 | 273 |
- Move to 0.10. |
9397 | 274 |
* Thu Jun 12 2003 - <[email protected]> |
18066 | 275 |
- Initial spec file. |