13390
|
1 |
#
|
|
2 |
# spec file for package nwam-manager
|
|
3 |
#
|
13405
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
13390
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
13405
|
8 |
# Owner: dkenny
|
13390
|
9 |
#
|
|
10 |
%include l10n.inc
|
|
11 |
Name: nwam-manager
|
|
12 |
License: CDDL
|
|
13 |
Group: System/GUI/GNOME
|
14362
|
14 |
Version: 0.5.11
|
13405
|
15 |
Summary: Network Auto-Magic User Interface
|
13460
|
16 |
#Source: http://src.opensolaris.org/source/raw/jds/nwam-manager/branches/phase-0.5/tarballs/%{name}-%{version}.tar.gz
|
|
17 |
Source: http://www.opensolaris.org/os/project/nwam/picea/%{name}-%{version}.tar.gz
|
13390
|
18 |
#Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
|
14384
|
19 |
Patch1: nwam-manager-01-wpa.diff
|
13405
|
20 |
URL: http://www.opensolaris.org/os/project/nwam
|
13390
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
Docdir: %{_defaultdocdir}/%{name}
|
|
23 |
Autoreqprov: on
|
|
24 |
|
|
25 |
%define libgnomeui_version 2.1.5
|
|
26 |
%define glib_version 2.6.0
|
|
27 |
%define gconf_version 2.6.0
|
|
28 |
%define libglade_version 2.6.0
|
|
29 |
%define gtk_version 2.6.0
|
|
30 |
%define libnotify_version 0.3.0
|
|
31 |
|
|
32 |
Requires: libgnomeui >= %{libgnomeui_version}
|
|
33 |
Requires: glib >= %{glib_version}
|
|
34 |
Requires: gconf >= %{gconf_version}
|
|
35 |
Requires: libglade >= %{libglade_version}
|
|
36 |
Requires: gtk >= %{gtk_version}
|
|
37 |
Requires: libnotify >= %{libnotify_version}
|
|
38 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
|
39 |
BuildRequires: glib >= %{glib_version}
|
|
40 |
BuildRequires: gconf >= %{gconf_version}
|
|
41 |
BuildRequires: libglade >= %{libglade_version}
|
|
42 |
BuildRequires: gtk >= %{gtk_version}
|
|
43 |
BuildRequires: libnotify >= %{libnotify_version}
|
|
44 |
|
|
45 |
%description
|
|
46 |
Nwam-manager is a GUI of Nwam http://www.opensolaris.org/os/project/nwam
|
|
47 |
|
|
48 |
%prep
|
|
49 |
%setup -q
|
14384
|
50 |
%patch1 -p1
|
13390
|
51 |
|
|
52 |
%build
|
|
53 |
%ifos linux
|
|
54 |
if [ -x /usr/bin/getconf ]; then
|
|
55 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
56 |
fi
|
|
57 |
%else
|
|
58 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
59 |
%endif
|
|
60 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
61 |
CPUS=1
|
|
62 |
fi
|
|
63 |
|
|
64 |
libtoolize --force
|
|
65 |
intltoolize --force --copy --automake
|
|
66 |
aclocal $ACLOCAL_FLAGS
|
|
67 |
autoheader
|
|
68 |
automake -a -c -f
|
|
69 |
autoconf
|
|
70 |
|
|
71 |
export PKG_CONFIG_PATH="%{_libdir}/pkgconfig:%{_datadir}/pkgconfig"
|
13405
|
72 |
CFLAGS="%optflags" \
|
13390
|
73 |
./configure \
|
|
74 |
--prefix=%{_prefix} \
|
|
75 |
--sysconfdir=%{_sysconfdir} \
|
|
76 |
--libdir=%{_libdir} \
|
|
77 |
--bindir=%{_bindir} \
|
|
78 |
--libexecdir=%{_libexecdir} \
|
|
79 |
--mandir=%{_mandir} \
|
|
80 |
--localstatedir=/var/lib
|
|
81 |
|
13405
|
82 |
make -j $CPUS
|
13390
|
83 |
|
|
84 |
%install
|
|
85 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
86 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
87 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
88 |
|
|
89 |
%clean
|
|
90 |
rm -rf $RPM_BUILD_ROOT
|
|
91 |
|
|
92 |
%files
|
|
93 |
%defattr (-, root, root)
|
|
94 |
%{_bindir}/*
|
|
95 |
%{_sysconfdir}/gconf/schemas
|
|
96 |
%{_libdir}/*
|
|
97 |
%{_libexecdir}/*
|
|
98 |
%{_datadir}/applications
|
|
99 |
%{_datadir}/gnome/help/nwam/*
|
|
100 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
101 |
%{_datadir}/omf/nwam/*
|
|
102 |
%{_datadir}/pixmaps/*
|
|
103 |
%{_datadir}/nwam/*
|
|
104 |
%{_mandir}/man1/nwam*
|
|
105 |
%{_includedir}/nwam/*
|
|
106 |
|
|
107 |
%changelog
|
14384
|
108 |
* Mon Nov 10 2008 - [email protected]
|
|
109 |
- Added patch to fix bug#4677 where WPA passwords are not being passed to NWAM
|
|
110 |
when requested.
|
14362
|
111 |
* Mon Oct 20 2008 - [email protected]
|
|
112 |
- Bump to 0.5.11 to get translations (Bug#6761343) and also fix an issue where
|
|
113 |
NWAM Manager is show messages too early in the login cycle (Bug#6761297).
|
13694
|
114 |
* Fri Sep 19 2008 - [email protected]
|
|
115 |
- Bump to 0.5.10 to get a fix for bug#6750461 where things were crashing when
|
|
116 |
a hot-pluggable wireless interface was plugged in.
|
|
117 |
Also fixed a minor issue where the status icon was being incorrectly updated
|
|
118 |
in this case too.
|
13660
|
119 |
* Thu Sep 18 2008 - [email protected]
|
|
120 |
- Bump to 0.5.9 handle change in some libnwam symbol names.
|
|
121 |
* Wed Sep 17 2008 - [email protected]
|
|
122 |
- Bump to 0.5.8 to get the following fixes:
|
|
123 |
- Fix bug#6744179, always update the notification if user put mouse
|
|
124 |
pointer over message area.
|
|
125 |
- Fix bug#6749315 to allow people to differentiate between an ad-hoc
|
|
126 |
network and AP.
|
|
127 |
- Fix bug#6748692 - Don't show unnecessary messages (for lower-prio
|
|
128 |
interfaces some messages shouldn't be shown).
|
|
129 |
- Several other minor fixes.
|
13557
|
130 |
* Fri Sep 12 2008 - [email protected]
|
13565
|
131 |
- Bump to 0.5.7 to fix issue where wireless connection to a network resulted
|
|
132 |
in more than one attempt to connect. Also fixed issue where wifi_net objects
|
|
133 |
were initialised to connected state incorrectly.
|
|
134 |
* Fri Sep 12 2008 - [email protected]
|
13557
|
135 |
- Bump to 0.5.6 to fix a race-condition where sometimes nwam-manager ceased to
|
|
136 |
work with wireless networks if nwamd was in a specific state.
|
13550
|
137 |
* Thu Sep 11 2008 - [email protected]
|
|
138 |
- Bump to 0.5.5 to get fix for 6747318, and other minor fixes w.r.t. messages.
|
|
139 |
* Wed Sep 10 2008 - [email protected]
|
13520
|
140 |
- Bump to 0.5.4 to fix a stupid mistake with non-population of menu.
|
13550
|
141 |
* Wed Sep 10 2008 - [email protected]
|
13520
|
142 |
- Bump to 0.5.3 to get several minor fixes from feedback on nwam-discuss.
|
13460
|
143 |
* Tue Sep 9 2008 - [email protected]
|
|
144 |
- Change tarball location to somewhere that I know it will be visible
|
|
145 |
immediately on upload.
|
13441
|
146 |
* Mon Sep 8 2008 - [email protected]
|
|
147 |
- Bump to 0.5.2, to get fixes for bugs#6745722,6745720,6745719
|
13429
|
148 |
* Fri Sep 5 2008 - [email protected]
|
|
149 |
- Bump to 0.5.1
|
13405
|
150 |
* Thu Sep 4 2008 - [email protected]
|
|
151 |
- Fix some issues in spec
|
|
152 |
* Wed Sep 3 2008 - [email protected]
|
|
153 |
- Initial delivery.
|