- 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
This commit is contained in:
parent
2a53d4571d
commit
f0ce8db546
@ -2,3 +2,4 @@ NetworkManager-0.2.tar.gz
|
|||||||
NetworkManager-0.3.tar.gz
|
NetworkManager-0.3.tar.gz
|
||||||
NetworkManager-0.3.1.tar.gz
|
NetworkManager-0.3.1.tar.gz
|
||||||
NetworkManager-0.3.2.tar.gz
|
NetworkManager-0.3.2.tar.gz
|
||||||
|
NetworkManager-0.3.3.tar.gz
|
||||||
|
@ -1,33 +1,27 @@
|
|||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
##########################################################
|
%define dbus_version 0.22
|
||||||
# NetworkManager RPM Specfile
|
%define hal_version 0.4
|
||||||
##########################################################
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Main Package Info
|
|
||||||
##################################
|
|
||||||
Name: NetworkManager
|
Name: NetworkManager
|
||||||
Summary: A network link manager and user applications
|
Summary: Network link manager and user applications
|
||||||
Version: 0.3.2
|
Version: 0.3.3
|
||||||
Release: 4.3.cvs20041208
|
Release: 1.cvs20050112
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPL
|
License: GPL
|
||||||
|
URL: http://people.redhat.com/dcbw/NetworkManager/
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
########################
|
|
||||||
PreReq: chkconfig
|
PreReq: chkconfig
|
||||||
Requires: wireless-tools >= 27
|
Requires: wireless-tools >= 27
|
||||||
Requires: dbus >= 0.22
|
Requires: dbus >= %{dbus_version}
|
||||||
Requires: dbus-glib >= 0.22
|
Requires: dbus-glib >= %{dbus_version}
|
||||||
Requires: hal >= 0.2.95
|
Requires: hal >= %{hal_version}
|
||||||
Requires: dhclient iproute openssl glib2
|
Requires: iproute openssl bind caching-nameserver
|
||||||
|
|
||||||
|
BuildRequires: dbus-devel >= %{dbus_version}
|
||||||
########################
|
BuildRequires: hal-devel >= %{hal_version}
|
||||||
BuildRequires: dbus-devel >= 0.22
|
|
||||||
BuildRequires: hal-devel >= 0.2.95
|
|
||||||
BuildRequires: wireless-tools >= 27
|
BuildRequires: wireless-tools >= 27
|
||||||
BuildRequires: glib2-devel gtk2-devel
|
BuildRequires: glib2-devel gtk2-devel
|
||||||
BuildRequires: libglade2-devel
|
BuildRequires: libglade2-devel
|
||||||
@ -35,125 +29,122 @@ BuildRequires: openssl-devel
|
|||||||
BuildRequires: GConf2-devel
|
BuildRequires: GConf2-devel
|
||||||
BuildRequires: gnome-panel-devel
|
BuildRequires: gnome-panel-devel
|
||||||
BuildRequires: libgnomeui-devel
|
BuildRequires: libgnomeui-devel
|
||||||
|
BuildRequires: gnome-keyring-devel
|
||||||
|
BuildRequires: gettext-devel
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
%description
|
%description
|
||||||
NetworkManager is a network link manager that attempts to keep a
|
NetworkManager attempts to keep an active network connection available at all
|
||||||
wired or wireless network connection active at all times.
|
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.
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# GNOME Package Info
|
|
||||||
##################################
|
|
||||||
%package gnome
|
%package gnome
|
||||||
Summary: GNOME applications for use with NetworkManager
|
Summary: GNOME applications for use with NetworkManager
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Requires: NetworkManager
|
Requires: %{name}
|
||||||
Requires: GConf2
|
|
||||||
Requires: gnome-panel
|
Requires: gnome-panel
|
||||||
Requires: dbus >= 0.22
|
Requires: dbus >= %{dbus_version}
|
||||||
Requires: dbus-glib >= 0.22
|
Requires: dbus-glib >= %{dbus_version}
|
||||||
Requires: glib2
|
Requires: hal >= %{hal_version}
|
||||||
Requires: libglade2
|
|
||||||
|
|
||||||
%description gnome
|
%description gnome
|
||||||
This package contains GNOME utilities and applications for use
|
This package contains GNOME utilities and applications for use with
|
||||||
with NetworkManager, including a panel applet for wireless
|
NetworkManager, including a panel applet for wireless networks.
|
||||||
networks.
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Libraries and headers for adding NetworkManager support to applications
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}
|
||||||
|
Requires: dbus >= %{dbus_version}
|
||||||
|
Requires: dbus-glib >= %{dbus_version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains various headers and a glib-based C client library for
|
||||||
|
accessing some NetworkManager functionality from applications.
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Prep/Setup
|
|
||||||
##################################
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Build
|
|
||||||
##################################
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure
|
%configure
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Install
|
|
||||||
##################################
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%{_bindir}/dhcp_test
|
%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
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Clean
|
|
||||||
##################################
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Post-install
|
|
||||||
##################################
|
|
||||||
%post
|
%post
|
||||||
if ! chkconfig --list | grep NetworkManager | grep on; then
|
/sbin/chkconfig --add NetworkManager
|
||||||
/sbin/chkconfig --add NetworkManager
|
|
||||||
/sbin/chkconfig --level 123456 NetworkManager off
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Pre-uninstall
|
|
||||||
##################################
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
service NetworkManager stop > /dev/null 2>&1
|
/sbin/service NetworkManager stop >/dev/null 2>&1
|
||||||
/sbin/chkconfig --del NetworkManager
|
/sbin/chkconfig --del NetworkManager
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
##################################
|
|
||||||
# Post-uninstall
|
|
||||||
##################################
|
|
||||||
%postun
|
%postun
|
||||||
if [ "$1" -ge "1" ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
service NetworkManager condrestart > /dev/null 2>&1
|
/sbin/service NetworkManager condrestart >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
##################################
|
%files -f %{name}.lang
|
||||||
# Main Package Files
|
%defattr(-,root,root,0755)
|
||||||
##################################
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO
|
%doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO
|
||||||
%{_bindir}/%{name}
|
|
||||||
%{_includedir}/NetworkManager/NetworkManager.h
|
|
||||||
%{_bindir}/NMLoadModules
|
|
||||||
%{_bindir}/NetworkManagerDispatcher
|
|
||||||
%dir %{_sysconfdir}/dbus-1/system.d
|
|
||||||
%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf
|
%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf
|
||||||
%config %{_sysconfdir}/rc.d/init.d/%{name}
|
%config %{_sysconfdir}/rc.d/init.d/%{name}
|
||||||
%{_libdir}/pkgconfig/*
|
%config %{_datadir}/%{name}/named.conf
|
||||||
%{_datadir}/locale/*/*/*.mo
|
%{_bindir}/%{name}
|
||||||
|
%{_bindir}/NMLoadModules
|
||||||
|
%{_bindir}/NetworkManagerDispatcher
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%files gnome
|
%files gnome
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,0755)
|
||||||
|
%config %{_sysconfdir}/dbus-1/system.d/NetworkManagerInfo.conf
|
||||||
%{_bindir}/NetworkManagerInfo
|
%{_bindir}/NetworkManagerInfo
|
||||||
%{_libexecdir}/NetworkManagerNotification
|
%{_libexecdir}/NetworkManagerNotification
|
||||||
%{_datadir}/NetworkManagerNotification
|
%{_datadir}/NetworkManagerNotification/
|
||||||
%{_sysconfdir}/dbus-1/system.d/NetworkManagerInfo.conf
|
%{_datadir}/NetworkManagerInfo/
|
||||||
%{_datadir}/NetworkManagerInfo
|
|
||||||
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
||||||
%{_datadir}/icons/hicolor/48x48/apps/*.png
|
%{_datadir}/icons/hicolor/48x48/apps/*.png
|
||||||
|
|
||||||
##################################
|
%files devel
|
||||||
# Changelog
|
%defattr(-,root,root,0755)
|
||||||
##################################
|
%{_libdir}/libnm_glib.so*
|
||||||
|
%{_includedir}/%{name}/*.h
|
||||||
|
%{_libdir}/pkgconfig/libnm_glib.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Wed Dec 8 2004 <dcbw@redhat.com> - 0.3.2-4.3.cvs20041208
|
* Wed Dec 8 2004 <dcbw@redhat.com> - 0.3.2-4.3.cvs20041208
|
||||||
- Update to CVS
|
- Update to CVS
|
||||||
- Updates to link detection, DHCP code
|
- Updates to link detection, DHCP code
|
||||||
|
Loading…
Reference in New Issue
Block a user