new subpackages libnm-gtk and libnm-gtk-devel [release 1.0.0-2mamba;Fri Jan 23 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 07:36:10 +01:00
parent 0e08611231
commit 816bf17803

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: network-manager-applet
Version: 0.9.10.0
Release: 1mamba
Version: 1.0.0
Release: 2mamba
Summary: A GNOME applet to control network connections
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
@ -13,48 +13,45 @@ 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: ModemManager-devel
BuildRequires: glibc-devel
BuildRequires: libGConf-devel
BuildRequires: libORBit2-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcap-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-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: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libnm-devel
BuildRequires: libnotify-devel
BuildRequires: libnspr
BuildRequires: libnss
BuildRequires: libnspr-devel
BuildRequires: libnss-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libsecret-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtermcap-devel
BuildRequires: libudev-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
BuildRequires: intltool
BuildRequires: libdbus-glib-tools
BuildRequires: libsecret-devel
Requires: NetworkManager
Requires: ModemManager
Requires: gnome-keyring
@ -64,6 +61,7 @@ Requires: networkmanagervpnplugin
Requires: dconf
Provides: networkmanagergui
Obsoletes: wicd
Requires: libnm-gtk = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# Missing deps:
@ -72,15 +70,22 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A GNOME applet to control network connections.
%package devel
Summary: Devel package for %{name}
%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: %{name} = %{version}-%{release}
Requires: libnm-gtk = %{?epoch:%epoch:}%{version}-%{release}
Provides: network-manager-applet-devel
Obsoletes: network-manager-applet-devel
%description devel
A GNOME applet to control network connections.
This is the development package for the libraries.
%description -n libnm-gtk-devel
This package contains the development files for libnm-gtk.
%prep
%setup -q
@ -117,14 +122,15 @@ if [ $1 -eq 0 ]; then
fi
:
%post -n libnm-gtk -p /sbin/ldconfig
%postun -n libnm-gtk -p /sbin/ldconfig
%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
@ -136,11 +142,16 @@ fi
%{_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
%{_mandir}/man1/nm-applet.1*
%{_mandir}/man1/nm-connection-editor.1*
%files -n libnm-gtk
%defattr(-,root,root)
%{_libdir}/libnm-gtk.so.*
%{_libdir}/girepository-1.0/NMGtk-1.0.typelib
%doc COPYING
%files devel
%files -n libnm-gtk-devel
%defattr(-,root,root)
%dir %{_includedir}/libnm-gtk
%{_includedir}/libnm-gtk/nm-*.h
@ -152,6 +163,12 @@ fi
%doc ChangeLog NEWS
%changelog
* Fri Jan 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
- new subpackages libnm-gtk and libnm-gtk-devel
* Wed Jan 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Fri Jul 04 2014 Automatic Build System <autodist@mambasoft.it> 0.9.10.0-1mamba
- automatic version update by autodist