remove requirement for libnm-gtk [release 1.16.0-2mamba;Fri Mar 20 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 07:36:10 +01:00
parent 31d3d08b73
commit 7007e361eb

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: network-manager-applet
Version: 1.8.24
Version: 1.16.0
Release: 2mamba
Summary: A GNOME applet to control network connections
Group: Graphical Desktop/Applications/Networking
@ -53,6 +53,7 @@ BuildRequires: libz-devel
BuildRequires: intltool
BuildRequires: libdbus-glib-tools
BuildRequires: libnm-devel >= 1.22.2
BuildRequires: libnma-devel
Requires: NetworkManager
Requires: ModemManager
Requires: gnome-keyring
@ -62,31 +63,13 @@ Requires: networkmanagervpnplugin
Requires: dconf
Provides: networkmanagergui
Obsoletes: wicd
Requires: libnm-gtk = %{?epoch:%epoch:}%{version}-%{release}
#Requires: libnm-gtk = %{?epoch:%epoch:}%{version}-%{release}
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 -n libnm-gtk
Group: System/Libraries
Summary: GTK libraries for NetworkManager
%description -n libnm-gtk
This package contains GTK libraries for NetworkManager.
%package -n libnm-gtk-devel
Summary: Devel package for libnm-gtk
Group: Development/Libraries
Requires: libnm-gtk = %{?epoch:%epoch:}%{version}-%{release}
Provides: network-manager-applet-devel
Obsoletes: network-manager-applet-devel
%description -n libnm-gtk-devel
This package contains the development files for libnm-gtk.
%debug_package
%prep
%setup -q
@ -123,61 +106,27 @@ if [ $1 -eq 0 ]; then
fi
:
%post -n libnm-gtk -p /sbin/ldconfig
%postun -n libnm-gtk -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
#%{_sysconfdir}/gconf/schemas/nm-applet.schemas
%{_sysconfdir}/xdg/autostart/nm-applet.desktop
%{_bindir}/nm-applet
%{_bindir}/nm-connection-editor
#%{_libexecdir}/nm-applet-migration-tool
%{_datadir}/GConf/gsettings/nm-applet.convert
%{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
%{_datadir}/metainfo/nm-connection-editor.appdata.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}/libnma
#%{_datadir}/libnma/wifi.ui
#%dir %{_datadir}/nm-applet
#%{_datadir}/nm-applet/*
%{_mandir}/man1/nm-applet.1*
%{_mandir}/man1/nm-connection-editor.1*
%files -n libnm-gtk
%defattr(-,root,root)
#%{_libdir}/libnm-gtk.so.*
%{_libdir}/libnma.so.*
#%{_libdir}/girepository-1.0/NMGtk-1.0.typelib
%{_libdir}/girepository-1.0/NMA-1.0.typelib
%doc COPYING
%files -n libnm-gtk-devel
%defattr(-,root,root)
#%dir %{_includedir}/libnm-gtk
#%{_includedir}/libnm-gtk/nm-*.h
%dir %{_includedir}/libnma
%{_includedir}/libnma/*
#%{_libdir}/libnm-gtk.a
#%{_libdir}/libnm-gtk.la
#%{_libdir}/libnm-gtk.so
%{_libdir}/libnma.a
%{_libdir}/libnma.la
%{_libdir}/libnma.so
%dir %{_datadir}/gtk-doc/html/libnma
%{_datadir}/gtk-doc/html/libnma/*
#%{_datadir}/gir-1.0/NMGtk-1.0.gir
%{_datadir}/gir-1.0/NMA-1.0.gir
#%{_libdir}/pkgconfig/libnm-gtk.pc
%{_libdir}/pkgconfig/libnma.pc
%doc ChangeLog NEWS
%changelog
* Fri Mar 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-2mamba
- remove requirement for libnm-gtk
* Sat Mar 14 2020 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
- automatic version update by autodist
* Fri Jan 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.24-2mamba
- rebuilt with libnm 1.22.2