author | lin |
Tue, 08 Mar 2011 09:22:38 +0000 | |
branch | gnome-2-30 |
changeset 21563 | a202edf97bf6 |
parent 21514 | fea08ff2b769 |
child 21677 | 4338475f8e14 |
permissions | -rw-r--r-- |
13390 | 1 |
# |
2 |
# spec file for package nwam-manager |
|
3 |
# |
|
20065
8cf85d0a1d82
Synced relicense/rebranding changes from internal repo.
davelam
parents:
18062
diff
changeset
|
4 |
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. |
13390 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
17071 | 8 |
%define owner lin |
13390 | 9 |
# |
16431 | 10 |
|
17893 | 11 |
%define OSR developed in the open, no OSR needed:n/a |
16431 | 12 |
|
13390 | 13 |
%include l10n.inc |
14 |
Name: nwam-manager |
|
20065
8cf85d0a1d82
Synced relicense/rebranding changes from internal repo.
davelam
parents:
18062
diff
changeset
|
15 |
License: cr_Oracle |
17881 | 16 |
Vendor: Sun Microsystems, Inc. |
13390 | 17 |
Group: System/GUI/GNOME |
21563 | 18 |
Version: 1.162.0 |
13405 | 19 |
Summary: Network Auto-Magic User Interface |
13460 | 20 |
Source: http://www.opensolaris.org/os/project/nwam/picea/%{name}-%{version}.tar.gz |
20204 | 21 |
# owner:lin date:2010-10-21 type:bug |
22 |
Patch1: nwam-manager-01-sa_family.diff |
|
14476 | 23 |
%if %build_l10n |
24 |
Source1: l10n-configure.sh |
|
25 |
%endif |
|
13405 | 26 |
URL: http://www.opensolaris.org/os/project/nwam |
13390 | 27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
28 |
Docdir: %{_defaultdocdir}/%{name} |
|
29 |
Autoreqprov: on |
|
30 |
||
31 |
%define libgnomeui_version 2.1.5 |
|
32 |
%define glib_version 2.6.0 |
|
33 |
%define gconf_version 2.6.0 |
|
34 |
%define libglade_version 2.6.0 |
|
35 |
%define gtk_version 2.6.0 |
|
36 |
%define libnotify_version 0.3.0 |
|
37 |
||
38 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
39 |
Requires: glib >= %{glib_version} |
|
40 |
Requires: gconf >= %{gconf_version} |
|
41 |
Requires: libglade >= %{libglade_version} |
|
42 |
Requires: gtk >= %{gtk_version} |
|
43 |
Requires: libnotify >= %{libnotify_version} |
|
44 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
45 |
BuildRequires: glib >= %{glib_version} |
|
46 |
BuildRequires: gconf >= %{gconf_version} |
|
47 |
BuildRequires: libglade >= %{libglade_version} |
|
48 |
BuildRequires: gtk >= %{gtk_version} |
|
49 |
BuildRequires: libnotify >= %{libnotify_version} |
|
50 |
||
51 |
%description |
|
52 |
Nwam-manager is a GUI of Nwam http://www.opensolaris.org/os/project/nwam |
|
53 |
||
54 |
%prep |
|
55 |
%setup -q |
|
21069 | 56 |
#%patch1 -p1 |
13390 | 57 |
|
58 |
%build |
|
59 |
%ifos linux |
|
60 |
if [ -x /usr/bin/getconf ]; then |
|
61 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
62 |
fi |
|
63 |
%else |
|
64 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
65 |
%endif |
|
66 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
67 |
CPUS=1 |
|
68 |
fi |
|
69 |
||
70 |
libtoolize --force |
|
71 |
intltoolize --force --copy --automake |
|
14476 | 72 |
|
73 |
%if %build_l10n |
|
74 |
sh %SOURCE1 --enable-copyright |
|
75 |
%endif |
|
76 |
||
13390 | 77 |
aclocal $ACLOCAL_FLAGS |
78 |
autoheader |
|
79 |
automake -a -c -f |
|
80 |
autoconf |
|
81 |
||
82 |
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig:%{_datadir}/pkgconfig" |
|
13405 | 83 |
CFLAGS="%optflags" \ |
17600 | 84 |
./configure \ |
85 |
--prefix=%{_prefix} \ |
|
86 |
--sysconfdir=%{_sysconfdir} \ |
|
87 |
--libdir=%{_libdir} \ |
|
88 |
--bindir=%{_bindir} \ |
|
89 |
--libexecdir=%{_libexecdir} \ |
|
90 |
--mandir=%{_mandir} \ |
|
91 |
--enable-private-nwam-headers \ |
|
92 |
--localstatedir=/var/lib |
|
13390 | 93 |
|
13405 | 94 |
make -j $CPUS |
13390 | 95 |
|
96 |
%install |
|
97 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
98 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
99 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
100 |
||
101 |
%clean |
|
102 |
rm -rf $RPM_BUILD_ROOT |
|
103 |
||
104 |
%files |
|
105 |
%defattr (-, root, root) |
|
106 |
%{_bindir}/* |
|
107 |
%{_sysconfdir}/gconf/schemas |
|
108 |
%{_libdir}/* |
|
109 |
%{_libexecdir}/* |
|
110 |
%{_datadir}/applications |
|
111 |
%{_datadir}/gnome/help/nwam/* |
|
112 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
113 |
%{_datadir}/omf/nwam/* |
|
114 |
%{_datadir}/pixmaps/* |
|
115 |
%{_datadir}/nwam/* |
|
116 |
%{_mandir}/man1/nwam* |
|
117 |
%{_includedir}/nwam/* |
|
118 |
||
119 |
%changelog |
|
21563 | 120 |
* Tue Mar 08 2011 - [email protected] |
121 |
- Bump to 1.162.0 |
|
21514 | 122 |
* Fri Feb 25 2011 - [email protected] |
123 |
- Bump to 1.161.0 |
|
124 |
* Fri Jan 28 2011 - [email protected] |
|
21383 | 125 |
- Bump to 1.159.0 |
21069 | 126 |
* Thu Dec 02 2010 - [email protected] |
127 |
- Bump to 1.155.0 |
|
20065
8cf85d0a1d82
Synced relicense/rebranding changes from internal repo.
davelam
parents:
18062
diff
changeset
|
128 |
* Thu Aug 19 2010 - [email protected] |
8cf85d0a1d82
Synced relicense/rebranding changes from internal repo.
davelam
parents:
18062
diff
changeset
|
129 |
- Bump to 1.146.0, update license. |
17816 | 130 |
* Fri Apr 09 2010 - [email protected] |
131 |
- Bump to 1.138.0 |
|
17744 | 132 |
* Tue Mar 23 2010 - [email protected] |
133 |
- Update for phase 1.0.1, removed the flag to use private libs. |
|
17600 | 134 |
* Fri Feb 24 2010 - [email protected] |
135 |
- Update for phase 1.0 |
|
15216 | 136 |
* Tue Feb 24 2009 - [email protected] |
137 |
- Fixed defect 6044. |
|
14805 | 138 |
* Tue Dec 23 2008 - [email protected] |
139 |
- Bump to 0.5.13 and remove upsteam patches. |
|
14595 | 140 |
* Thu Nov 13 2008 - [email protected] |
141 |
- Added patch nwam-manager-02-new-aps.diff to fix bug#6764186 where on some |
|
142 |
machines there are a lot of notifications of new wireless networks being |
|
143 |
found. |
|
14574 | 144 |
* Mon Nov 10 2008 - [email protected] |
145 |
- Added patch to fix bug#4677 where WPA passwords are not being passed to NWAM |
|
146 |
when requested. |
|
14476 | 147 |
* Mon Oct 20 2008 - [email protected] |
148 |
- Added l10n-configure.sh for l10n copyright. |
|
14475 | 149 |
* Mon Oct 20 2008 - [email protected] |
150 |
- Bump to 0.5.11 to get translations (Bug#6761343) and also fix an issue where |
|
151 |
NWAM Manager is show messages too early in the login cycle (Bug#6761297). |
|
13694 | 152 |
* Fri Sep 19 2008 - [email protected] |
153 |
- Bump to 0.5.10 to get a fix for bug#6750461 where things were crashing when |
|
154 |
a hot-pluggable wireless interface was plugged in. |
|
155 |
Also fixed a minor issue where the status icon was being incorrectly updated |
|
156 |
in this case too. |
|
13660 | 157 |
* Thu Sep 18 2008 - [email protected] |
158 |
- Bump to 0.5.9 handle change in some libnwam symbol names. |
|
159 |
* Wed Sep 17 2008 - [email protected] |
|
160 |
- Bump to 0.5.8 to get the following fixes: |
|
161 |
- Fix bug#6744179, always update the notification if user put mouse |
|
162 |
pointer over message area. |
|
163 |
- Fix bug#6749315 to allow people to differentiate between an ad-hoc |
|
164 |
network and AP. |
|
165 |
- Fix bug#6748692 - Don't show unnecessary messages (for lower-prio |
|
166 |
interfaces some messages shouldn't be shown). |
|
167 |
- Several other minor fixes. |
|
13557 | 168 |
* Fri Sep 12 2008 - [email protected] |
13565 | 169 |
- Bump to 0.5.7 to fix issue where wireless connection to a network resulted |
170 |
in more than one attempt to connect. Also fixed issue where wifi_net objects |
|
171 |
were initialised to connected state incorrectly. |
|
172 |
* Fri Sep 12 2008 - [email protected] |
|
13557 | 173 |
- Bump to 0.5.6 to fix a race-condition where sometimes nwam-manager ceased to |
174 |
work with wireless networks if nwamd was in a specific state. |
|
13550 | 175 |
* Thu Sep 11 2008 - [email protected] |
176 |
- Bump to 0.5.5 to get fix for 6747318, and other minor fixes w.r.t. messages. |
|
177 |
* Wed Sep 10 2008 - [email protected] |
|
13520 | 178 |
- Bump to 0.5.4 to fix a stupid mistake with non-population of menu. |
13550 | 179 |
* Wed Sep 10 2008 - [email protected] |
13520 | 180 |
- Bump to 0.5.3 to get several minor fixes from feedback on nwam-discuss. |
13460 | 181 |
* Tue Sep 9 2008 - [email protected] |
182 |
- Change tarball location to somewhere that I know it will be visible |
|
183 |
immediately on upload. |
|
13441 | 184 |
* Mon Sep 8 2008 - [email protected] |
185 |
- Bump to 0.5.2, to get fixes for bugs#6745722,6745720,6745719 |
|
13429 | 186 |
* Fri Sep 5 2008 - [email protected] |
187 |
- Bump to 0.5.1 |
|
13405 | 188 |
* Thu Sep 4 2008 - [email protected] |
189 |
- Fix some issues in spec |
|
190 |
* Wed Sep 3 2008 - [email protected] |
|
191 |
- Initial delivery. |