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