Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1: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) 2015 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.6 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 %{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 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 %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 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 ##translation-update-upstream %build # Needed for patch0 NOCONFIGURE=1 gnome-autogen.sh %configure \ --disable-static \ --disable-maintainer-mode \ --disable-migration \ %if %{build_appindicator} --with-appindicator \ %endif --without-firewalld %__make %{?_smp_mflags} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -delete -print %suse_update_desktop_file %{buildroot}%{_datadir}/applications/nm-applet.desktop %suse_update_desktop_file %{buildroot}%{_sysconfdir}/xdg/autostart/nm-applet.desktop %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/ %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 %doc %{_mandir}/man?/nm-*.gz %{_bindir}/nm-applet %{_bindir}/nm-connection-editor %{_datadir}/nm-applet %dir %{_datadir}/appdata %{_datadir}/appdata/* %{_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 %{_datadir}/applications/nm-connection-editor.desktop %if %{build_appindicator} %{_docdir}/* %{_datadir}/icons/hicolor/*/status/*.png %endif %if !%{build_appindicator} %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