nwam-manager.spec revision 20183
13269N/A#
13269N/A# spec file for package nwam-manager
7949N/A#
7949N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
7949N/A# This file and all modifications and additions to the pristine
7949N/A# package are under the same license as the package itself.
7949N/A#
13269N/A%define owner lin
7949N/A#
7949N/A
7949N/A%define OSR developed in the open, no OSR needed:n/a
7949N/A
7949N/A%include l10n.inc
13269N/AName: nwam-manager
7949N/ALicense: cr_Oracle
13269N/AVendor: Sun Microsystems, Inc.
10214N/AGroup: System/GUI/GNOME
10214N/AVersion: 1.164.0
10214N/ASummary: Network Auto-Magic User Interface
10214N/ASource: http://www.opensolaris.org/os/project/nwam/picea/%{name}-%{version}.tar.gz
10214N/A# owner:lin date:2010-10-21 type:bug
10214N/APatch1: nwam-manager-01-sa_family.diff
10214N/A%if %build_l10n
13269N/ASource1: l10n-configure.sh
10214N/A%endif
10214N/AURL: http://www.opensolaris.org/os/project/nwam
10214N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13269N/ADocdir: %{_defaultdocdir}/%{name}
13269N/AAutoreqprov: on
13269N/A
13269N/A%define libgnomeui_version 2.1.5
13269N/A%define glib_version 2.6.0
13269N/A%define gconf_version 2.6.0
13269N/A%define libglade_version 2.6.0
13269N/A%define gtk_version 2.6.0
13269N/A%define libnotify_version 0.3.0
13269N/A
13269N/ARequires: libgnomeui >= %{libgnomeui_version}
13269N/ARequires: glib >= %{glib_version}
10214N/ARequires: gconf >= %{gconf_version}
10214N/ARequires: libglade >= %{libglade_version}
10214N/ARequires: gtk >= %{gtk_version}
10214N/ARequires: libnotify >= %{libnotify_version}
10214N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
13269N/ABuildRequires: glib >= %{glib_version}
10214N/ABuildRequires: gconf >= %{gconf_version}
10214N/ABuildRequires: libglade >= %{libglade_version}
10214N/ABuildRequires: gtk >= %{gtk_version}
10214N/ABuildRequires: libnotify >= %{libnotify_version}
10214N/A
10214N/A%description
10214N/ANwam-manager is a GUI of Nwam http://www.opensolaris.org/os/project/nwam
10864N/A
10864N/A%prep
10864N/A%setup -q
10864N/A#%patch1 -p1
13113N/A
13113N/A%build
10864N/A%ifos linux
10864N/Aif [ -x /usr/bin/getconf ]; then
10864N/A CPUS=`getconf _NPROCESSORS_ONLN`
13831N/Afi
13831N/A%else
13831N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
13831N/A%endif
13831N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13831N/A CPUS=1
13831N/Afi
13831N/A
13831N/Alibtoolize --force
13831N/Aintltoolize --force --copy --automake
13831N/A
13831N/A%if %build_l10n
13831N/Ash %SOURCE1 --enable-copyright
13831N/A%endif
13831N/A
13831N/Aaclocal $ACLOCAL_FLAGS
13831N/Aautoheader
13831N/Aautomake -a -c -f
13831N/Aautoconf
13831N/A
13831N/Aexport PKG_CONFIG_PATH="%{_libdir}/pkgconfig:%{_datadir}/pkgconfig"
13831N/ACFLAGS="%optflags" \
13831N/A ./configure \
13831N/A --prefix=%{_prefix} \
13831N/A --sysconfdir=%{_sysconfdir} \
13831N/A --libdir=%{_libdir} \
13831N/A --bindir=%{_bindir} \
13831N/A --libexecdir=%{_libexecdir} \
13831N/A --mandir=%{_mandir} \
13831N/A --enable-private-nwam-headers \
13831N/A --localstatedir=/var/lib
13831N/A
13831N/Amake -j $CPUS
13831N/A
13831N/A%install
13831N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
13831N/Amake install DESTDIR=$RPM_BUILD_ROOT
13831N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
13831N/A
13831N/A%clean
13831N/Arm -rf $RPM_BUILD_ROOT
13831N/A
13831N/A%files
13831N/A%defattr (-, root, root)
19114N/A%{_bindir}/*
19114N/A%{_sysconfdir}/gconf/schemas
19114N/A%{_libdir}/*
19114N/A%{_libexecdir}/*
19114N/A%{_datadir}/applications
19114N/A%{_datadir}/gnome/help/nwam/*
19114N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
19114N/A%{_datadir}/omf/nwam/*
19114N/A%{_datadir}/pixmaps/*
13854N/A%{_datadir}/nwam/*
13854N/A%{_mandir}/man1/nwam*
19114N/A%{_includedir}/nwam/*
%changelog
* Fri Apr 08 2011 - lin.ma@oracle.com
- Bump to 1.164.0
* Tue Mar 08 2011 - lin.ma@oracle.com
- Bump to 1.162.0
* Fri Feb 25 2011 - lin.ma@oracle.com
- Bump to 1.161.0
* Fri Jan 28 2011 - lin.ma@oracle.com
- Bump to 1.159.0
* Thu Dec 02 2010 - lin.ma@oracle.com
- Bump to 1.155.0
* Thu Aug 19 2010 - lin.ma@sun.com
- Bump to 1.146.0, update license.
* Fri Apr 09 2010 - lin.ma@sun.com
- Bump to 1.138.0
* Tue Mar 23 2010 - lin.ma@sun.com
- Update for phase 1.0.1, removed the flag to use private libs.
* Fri Feb 24 2010 - lin.ma@sun.com
- Update for phase 1.0
* Tue Feb 24 2009 - lin.ma@sun.com
- Fixed defect 6044.
* Tue Dec 23 2008 - darren.kenny@sun.com
- Bump to 0.5.13 and remove upsteam patches.
* Thu Nov 13 2008 - darren.kenny@sun.com
- Added patch nwam-manager-02-new-aps.diff to fix bug#6764186 where on some
machines there are a lot of notifications of new wireless networks being
found.
* Mon Nov 10 2008 - darren.kenny@sun.com
- Added patch to fix bug#4677 where WPA passwords are not being passed to NWAM
when requested.
* Mon Oct 20 2008 - takao.fujiwara@sun.com
- Added l10n-configure.sh for l10n copyright.
* Mon Oct 20 2008 - darren.kenny@sun.com
- Bump to 0.5.11 to get translations (Bug#6761343) and also fix an issue where
NWAM Manager is show messages too early in the login cycle (Bug#6761297).
* Fri Sep 19 2008 - darren.kenny@sun.com
- Bump to 0.5.10 to get a fix for bug#6750461 where things were crashing when
a hot-pluggable wireless interface was plugged in.
Also fixed a minor issue where the status icon was being incorrectly updated
in this case too.
* Thu Sep 18 2008 - darren.kenny@sun.com
- Bump to 0.5.9 handle change in some libnwam symbol names.
* Wed Sep 17 2008 - darren.kenny@sun.com
- Bump to 0.5.8 to get the following fixes:
- Fix bug#6744179, always update the notification if user put mouse
pointer over message area.
- Fix bug#6749315 to allow people to differentiate between an ad-hoc
network and AP.
- Fix bug#6748692 - Don't show unnecessary messages (for lower-prio
interfaces some messages shouldn't be shown).
- Several other minor fixes.
* Fri Sep 12 2008 - darren.kenny@sun.com
- Bump to 0.5.7 to fix issue where wireless connection to a network resulted
in more than one attempt to connect. Also fixed issue where wifi_net objects
were initialised to connected state incorrectly.
* Fri Sep 12 2008 - darren.kenny@sun.com
- Bump to 0.5.6 to fix a race-condition where sometimes nwam-manager ceased to
work with wireless networks if nwamd was in a specific state.
* Thu Sep 11 2008 - darren.kenny@sun.com
- Bump to 0.5.5 to get fix for 6747318, and other minor fixes w.r.t. messages.
* Wed Sep 10 2008 - darren.kenny@sun.com
- Bump to 0.5.4 to fix a stupid mistake with non-population of menu.
* Wed Sep 10 2008 - darren.kenny@sun.com
- Bump to 0.5.3 to get several minor fixes from feedback on nwam-discuss.
* Tue Sep 9 2008 - darren.kenny@sun.com
- Change tarball location to somewhere that I know it will be visible
immediately on upload.
* Mon Sep 8 2008 - darren.kenny@sun.com
- Bump to 0.5.2, to get fixes for bugs#6745722,6745720,6745719
* Fri Sep 5 2008 - darren.kenny@sun.com
- Bump to 0.5.1
* Thu Sep 4 2008 - darren.kenny@sun.com
- Fix some issues in spec
* Wed Sep 3 2008 - darren.kenny@sun.com
- Initial delivery.