From e5d255ce7f91cb988c94016da7c680479ebb308b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:36:09 +0100 Subject: [PATCH] automatic version update by autodist [release 0.9.8.8-1mamba;Tue Nov 12 2013] --- README.md | 2 + ...er-applet-0.8.2-dbus-policy-sysadmin.patch | 23 ++ ...applet-0.9.8.8-dont_autostart_in_kde.patch | 10 + network-manager-applet.spec | 208 ++++++++++++++++++ 4 files changed, 243 insertions(+) create mode 100644 network-manager-applet-0.8.2-dbus-policy-sysadmin.patch create mode 100644 network-manager-applet-0.9.8.8-dont_autostart_in_kde.patch create mode 100644 network-manager-applet.spec diff --git a/README.md b/README.md index 14b5a7a..f14fe0a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # network-manager-applet +A GNOME applet to control network connections. + diff --git a/network-manager-applet-0.8.2-dbus-policy-sysadmin.patch b/network-manager-applet-0.8.2-dbus-policy-sysadmin.patch new file mode 100644 index 0000000..aff194c --- /dev/null +++ b/network-manager-applet-0.8.2-dbus-policy-sysadmin.patch @@ -0,0 +1,23 @@ +diff -Nru network-manager-applet-0.8.2.orig//nm-applet-dbus-126.conf network-manager-applet-0.8.2/nm-applet-dbus-126.conf +--- network-manager-applet-0.8.2.orig//nm-applet-dbus-126.conf 2010-04-06 08:35:03.000000000 +0200 ++++ network-manager-applet-0.8.2/nm-applet-dbus-126.conf 2011-01-30 15:15:31.488035082 +0100 +@@ -23,6 +23,19 @@ + + ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + diff --git a/network-manager-applet-0.9.8.8-dont_autostart_in_kde.patch b/network-manager-applet-0.9.8.8-dont_autostart_in_kde.patch new file mode 100644 index 0000000..d76227a --- /dev/null +++ b/network-manager-applet-0.9.8.8-dont_autostart_in_kde.patch @@ -0,0 +1,10 @@ +--- network-manager-applet-0.9.8.8/nm-applet.desktop.in.orig 2013-11-12 11:32:14.537634332 +0100 ++++ network-manager-applet-0.9.8.8/nm-applet.desktop.in 2013-11-12 11:33:00.932257973 +0100 +@@ -7,6 +7,7 @@ + Type=Application + NoDisplay=true + NotShowIn=KDE; ++X-KDE-autostart-condition=nmappletrc:General:Autostart:false + X-GNOME-Bugzilla-Bugzilla=GNOME + X-GNOME-Bugzilla-Product=NetworkManager + X-GNOME-Bugzilla-Component=nm-applet diff --git a/network-manager-applet.spec b/network-manager-applet.spec new file mode 100644 index 0000000..7a1f16d --- /dev/null +++ b/network-manager-applet.spec @@ -0,0 +1,208 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: network-manager-applet +Version: 0.9.8.8 +Release: 1mamba +Summary: A GNOME applet to control network connections +Group: Graphical Desktop/Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://projects.gnome.org/NetworkManager/ +Source: http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/%{majver}/network-manager-applet-%{version}.tar.xz +Patch0: %{name}-0.8.2-dbus-policy-sysadmin.patch +Patch1: %{name}-0.9.8.8-dont_autostart_in_kde.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: GConf-devel +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglade-devel +BuildRequires: libglib-devel +BuildRequires: libglitz-devel +BuildRequires: libgnome-keyring-devel +BuildRequires: libgpg-error-devel +BuildRequires: libgtk-devel +BuildRequires: libnm-devel +BuildRequires: libnotify-devel +BuildRequires: libnspr +BuildRequires: libnss +BuildRequires: libpango-devel +BuildRequires: libpixman-devel +BuildRequires: libpng-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libselinux-devel +BuildRequires: libstdc++6-devel +BuildRequires: libuuid-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libxcb-util-devel +BuildRequires: libXdmcp-devel +BuildRequires: libxml2-devel +BuildRequires: libXrender-devel +BuildRequires: libz-devel +BuildRequires: ORBit2-devel +BuildRequires: udev-devel +## AUTOBUILDREQ-END +Requires: NetworkManager +Requires: ModemManager +Requires: gnome-keyring +Requires(post):hicolor-icon-theme +Requires: notification-daemon +Requires: networkmanagervpnplugin +Provides: networkmanagergui +Obsoletes: wicd +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# Missing deps: +# checking for gnome-bluetooth... checking for GNOME_BLUETOOTH... no + +%description +A GNOME applet to control network connections. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +A GNOME applet to control network connections. + +This is the development package for the libraries. + +%prep +%setup -q +#%patch0 -p1 +%patch1 -p1 + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang nm-applet + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +if [ $1 -ge 1 ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null +fi +: + +%postun +if [ $1 -eq 0 ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null +fi +: + +%files -f nm-applet.lang +%defattr(-,root,root) +#%{_sysconfdir}/gconf/schemas/nm-applet.schemas +%{_sysconfdir}/xdg/autostart/nm-applet.desktop +%{_bindir}/nm-applet +%{_bindir}/nm-connection-editor +%{_libdir}/libnm-gtk.so.* +%{_libdir}/girepository-1.0/NMGtk-1.0.typelib +%{_libexecdir}/nm-applet-migration-tool +%{_datadir}/GConf/gsettings/nm-applet.convert +%{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml +%{_datadir}/applications/nm-applet.desktop +%{_datadir}/applications/nm-connection-editor.desktop +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/icons/hicolor/scalable/apps/*.svg +%dir %{_datadir}/libnm-gtk +%{_datadir}/libnm-gtk/wifi.ui +%dir %{_datadir}/nm-applet +%{_datadir}/nm-applet/* +%{_mandir}/man1/nm-applet.1.gz +%{_mandir}/man1/nm-connection-editor.1.gz +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libnm-gtk +%{_includedir}/libnm-gtk/nm-*.h +%{_libdir}/libnm-gtk.a +%{_libdir}/libnm-gtk.la +%{_libdir}/libnm-gtk.so +%{_datadir}/gir-1.0/NMGtk-1.0.gir +%{_libdir}/pkgconfig/libnm-gtk.pc +%doc ChangeLog NEWS + +%changelog +* Tue Nov 12 2013 Automatic Build System 0.9.8.8-1mamba +- automatic version update by autodist + +* Mon Sep 16 2013 Automatic Build System 0.9.8.4-1mamba +- automatic update by autodist + +* Sat Jun 08 2013 Automatic Build System 0.9.8.2-1mamba +- automatic version update by autodist + +* Mon Feb 25 2013 Automatic Build System 0.9.8.0-1mamba +- automatic version update by autodist + +* Fri Oct 26 2012 Automatic Build System 0.9.6.4-1mamba +- automatic version update by autodist + +* Sat Sep 01 2012 Silvan Calarco 0.9.6.2-2mamba +- recompile schemas in xpost and xpostun scripts + +* Mon Aug 13 2012 Automatic Build System 0.9.6.2-1mamba +- automatic version update by autodist + +* Mon Apr 02 2012 Automatic Build System 0.9.4.1-1mamba +- automatic version update by autodist + +* Tue Mar 13 2012 Automatic Build System 0.9.3.995-1mamba +- update to 0.9.3.995 + +* Fri Jan 27 2012 Automatic Build System 0.9.2.0-1mamba +- automatic version update by autodist + +* Sat Oct 29 2011 Silvan Calarco 0.9.0-2mamba +- disable autostart in KDE and remove conflict with plasma-applet-networkmanagement + +* Wed Aug 24 2011 Automatic Build System 0.9.0-1mamba +- update to 0.9.0 + +* Fri Jul 22 2011 Automatic Build System 0.8.4-1mamba +- update to 0.8.4 + +* Fri Jun 17 2011 Silvan Calarco 0.8.2-7mamba +- replace requirement for VPN plugins with networkmanagervpnplugin + +* Wed Jun 15 2011 Silvan Calarco 0.8.2-6mamba +- added requirements for openvpn, pptp and vpnc plugins + +* Wed Feb 16 2011 Silvan Calarco 0.8.2-5mamba +- added conflict with wicd and plasma-desktop-networkmanagement +- provide networkmanagergui +- require ModemManager + +* Sun Jan 30 2011 Silvan Calarco 0.8.2-4mamba +- added dbus policy patch to give sysadmin privileges to set NetworkManagerSettings.Connection.Secrets + +* Thu Jan 27 2011 Silvan Calarco 0.8.2-3mamba +- added requirement for notification-daemon + +* Thu Jan 13 2011 Silvan Calarco 0.8.2-2mamba +- added post requirement for hicolor-icon-theme + +* Fri Dec 03 2010 Silvan Calarco 0.8.2-1mamba +- package created by autospec