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