Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:2-TestDVD
NetworkManager-gnome
NetworkManager-appindicator.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File NetworkManager-appindicator.spec of Package NetworkManager-gnome
# # spec file for package NetworkManager-appindicator # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_appindicator 1 %define with_cacert_patch 1 # Do not edit this auto generated file! Edit NetworkManager-gnome.spec. Name: NetworkManager-appindicator %define _name NetworkManager-gnome Url: http://www.gnome.org/projects/NetworkManager/ Version: 1.0.10 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dbus-1-devel BuildRequires: dbus-1-glib-devel # Needed for patch0 BuildRequires: gnome-common BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel >= 3.4 BuildRequires: intltool BuildRequires: libnotify-devel BuildRequires: libtool # Needed by patch0 BuildRequires: polkit-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(NetworkManager) >= 1.0.0 BuildRequires: pkgconfig(gudev-1.0) >= 147 BuildRequires: pkgconfig(iso-codes) BuildRequires: pkgconfig(libnm-glib) >= 1.0.0 BuildRequires: pkgconfig(libnm-glib-vpn) >= 1.0.0 BuildRequires: pkgconfig(libnm-util) >= 1.0.0 BuildRequires: pkgconfig(libsecret-unstable) BuildRequires: pkgconfig(mm-glib) %if !0%{?is_opensuse} BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(gnome-keyring-1) %endif %if %{build_appindicator} # For some reason Configure wants version 3, but to compile it needs version 1 BuildRequires: pkgconfig(appindicator3-0.1) %endif Summary: GNOME applications for use with NetworkManager License: GPL-2.0+ Group: System/GUI/GNOME Source: http://download.gnome.org/sources/network-manager-applet/1.0/network-manager-applet-%{version}.tar.xz Source1: nm-icons.tar.gz Source2: nm-icons-appindicator.tar.gz # PATCH-FIX-UPSTREAM nm-applet-private-connection.patch bnc#751211 bgo#646187 dimstar@opensuse.org -- Create private connections if the user is not authorized. Allows to create wifi connections without root access. Patch under discussion upstream. Patch0: nm-applet-private-connection.patch # PATCH-NEEDS-REBASE nm-applet-probe-radius-server-cert.patch bnc#574266 glin@suse.com -- Probe the RADIUS server certificate (WAS: PATCH-FIX-UPSTREAM) Patch1: nm-applet-probe-radius-server-cert.patch # PATCH-FEATURE-UPSTREAM NetworkManager-gnome-no-firewalld.patch boo#897636 bgo#737687 dimstar@opensuse.org -- Allow to disable FirewallD integration Patch2: NetworkManager-gnome-no-firewalld.patch # PATCH-FEATURE-UPSTREAM AppIndicator systray support Patch3: nm-applet-app-indicator.patch # PATCH-FIX-UPSTREAM NetworkManager-wrongly-placed-brace.patch dimstar@opensuse.org -- Fix wrongly placed brace, taken from git Patch4: NetworkManager-wrongly-placed-brace.patch # PATCH-FIX-SLE nm-applet-migration-tool.patch bsc#952123 sckang@suse.com -- Build migration tool on SLE to migrate old VPN configurations Patch5: nm-applet-migration-tool.patch # PATCH-FIX-UPSTREAM nm-applet-fix-export-button-not-sensible.patch bsc#991607 sckang@suse.com -- Fix sensitivity of "Export" button for VPN Patch6: nm-applet-fix-export-button-not-sensible.patch # PATCH-FIX-OPENSUSE NetworkManager-gnome-bsc1003069-default-agent-owned-secrets.patch bsc#1003069 hpj@suse.com -- Make sure secrets default to agent-owned (encrypted keyring). Patch7: NetworkManager-gnome-bsc1003069-default-agent-owned-secrets.patch # PATCH-FIX-UPSTREAM nm-applet-support-ttls-mschapv2.patch bsc#1009019 bgo#768489 sckang@suse.com -- Add support for plain MSCHAPV2 as inner authentication of TTLS Patch8: nm-applet-support-ttls-mschapv2.patch Provides: NetworkManager-client Requires: NetworkManager >= 0.9.3 # needed for translated country names Requires: iso-codes # mobile-broadband-provider-info is required for DUN capabilities. The BT plugin crashes without it. Requires: mobile-broadband-provider-info Requires: timezone Requires: dbus(org.freedesktop.secrets) %if %{with_cacert_patch} Requires: NetworkManager(cacert-patch) %endif Recommends: %{_name}-lang Recommends: NetworkManager-connection-editor %glib2_gsettings_schema_requires %if %{build_appindicator} Conflicts: NetworkManager-gnome %else Conflicts: NetworkManager-appindicator %endif %description This package contains GNOME utilities and applications for use with NetworkManager, including a panel applet for wireless networks. %if !%{build_appindicator} %package -n NetworkManager-connection-editor Summary: GUI to configure connections for NetworkManager Group: System/GUI/GNOME %description -n NetworkManager-connection-editor NetworkManager Configuration tool - take control over your connection settings. %package -n libnm-gtk0 Summary: NetworkManager Gtk+ dialogs Group: System/Libraries %description -n libnm-gtk0 This library provides GTK+ dialogs for NetworkManager integration. %package -n typelib-1_0-NMGtk-1_0 Summary: NetworkManager Gtk+ dialogs -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-NMGtk-1_0 This library provides GTK+ dialogs for NetworkManager integration provided as introspection bindings. %package -n libnm-gtk-devel Summary: NetworkManager Gtk+ dialogs -- Development Files Group: Development/Libraries/GNOME Requires: libnm-gtk0 = %{version} Requires: typelib-1_0-NMGtk-1_0 = %{version} %description -n libnm-gtk-devel This library provides GTK+ dialogs for NetworkManager integration. %endif %lang_package %prep %setup -q -n network-manager-applet-%{version} -a 1 -a 2 %patch0 -p1 %if %{with_cacert_patch} %patch1 -p1 %endif %patch2 -p1 %if %{build_appindicator} %patch3 -p1 %endif %patch4 -p1 %if !0%{?is_opensuse} %patch5 -p1 %endif %patch6 -p1 %patch7 -p1 %patch8 -p1 ##translation-update-upstream %build # Needed for patch0 NOCONFIGURE=1 gnome-autogen.sh %configure \ --disable-static \ --disable-maintainer-mode \ %if 0%{?is_opensuse} --disable-migration \ %endif %if %{build_appindicator} --with-appindicator \ %endif --without-firewalld %__make %{?_smp_mflags} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -delete -print # align the name of the appdata file with the name of the .desktop file mv %{buildroot}%{_datadir}/appdata/org.gnome.nm-connection-editor.appdata.xml \ %{buildroot}%{_datadir}/appdata/nm-connection-editor.appdata.xml %suse_update_desktop_file %{buildroot}%{_datadir}/applications/nm-applet.desktop %suse_update_desktop_file %{buildroot}%{_sysconfdir}/xdg/autostart/nm-applet.desktop %if !0%{?is_opensuse} %suse_update_desktop_file %{buildroot}%{_sysconfdir}/xdg/autostart/nm-applet-migration-tool.desktop %endif %suse_update_desktop_file -r nm-connection-editor GTK GNOME System X-SuSE-ServiceConfiguration %if !%{build_appindicator} %find_lang nm-applet %{?no_lang_C} cp -r nm-icons/* $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/ %else cp -r nm-icons-appindicator/* $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/ mkdir -p %{buildroot}/%{_docdir}/%{name}/ mv %{buildroot}%{_datadir}/icons/hicolor/COPYING %{buildroot}/%{_docdir}/COPYING.icons mv %{buildroot}%{_datadir}/icons/hicolor/CREDITS %{buildroot}/%{_docdir}/CREDITS.icons # Remove files from packages built in NetworkManager-gnome rm %{buildroot}%{_libdir}/libnm-gtk.so.* rm -r %{buildroot}%{_datadir}/libnm-gtk/ rm %{buildroot}%{_libdir}/girepository-1.0/NMGtk-1.0.typelib rm %{buildroot}%{_datadir}/gir-1.0/NMGtk-1.0.gir rm -r %{buildroot}%{_includedir}/libnm-gtk/ rm %{buildroot}%{_libdir}/libnm-gtk.so rm %{buildroot}%{_libdir}/pkgconfig/libnm-gtk.pc rm -r %{buildroot}%{_datadir}/locale/ # nm-connection-editor is built as a separate package and can be shared find %{buildroot} -name 'nm-connection-editor*' -delete -print %endif %post %glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post %postun %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun %if !%{build_appindicator} %post -n libnm-gtk0 -p /sbin/ldconfig %postun -n libnm-gtk0 -p /sbin/ldconfig %endif %files %defattr(-,root,root) %doc COPYING ChangeLog NEWS AUTHORS README CONTRIBUTING %{_mandir}/man1/nm-applet.1%{?ext_man} %{_bindir}/nm-applet %{_datadir}/nm-applet %if !0%{?is_opensuse} %{_libexecdir}/nm-applet-migration-tool %endif # This file moves to NetworkManager-connection-editor %exclude %{_datadir}/nm-applet/nm-connection-editor.ui %{_datadir}/GConf/gsettings/nm-applet.convert %{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/*/apps/*.svg %{_sysconfdir}/xdg/autostart/nm-applet.desktop %{_datadir}/applications/nm-applet.desktop %if !0%{?is_opensuse} %{_sysconfdir}/xdg/autostart/nm-applet-migration-tool.desktop %endif %if %{build_appindicator} %{_docdir}/* %{_datadir}/icons/hicolor/*/status/*.png %endif %if !%{build_appindicator} %files -n NetworkManager-connection-editor %defattr(-,root,root) %{_bindir}/nm-connection-editor %{_datadir}/applications/nm-connection-editor.desktop %dir %{_datadir}/appdata %{_datadir}/appdata/nm-connection-editor.appdata.xml %dir %{_datadir}/nm-applet %{_datadir}/nm-applet/nm-connection-editor.ui %{_mandir}/man1/nm-connection-editor.1%{?ext_man} %files -n libnm-gtk0 %defattr(-,root,root) %{_libdir}/libnm-gtk.so.* %{_datadir}/libnm-gtk/ %files -n typelib-1_0-NMGtk-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/NMGtk-1.0.typelib %files -n libnm-gtk-devel %defattr(-,root,root) %{_datadir}/gir-1.0/NMGtk-1.0.gir %{_includedir}/libnm-gtk/ %{_libdir}/libnm-gtk.so %{_libdir}/pkgconfig/libnm-gtk.pc %files lang -f nm-applet.lang %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor