- Update to pre-0.6.5 snapshot

This commit is contained in:
Daniel Williams 2007-03-15 18:24:14 +00:00
parent dbe9cce746
commit 55a16fd966
4 changed files with 91 additions and 42 deletions

View File

@ -3,3 +3,5 @@ NetworkManager-0.7.0.cvs20060521.tar.gz
NetworkManager-0.7.0.cvs20060529.tar.gz NetworkManager-0.7.0.cvs20060529.tar.gz
NetworkManager-0.6.4.cvs20060829.tar.gz NetworkManager-0.6.4.cvs20060829.tar.gz
NetworkManager-0.6.5.cvs20061025.tar.gz NetworkManager-0.6.5.cvs20061025.tar.gz
NetworkManager-0.6.5.svn2474.tar.gz
nm-applet-0.6.5.svn63.tar.gz

View File

@ -0,0 +1,42 @@
--- NetworkManager-0.6.5/nm-applet-0.6.5/src/Makefile.am.buildfix 2007-02-02 10:53:26.000000000 -0500
+++ NetworkManager-0.6.5/nm-applet-0.6.5/src/Makefile.am 2007-02-09 14:13:47.000000000 -0500
@@ -2,6 +2,9 @@
bin_PROGRAMS = nm-applet
+INCLUDES = -I${top_srcdir}/../include \
+ -I${top_srcdir}/../libnm-util
+
nm_applet_CPPFLAGS = \
$(DBUS_CFLAGS) \
$(GTHREAD_CFLAGS) \
@@ -12,7 +15,6 @@
$(GCONF_CFLAGS) \
$(LIBGNOMEUI_CFLAGS) \
$(GNOME_KEYRING_CFLAGS) \
- $(NM_CFLAGS) \
-DICONDIR=\""$(datadir)/icons"\" \
-DGLADEDIR=\""$(gladedir)"\" \
-DBINDIR=\""$(bindir)"\" \
@@ -112,7 +114,7 @@
$(GCONF_LIBS) \
$(LIBGNOMEUI_LIBS) \
$(GNOME_KEYRING_LIBS) \
- $(NM_LIBS) \
+ -L${top_srcdir}/../libnm-util $(top_builddir)/../libnm-util/libnm-util.la \
$(NULL)
if WITH_NOTIFY
--- NetworkManager-0.6.5/nm-applet-0.6.5/configure.ac.buildfix 2007-02-02 16:47:00.000000000 -0500
+++ NetworkManager-0.6.5/nm-applet-0.6.5/configure.ac 2007-02-09 14:06:09.000000000 -0500
@@ -112,10 +112,6 @@
AC_SUBST(GOBJECT_CFLAGS)
AC_SUBST(GOBJECT_LIBS)
-PKG_CHECK_MODULES(NM, NetworkManager)
-AC_SUBST(NM_CFLAGS)
-AC_SUBST(NM_LIBS)
-
AC_ARG_WITH(notify, AC_HELP_STRING([--with-notify], [Use libnotify]), enable_notify=$withval, enable_notify=auto)
PKG_CHECK_MODULES(GTK, gtk+-2.0)

View File

@ -1,24 +1,7 @@
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
%define hal_version 0.5.0
%if "%fedora" == "5"
%define fc6_or_later 0
%endif
%if "%fedora" >= "6"
%define fc6_or_later 1
%endif
%if "%rhel" >= "5"
%define fc6_or_later 1
%endif
%if %{fc6_or_later}
%define dbus_version 0.90 %define dbus_version 0.90
%define dbus_glib_version 0.70 %define dbus_glib_version 0.70
%else
%define dbus_version 0.61
%define dbus_glib_version 0.61
%endif
%define gtk2_version 2.6.0 %define gtk2_version 2.6.0
%define wireless_tools_version 1:28-0pre9 %define wireless_tools_version 1:28-0pre9
@ -27,13 +10,14 @@ Name: NetworkManager
Summary: Network connection manager and user applications Summary: Network connection manager and user applications
Epoch: 1 Epoch: 1
Version: 0.6.5 Version: 0.6.5
Release: 0.3.cvs20061025%{?dist} Release: 0.4.svn2474%{?dist}
Group: System Environment/Base Group: System Environment/Base
License: GPL License: GPL
URL: http://www.gnome.org/projects/NetworkManager/ URL: http://www.gnome.org/projects/NetworkManager/
Source: %{name}-%{version}.cvs20061025.tar.gz Source: %{name}-%{version}.svn2474.tar.gz
Patch0: dbus1.patch Source1: nm-applet-0.6.5.svn63.tar.gz
Patch1: NetworkManager-0.6.4-DbusLimitExceeded.patch Patch0: NetworkManager-0.6.4-startup-dhcdbd.patch
Patch1: NetworkManager-0.6.5-fixup-internal-applet-build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
PreReq: chkconfig PreReq: chkconfig
@ -47,13 +31,8 @@ Requires: dhclient >= 3.0.2-12
Requires: wpa_supplicant Requires: wpa_supplicant
BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: dbus-devel >= %{dbus_version}
%if %{fc6_or_later}
BuildRequires: dbus-glib-devel >= %{dbus_glib_version} BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
BuildRequires: wireless-tools-devel >= %{wireless_tools_version} BuildRequires: wireless-tools-devel >= %{wireless_tools_version}
%else
BuildRequires: wireless-tools >= %{wireless_tools_version}
BuildRequires: dbus-glib >= %{dbus_glib_version}
%endif
BuildRequires: hal-devel >= %{hal_version} BuildRequires: hal-devel >= %{hal_version}
BuildRequires: glib2-devel gtk2-devel BuildRequires: glib2-devel gtk2-devel
BuildRequires: libglade2-devel BuildRequires: libglade2-devel
@ -69,6 +48,7 @@ BuildRequires: wpa_supplicant
BuildRequires: libnl-devel BuildRequires: libnl-devel
BuildRequires: libnotify-devel >= 0.3 BuildRequires: libnotify-devel >= 0.3
BuildRequires: perl-XML-Parser BuildRequires: perl-XML-Parser
BuildRequires: automake autoconf
%description %description
NetworkManager attempts to keep an active network connection available at all NetworkManager attempts to keep an active network connection available at all
@ -134,26 +114,50 @@ NetworkManager functionality from applications that use glib.
%prep %prep
%setup -q -n %{name}-0.6.4 %setup -q
%patch0 -p1 -b .dbus1 %patch0 -p1 -b .startup-dhcdbd
%patch1 -p1 -b .DbusLimitExceeded
# unpack the applet
tar -xzf %{SOURCE1}
%patch1 -p1 -b .buildfix
%build %build
# Even though we don't require named, we still build with it # Even though we don't require named, we still build with it
# so that if the user installs it, NM will use it automatically # so that if the user installs it, NM will use it automatically
%configure \ %configure \
--disable-static \ --disable-static \
--enable-notify=yes \
--with-named=/usr/sbin/named \ --with-named=/usr/sbin/named \
--with-named-dir=/var/named/data \ --with-named-dir=/var/named/data \
--with-named-user=named --with-named-user=named
make make
# build the applet
pushd nm-applet-0.6.5
automake
autoconf
%configure \
--disable-static \
--with-notify \
--with-named=/usr/sbin/named \
--with-named-dir=/var/named/data \
--with-named-user=named
make
popd
%install %install
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
# install NM
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
# install the applet
pushd nm-applet-0.6.5
make install DESTDIR=$RPM_BUILD_ROOT
popd
%find_lang %{name} %find_lang %{name}
%find_lang nm-applet
cat nm-applet.lang >> %{name}.lang
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{__cp} test/nm-tool $RPM_BUILD_ROOT%{_bindir}/ %{__cp} test/nm-tool $RPM_BUILD_ROOT%{_bindir}/
@ -194,22 +198,20 @@ fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO %doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING TODO
%dir %{_sysconfdir}/NetworkManager/ %config %{_sysconfdir}/dbus-1/system.d/NetworkManager.conf
%dir %{_sysconfdir}/NetworkManager/dispatcher.d/ %config %{_sysconfdir}/rc.d/init.d/NetworkManager
%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf %config %{_sysconfdir}/rc.d/init.d/NetworkManagerDispatcher
%config %{_sysconfdir}/rc.d/init.d/%{name}
%config %{_sysconfdir}/rc.d/init.d/%{name}Dispatcher
%{_sbindir}/%{name} %{_sbindir}/%{name}
%{_sbindir}/NetworkManagerDispatcher %{_sbindir}/NetworkManagerDispatcher
%dir %{_sysconfdir}/NetworkManager/
%{_bindir}/nm-tool %{_bindir}/nm-tool
%{_libdir}/libnm-util.so.* %{_libdir}/libnm-util.so*
%{_mandir}/man1/NetworkManager.1.gz %{_mandir}/man1/NetworkManager.1.gz
%{_mandir}/man1/NetworkManagerDispatcher.1.gz %{_mandir}/man1/NetworkManagerDispatcher.1.gz
%{_mandir}/man1/nm-tool.1.gz %{_mandir}/man1/nm-tool.1.gz
%dir %{_localstatedir}/run/%{name} %dir %{_localstatedir}/run/NetworkManager
%{_prefix}/libexec/nm-crash-logger %{_prefix}/libexec/nm-crash-logger
%dir %{_datadir}/%{name} %{_datadir}/NetworkManager/gdb-cmd
%{_datadir}/%{name}/gdb-cmd
%files gnome %files gnome
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
@ -224,7 +226,6 @@ fi
%files devel %files devel
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*.h %{_includedir}/%{name}/*.h
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/libnm-util.pc %{_libdir}/pkgconfig/libnm-util.pc
@ -241,6 +242,9 @@ fi
%changelog %changelog
* Thu Mar 15 2007 Dan Williams <dcbw@redhat.com> - 1:0.6.5-0.4.svn2474
- Update to pre-0.6.5 snapshot
* Thu Feb 8 2007 Christopher Aillon <caillon@redhat.com> - 1:0.6.5-0.3.cvs20061025 * Thu Feb 8 2007 Christopher Aillon <caillon@redhat.com> - 1:0.6.5-0.3.cvs20061025
- Guard against D-Bus LimitExceeded messages - Guard against D-Bus LimitExceeded messages

View File

@ -1 +1,2 @@
d85b8f8d3c7d2c955decf90fd39b0421 NetworkManager-0.6.5.cvs20061025.tar.gz 66c2c133230b27b8c0f0904bc0afda52 NetworkManager-0.6.5.svn2474.tar.gz
99409b7e202a8c0c1121f7f63490392d nm-applet-0.6.5.svn63.tar.gz