2004-09-09 02:38:41 +00:00
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# NetworkManager RPM Specfile
|
|
|
|
##########################################################
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Main Package Info
|
|
|
|
##################################
|
|
|
|
Name: NetworkManager
|
|
|
|
Summary: A network link manager and user applications
|
2004-10-29 20:59:34 +00:00
|
|
|
Version: 0.3.2
|
|
|
|
Release: 2.cvs20041029
|
2004-09-09 02:38:41 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL
|
2004-09-09 02:38:48 +00:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
2004-09-09 02:38:41 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
2004-10-29 20:59:34 +00:00
|
|
|
Patch0: NetworkManager-0.3.2-full-device-support.patch
|
|
|
|
|
2004-09-09 02:38:41 +00:00
|
|
|
########################
|
|
|
|
PreReq: chkconfig
|
2004-09-11 12:51:08 +00:00
|
|
|
Requires: wireless-tools >= 27
|
|
|
|
Requires: dbus >= 0.22
|
2004-09-09 02:38:41 +00:00
|
|
|
Requires: dbus-glib >= 0.22
|
|
|
|
Requires: hal >= 0.2.95
|
2004-09-09 02:38:44 +00:00
|
|
|
Requires: dhclient iproute openssl glib2
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
########################
|
|
|
|
BuildRequires: dbus-devel >= 0.22
|
|
|
|
BuildRequires: hal-devel >= 0.2.95
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
%description
|
|
|
|
NetworkManager is a network link manager that attempts to keep a
|
|
|
|
wired or wireless network connection active at all times.
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# GNOME Package Info
|
|
|
|
##################################
|
|
|
|
%package gnome
|
|
|
|
Summary: GNOME applications for use with NetworkManager
|
|
|
|
Group: Applications/Internet
|
|
|
|
Requires: NetworkManager
|
|
|
|
Requires: GConf2
|
2004-09-11 12:51:08 +00:00
|
|
|
Requires: gnome-panel
|
|
|
|
Requires: dbus >= 0.22
|
2004-09-09 02:38:41 +00:00
|
|
|
Requires: dbus-glib >= 0.22
|
2004-09-09 02:38:44 +00:00
|
|
|
Requires: glib2
|
2004-09-09 02:38:41 +00:00
|
|
|
Requires: libglade2
|
|
|
|
|
|
|
|
%description gnome
|
|
|
|
This package contains GNOME utilities and applications for use
|
|
|
|
with NetworkManager, including a panel applet for wireless
|
|
|
|
networks.
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Prep/Setup
|
|
|
|
##################################
|
|
|
|
%prep
|
2004-09-09 02:38:48 +00:00
|
|
|
%setup -q
|
2004-09-09 02:38:41 +00:00
|
|
|
|
2004-10-29 20:59:34 +00:00
|
|
|
%patch0 -p1 -b .full-device-support
|
|
|
|
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
##################################
|
|
|
|
# Build
|
|
|
|
##################################
|
|
|
|
%build
|
|
|
|
|
|
|
|
%configure
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Install
|
|
|
|
##################################
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Clean
|
|
|
|
##################################
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Post-install
|
|
|
|
##################################
|
|
|
|
%post
|
2004-10-12 15:04:51 +00:00
|
|
|
if ! chkconfig --list | grep NetworkManager | grep on; then
|
|
|
|
/sbin/chkconfig --add NetworkManager
|
|
|
|
/sbin/chkconfig --level 123456 NetworkManager off
|
|
|
|
fi
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Pre-uninstall
|
|
|
|
##################################
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
service NetworkManager stop > /dev/null 2>&1
|
|
|
|
/sbin/chkconfig --del NetworkManager
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Post-uninstall
|
|
|
|
##################################
|
|
|
|
%postun
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
service NetworkManager condrestart > /dev/null 2>&1
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# Main Package Files
|
|
|
|
##################################
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO
|
|
|
|
%{_bindir}/%{name}
|
2004-10-29 20:59:34 +00:00
|
|
|
%{_includedir}/NetworkManager/NetworkManager.h
|
2004-09-09 02:38:41 +00:00
|
|
|
%{_bindir}/NMLoadModules
|
2004-09-09 02:38:48 +00:00
|
|
|
%{_bindir}/NMLaunchHelper
|
2004-09-09 02:38:41 +00:00
|
|
|
%{_bindir}/NetworkManagerDispatcher
|
|
|
|
%dir %{_sysconfdir}/dbus-1/system.d
|
|
|
|
%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf
|
|
|
|
%config %{_sysconfdir}/rc.d/init.d/%{name}
|
2004-09-13 21:09:43 +00:00
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_datadir}/locale/*/*/*.mo
|
2004-09-09 02:38:41 +00:00
|
|
|
|
|
|
|
%files gnome
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/NetworkManagerInfo
|
2004-10-12 15:04:51 +00:00
|
|
|
%{_libexecdir}/NetworkManagerNotification
|
2004-10-15 14:37:33 +00:00
|
|
|
%{_datadir}/NetworkManagerNotification
|
2004-09-09 02:38:41 +00:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/NetworkManagerInfo.conf
|
|
|
|
%{_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
|
|
|
|
|
|
|
##################################
|
|
|
|
# Changelog
|
|
|
|
##################################
|
|
|
|
%changelog
|
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
|
|
|
|
|