2004-09-09 02:38:41 +00:00
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
2005-01-12 21:33:54 +00:00
|
|
|
%define hal_version 0.4
|
|
|
|
|
2005-01-12 21:41:21 +00:00
|
|
|
%define build_fc3 0
|
|
|
|
%define build_rhel4 0
|
|
|
|
%define build_fc4 1
|
|
|
|
|
2005-02-02 22:12:22 +00:00
|
|
|
%if %{build_rhel4}
|
|
|
|
%define dbus_version 0.22
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{build_fc3}
|
|
|
|
%define dbus_version 0.22
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{build_fc4}
|
2005-03-08 03:55:57 +00:00
|
|
|
%define dbus_version 0.31
|
2005-02-02 22:12:22 +00:00
|
|
|
%endif
|
|
|
|
|
2005-01-12 21:41:21 +00:00
|
|
|
%if %{build_fc3}
|
2005-03-04 21:32:11 +00:00
|
|
|
%define release_extension 1.0.fc3
|
2005-01-12 21:41:21 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{build_rhel4}
|
2005-03-04 21:32:11 +00:00
|
|
|
%define release_extension 2.0.EL4
|
2005-01-12 21:41:21 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{build_fc4}
|
2005-03-04 21:32:11 +00:00
|
|
|
%define release_extension 3.0
|
2005-01-12 21:41:21 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2005-01-12 21:33:54 +00:00
|
|
|
Name: NetworkManager
|
|
|
|
Summary: Network link manager and user applications
|
2005-03-08 03:59:01 +00:00
|
|
|
Version: 0.4
|
2005-03-15 13:38:33 +00:00
|
|
|
Release: 1.cvs20050315.1.%{release_extension}
|
2005-01-12 21:33:54 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL
|
|
|
|
URL: http://people.redhat.com/dcbw/NetworkManager/
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
PreReq: chkconfig
|
2004-09-11 12:51:08 +00:00
|
|
|
Requires: wireless-tools >= 27
|
2005-01-25 19:20:50 +00:00
|
|
|
Requires: dbus = %{dbus_version}
|
|
|
|
Requires: dbus-glib = %{dbus_version}
|
2005-01-12 21:33:54 +00:00
|
|
|
Requires: hal >= %{hal_version}
|
2005-02-02 22:12:22 +00:00
|
|
|
Requires: iproute openssl
|
|
|
|
|
|
|
|
%if %{build_fc4}
|
|
|
|
Requires: bind caching-nameserver
|
|
|
|
%endif
|
2004-09-09 02:38:41 +00:00
|
|
|
|
2005-01-25 19:20:50 +00:00
|
|
|
BuildRequires: dbus-devel = %{dbus_version}
|
2005-01-25 19:26:09 +00:00
|
|
|
BuildRequires: hal-devel >= %{hal_version}
|
2004-09-09 02:38:41 +00:00
|
|
|
BuildRequires: wireless-tools >= 27
|
2004-09-09 02:38:44 +00:00
|
|
|
BuildRequires: glib2-devel gtk2-devel
|
2004-09-09 02:38:41 +00:00
|
|
|
BuildRequires: libglade2-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: GConf2-devel
|
|
|
|
BuildRequires: gnome-panel-devel
|
|
|
|
BuildRequires: libgnomeui-devel
|
2005-01-12 21:33:54 +00:00
|
|
|
BuildRequires: gnome-keyring-devel
|
|
|
|
BuildRequires: gettext-devel
|
2005-01-25 19:20:50 +00:00
|
|
|
BuildRequires: pkgconfig
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
%description
|
2005-01-12 21:33:54 +00:00
|
|
|
NetworkManager attempts to keep an active network connection available at all
|
|
|
|
times. It is intended only for the desktop use-case, and is not intended for
|
|
|
|
usage on servers. The point of NetworkManager is to make networking
|
|
|
|
configuration and setup as painless and automatic as possible. If using DHCP,
|
|
|
|
NetworkManager is _intended_ to replace default routes, obtain IP addresses
|
|
|
|
from a DHCP server, and change nameservers whenever it sees fit.
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package gnome
|
|
|
|
Summary: GNOME applications for use with NetworkManager
|
|
|
|
Group: Applications/Internet
|
2005-01-25 20:23:50 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-09-11 12:51:08 +00:00
|
|
|
Requires: gnome-panel
|
2005-01-25 19:20:50 +00:00
|
|
|
Requires: dbus = %{dbus_version}
|
|
|
|
Requires: dbus-glib = %{dbus_version}
|
2005-01-12 21:33:54 +00:00
|
|
|
Requires: hal >= %{hal_version}
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
%description gnome
|
2005-01-12 21:33:54 +00:00
|
|
|
This package contains GNOME utilities and applications for use with
|
|
|
|
NetworkManager, including a panel applet for wireless networks.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and headers for adding NetworkManager support to applications
|
|
|
|
Group: Development/Libraries
|
2005-01-25 20:23:50 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2005-01-25 19:20:50 +00:00
|
|
|
Requires: dbus = %{dbus_version}
|
|
|
|
Requires: dbus-glib = %{dbus_version}
|
2005-01-12 21:33:54 +00:00
|
|
|
|
|
|
|
%description devel
|
2005-01-25 19:20:50 +00:00
|
|
|
This package contains various headers accessing some NetworkManager functionality
|
|
|
|
from applications.
|
|
|
|
|
|
|
|
|
|
|
|
%package glib
|
|
|
|
Summary: Libraries and headers for adding NetworkManager support to applications that use glib.
|
|
|
|
Group: Development/Libraries
|
2005-01-25 20:23:50 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2005-01-25 19:20:50 +00:00
|
|
|
Requires: dbus = %{dbus_version}
|
|
|
|
Requires: dbus-glib = %{dbus_version}
|
|
|
|
|
|
|
|
%description glib
|
|
|
|
This package contains the headers and libraries that make it easier to use some Network Manager
|
|
|
|
functionality from applications that use glib.
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2004-09-09 02:38:48 +00:00
|
|
|
%setup -q
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2005-02-02 22:38:51 +00:00
|
|
|
|
|
|
|
%if %{build_fc4}
|
2005-02-03 16:48:28 +00:00
|
|
|
%define configure_args --with-named=/usr/sbin/named --with-named-dir=/var/named/data --with-named-user=named
|
2005-02-02 22:38:51 +00:00
|
|
|
%else
|
|
|
|
%define configure_args %{nil}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%configure %{configure_args}
|
2004-09-09 02:38:41 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2005-01-12 21:33:54 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/dhcp_test
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.a
|
|
|
|
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
2005-01-12 21:33:54 +00:00
|
|
|
/sbin/chkconfig --add NetworkManager
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%preun
|
2005-01-12 21:33:54 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
/sbin/service NetworkManager stop >/dev/null 2>&1
|
2004-09-09 02:38:41 +00:00
|
|
|
/sbin/chkconfig --del NetworkManager
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
2005-01-12 21:33:54 +00:00
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
/sbin/service NetworkManager condrestart >/dev/null 2>&1
|
2004-09-09 02:38:41 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
2005-01-12 21:33:54 +00:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,0755)
|
2004-09-09 02:38:41 +00:00
|
|
|
%doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO
|
2005-01-12 21:33:54 +00:00
|
|
|
%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf
|
|
|
|
%config %{_sysconfdir}/rc.d/init.d/%{name}
|
|
|
|
%config %{_datadir}/%{name}/named.conf
|
2004-09-09 02:38:41 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/NMLoadModules
|
|
|
|
%{_bindir}/NetworkManagerDispatcher
|
2005-01-12 21:33:54 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
%files gnome
|
2005-01-12 21:33:54 +00:00
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%config %{_sysconfdir}/dbus-1/system.d/NetworkManagerInfo.conf
|
2004-09-09 02:38:41 +00:00
|
|
|
%{_bindir}/NetworkManagerInfo
|
2004-10-12 15:04:51 +00:00
|
|
|
%{_libexecdir}/NetworkManagerNotification
|
2005-01-12 21:33:54 +00:00
|
|
|
%{_datadir}/NetworkManagerNotification/
|
|
|
|
%{_datadir}/NetworkManagerInfo/
|
2004-10-15 14:37:33 +00:00
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
2004-10-12 15:04:51 +00:00
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/*.png
|
2004-09-09 02:38:41 +00:00
|
|
|
|
2005-01-12 21:33:54 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,0755)
|
2005-01-25 19:20:50 +00:00
|
|
|
%{_includedir}/%{name}/%{name}.h
|
|
|
|
|
|
|
|
%files glib
|
|
|
|
%defattr(-,root,root,0755)
|
2005-01-12 21:33:54 +00:00
|
|
|
%{_libdir}/libnm_glib.so*
|
2005-01-25 19:20:50 +00:00
|
|
|
%{_includedir}/%{name}/libnm_glib.h
|
2005-01-12 21:33:54 +00:00
|
|
|
%{_libdir}/pkgconfig/libnm_glib.pc
|
|
|
|
|
2005-01-25 19:20:50 +00:00
|
|
|
|
2004-09-09 02:38:41 +00:00
|
|
|
%changelog
|
2005-03-15 13:41:28 +00:00
|
|
|
* Tue Mar 15 2005 Ray Strode <rstrode@redhat.com> 0.4-1.cvs20050315.1
|
2005-03-15 13:38:33 +00:00
|
|
|
- Upload new source tarball (woops)
|
|
|
|
|
2005-03-15 05:36:53 +00:00
|
|
|
* Tue Mar 15 2005 Ray Strode <rstrode@redhat.com> 0.4-1.cvs20050315
|
|
|
|
- Pull from latest CVS HEAD (hopefully works again)
|
|
|
|
|
2005-03-08 03:59:01 +00:00
|
|
|
* Mon Mar 7 2005 Ray Strode <rstrode@redhat.com> 0.4-1.cvs20050307
|
2005-03-08 03:55:57 +00:00
|
|
|
- Pull from latest CVS HEAD
|
|
|
|
- Commit broken NetworkManager to satisfy to dbus dependency
|
|
|
|
|
2005-03-04 21:32:11 +00:00
|
|
|
* Fri Mar 4 2005 Dan Williams <dcbw@redhat.com> 0.3.4-1.cvs20050304
|
|
|
|
- Pull from latest CVS HEAD
|
|
|
|
- Rebuild for gcc 4.0
|
|
|
|
|
|
|
|
* Tue Feb 22 2005 Dan Williams <dcbw@redhat.com> 0.3.3-2.cvs20050222
|
|
|
|
- Update from CVS
|
|
|
|
|
2005-02-14 22:06:26 +00:00
|
|
|
* Mon Feb 14 2005 Dan Williams <dcbw@redhat.com> 0.3.3-2.cvs20050214.x.1
|
|
|
|
- Fix free of invalid pointer for multiple search domains
|
|
|
|
|
2005-02-14 15:38:16 +00:00
|
|
|
* Mon Feb 14 2005 Dan Williams <dcbw@redhat.com> 0.3.3-2.cvs20050214
|
|
|
|
- Never automatically choose a device that doesn't support carrier detection
|
|
|
|
- Add right-click menu to applet, can now "Pause/Resume" scanning through it
|
|
|
|
- Fix DHCP Renew/Rebind timeouts
|
|
|
|
- Fix frequency cycling problem on some cards, even when scanning was off
|
|
|
|
- Play better with IPv6
|
|
|
|
- Don't send kernel version in DHCP packets, and ensure DHCP packets are at
|
|
|
|
least 300 bytes in length to work around broken router
|
|
|
|
- New DHCP options D-BUS API by Dan Reed
|
|
|
|
- Handle multiple domain search options in DHCP responses
|
|
|
|
|
2005-02-02 22:12:22 +00:00
|
|
|
* Wed Feb 2 2005 Dan Williams <dcbw@redhat.com> 0.3.3-1.cvs20050202
|
|
|
|
- Display wireless network name in applet tooltip
|
|
|
|
- Hopefully fix double-default-route problem
|
|
|
|
- Write out valid resolv.conf when we exit
|
|
|
|
- Make multi-domain search options work
|
|
|
|
- Rework signal strength code to be WEXT conformant, if strength is
|
|
|
|
still wierd then its 95% surely a driver problem
|
|
|
|
- Fix annoying instances of suddenly dropping and reactivating a
|
|
|
|
wireless device (Cisco cards were worst offenders here)
|
|
|
|
- Fix some instances of NetworkManager not remembering your WEP key
|
|
|
|
- Fix some races between NetworkManager and NetworkManagerInfo where
|
|
|
|
NetworkManager wouldn't recognize changes in the allowed list
|
|
|
|
- Don't shove Ad-Hoc Access Point MAC addresses into GConf
|
|
|
|
|
2005-01-25 19:20:50 +00:00
|
|
|
* Tue Jan 25 2005 Dan Williams <dcbw@redhat.com> 0.3.3-1.cvs20050125
|
|
|
|
- Play nice with dbus 0.23
|
|
|
|
- Update our list of Allowed Wireless Networks more quickly
|
|
|
|
|
2005-01-24 22:24:31 +00:00
|
|
|
* Mon Jan 24 2005 Dan Williams <dcbw@redhat.com> 0.3.3-1.cvs20050124
|
|
|
|
- Update to latest CVS
|
|
|
|
- Make sure we start as late as possible so that we ensure dbus & HAL
|
|
|
|
are already around
|
|
|
|
- Fix race in initial device activation
|
|
|
|
|
2005-01-24 09:10:12 +00:00
|
|
|
* Mon Jan 24 2005 Than Ngo <than@redhat.com> 0.3.3-1.cvs20050112.4
|
|
|
|
- rebuilt against new wireless tool
|
|
|
|
|
2005-02-02 22:38:51 +00:00
|
|
|
* Thu Jan 21 2005 <dcbw@redhat.com> - 0.3.3-1.cvs20050118
|
|
|
|
- Fix issue where NM wouldn't recognize that access points were
|
|
|
|
encrypted, and then would try to connect without encryption
|
|
|
|
- Refine packaging to put client library in separate package
|
|
|
|
- Remove bind+caching-nameserver dep for FC-3, use 'nscd -i hosts'
|
|
|
|
instead. DNS queries may timeout now right after device
|
|
|
|
activation due to this change.
|
|
|
|
|
2005-01-12 21:33:54 +00:00
|
|
|
* Wed Jan 12 2005 <dcbw@redhat.com> - 0.3.3-1.cvs20050112
|
|
|
|
- Update to latest CVS
|
|
|
|
- Fixes to DHCP code
|
|
|
|
- Link-Local (ZeroConf/Rendezvous) support
|
|
|
|
- Use bind in "caching-nameserver" mode to work around stupidity
|
|
|
|
in glibc's resolver library not recognizing resolv.conf changes
|
|
|
|
- #rh144818# Clean up the specfile (Patch from Matthias Saou)
|
|
|
|
- Ad-Hoc mode support with Link-Local addressing only (for now)
|
|
|
|
- Fixes for device activation race conditions
|
|
|
|
- Wireless scanning in separate thread
|
|
|
|
|
2004-12-09 03:24:59 +00:00
|
|
|
* Wed Dec 8 2004 <dcbw@redhat.com> - 0.3.2-4.3.cvs20041208
|
|
|
|
- Update to CVS
|
|
|
|
- Updates to link detection, DHCP code
|
|
|
|
- Remove NMLaunchHelper so we start up faster and don't
|
|
|
|
block for a connection. This means services that depend
|
|
|
|
on the network may fail if they start right after NM
|
|
|
|
- Make sure DHCP renew/rebinding works
|
|
|
|
|
2004-11-17 18:14:54 +00:00
|
|
|
* Wed Nov 17 2004 <dcbw@redhat.com> - 0.3.2-3.cvs20041117
|
|
|
|
- Update to CVS
|
|
|
|
- Fixes to link detection
|
|
|
|
- Better detection of non-ESSID-broadcasting access points
|
|
|
|
- Don't dialog-spam the user if a connection fails
|
|
|
|
|
|
|
|
* Mon Nov 11 2004 <dcbw@redhat.com> - 0.3.2-2.cvs20041115
|
2004-11-16 04:10:49 +00:00
|
|
|
- Update to CVS
|
|
|
|
- Much better link detection, works with Open System authentication
|
|
|
|
- Blacklist wireless cards rather than whitelisting them
|
|
|
|
|
2004-10-29 20:59:34 +00:00
|
|
|
* Fri Oct 29 2004 <dcbw@redhat.com> - 0.3.2-2.cvs20041029
|
|
|
|
- #rh134893# NetworkManagerInfo and the panel-icon life-cycle
|
|
|
|
- #rh134895# Status icon should hide when in Wired-only mode
|
|
|
|
- #rh134896# Icon code needs rewrite
|
|
|
|
- #rh134897# "Other Networks..." dialog needs implementing
|
|
|
|
- #rh135055# Menu highlights incorrectly in NM
|
|
|
|
- #rh135648# segfault with cipsec0
|
|
|
|
- #rh135722# NetworkManager will not allow zaurus to sync via usb0
|
|
|
|
- #rh135999# NetworkManager-0.3.1 will not connect to 128 wep
|
|
|
|
- #rh136866# applet needs tooltips
|
|
|
|
- #rh137047# lots of applets, yay!
|
|
|
|
- #rh137341# Network Manager dies after disconnecting from wired network second time
|
|
|
|
- Better checking for wireless devices
|
|
|
|
- Fix some memleaks
|
|
|
|
- Fix issues with dhclient declining an offered address
|
|
|
|
- Fix an activation thread deadlock
|
|
|
|
- More accurately detect "Other wireless networks" that are encrypted
|
|
|
|
- Don't bring devices down as much, won't hotplug-spam as much anymore
|
|
|
|
about firmware
|
|
|
|
- Add a "network not found" dialog when the user chooses a network that could
|
|
|
|
not be connected to
|
|
|
|
|
|
|
|
* Tue Oct 26 2004 <dcbw@redhat.com> - 0.3.1-2
|
|
|
|
- Fix escaping of ESSIDs in gconf
|
|
|
|
|
2004-10-19 18:31:27 +00:00
|
|
|
* Tue Oct 19 2004 <jrb@redhat.com> - 0.3.1-1
|
|
|
|
- minor point release to improve error handling and translations
|
|
|
|
|
2004-10-15 14:37:33 +00:00
|
|
|
* Fri Oct 15 2004 Dan Williams <dcbw@redhat.com> 0.3-1
|
|
|
|
- Update from CVS, version 0.3
|
|
|
|
|
2004-10-12 15:04:51 +00:00
|
|
|
* Tue Oct 12 2004 Dan Williams <dcbw@redhat.com> 0.2-4
|
|
|
|
- Update from CVS
|
|
|
|
- Improvements:
|
|
|
|
o Better link checking on wireless cards
|
|
|
|
o Panel applet now a Notification Area icon
|
|
|
|
o Static IP configuration support
|
|
|
|
|
2004-09-13 21:09:43 +00:00
|
|
|
* Mon Sep 13 2004 Dan Williams <dcbw@redhat.com> 0.2-3
|
|
|
|
- Update from CVS
|
|
|
|
|
2004-09-11 12:51:08 +00:00
|
|
|
* Sat Sep 11 2004 Dan Williams <dcbw@redhat.com> 0.2-2
|
|
|
|
- Require gnome-panel, not gnome-panel-devel
|
|
|
|
- Turn off by default
|
|
|
|
|
2004-09-09 02:38:48 +00:00
|
|
|
* Thu Aug 26 2004 Dan Williams <dcbw@redhat.com> 0.2-1
|
|
|
|
- Update to 0.2
|
|
|
|
|
2004-09-09 02:38:44 +00:00
|
|
|
* Thu Aug 26 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- spec-changes to req glib2 instead of glib
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
* Fri Aug 20 2004 Dan Williams <dcbw@redhat.com> 0.1-3
|
|
|
|
- First public release
|
|
|
|
|