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