|
|
8091e7 |
%global gtk3_version %(pkg-config --modversion gtk+-3.0 2>/dev/null || echo bad)
|
|
|
8091e7 |
%global gtk4_version %(pkg-config --modversion gtk4 2>/dev/null || echo bad)
|
|
|
8091e7 |
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
|
|
|
8091e7 |
%global nm_version 1:1.8.0
|
|
|
8091e7 |
%global mbp_version 0.20090602
|
|
|
8091e7 |
%global old_libnma_version 1.8.27
|
|
|
8091e7 |
|
|
|
2f2166 |
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 10
|
|
|
2f2166 |
%bcond_without libnma_gtk4
|
|
|
2f2166 |
%else
|
|
|
8091e7 |
%bcond_with libnma_gtk4
|
|
|
2f2166 |
%endif
|
|
|
8091e7 |
|
|
|
8091e7 |
Name: libnma
|
|
|
8091e7 |
Summary: NetworkManager GUI library
|
|
|
2f2166 |
Version: 1.8.40
|
|
|
2f2166 |
Release: 1%{?dist}
|
|
|
8091e7 |
# The entire source code is GPLv2+ except some files in shared/ which are LGPLv2+
|
|
|
8091e7 |
License: GPLv2+ and LGPLv2+
|
|
|
8091e7 |
URL: https://gitlab.gnome.org/GNOME/libnma/
|
|
|
2f2166 |
Source0: https://download.gnome.org/sources/libnma/1.8/%{name}-%{version}.tar.xz
|
|
|
8091e7 |
|
|
|
8091e7 |
Patch1: 0001-nm-applet-no-notifications.patch
|
|
|
8091e7 |
|
|
|
8091e7 |
Requires: mobile-broadband-provider-info >= %{mbp_version}
|
|
|
8091e7 |
|
|
|
8091e7 |
Conflicts: libnma < %{old_libnma_version}
|
|
|
8091e7 |
|
|
|
8091e7 |
BuildRequires: gcc
|
|
|
8091e7 |
BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
|
|
|
8091e7 |
BuildRequires: ModemManager-glib-devel >= 1.0
|
|
|
2f2166 |
BuildRequires: glib2-devel >= 2.38
|
|
|
2f2166 |
BuildRequires: gtk3-devel >= 3.12
|
|
|
8091e7 |
%if %{with libnma_gtk4}
|
|
|
2f2166 |
BuildRequires: gtk4-devel >= 4.0
|
|
|
8091e7 |
%endif
|
|
|
8091e7 |
BuildRequires: gobject-introspection-devel >= 0.10.3
|
|
|
8091e7 |
BuildRequires: gettext-devel
|
|
|
8091e7 |
BuildRequires: pkgconfig
|
|
|
8091e7 |
BuildRequires: meson
|
|
|
8091e7 |
BuildRequires: gtk-doc
|
|
|
8091e7 |
BuildRequires: iso-codes-devel
|
|
|
8091e7 |
BuildRequires: gcr-devel
|
|
|
8091e7 |
BuildRequires: mobile-broadband-provider-info-devel >= %{mbp_version}
|
|
|
8091e7 |
|
|
|
8091e7 |
%description
|
|
|
8091e7 |
This package contains the library used for integrating GUI tools with
|
|
|
8091e7 |
NetworkManager.
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%package devel
|
|
|
8091e7 |
Summary: Header files for NetworkManager GUI library
|
|
|
8091e7 |
Requires: NetworkManager-libnm-devel >= %{nm_version}
|
|
|
8091e7 |
Obsoletes: NetworkManager-gtk-devel < 1:0.9.7
|
|
|
8091e7 |
Requires: libnma%{?_isa} = %{version}-%{release}
|
|
|
8091e7 |
Requires: gtk3-devel%{?_isa}
|
|
|
8091e7 |
Requires: pkgconfig
|
|
|
8091e7 |
Conflicts: libnma < %{old_libnma_version}
|
|
|
8091e7 |
|
|
|
8091e7 |
%description devel
|
|
|
8091e7 |
This package contains header and pkg-config files to be used for integrating
|
|
|
8091e7 |
GUI tools with NetworkManager.
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%package gtk4
|
|
|
8091e7 |
Summary: Experimental GTK 4 version of NetworkManager GUI library
|
|
|
8091e7 |
Requires: gtk4%{?_isa} >= %{gtk4_version}
|
|
|
8091e7 |
Requires: mobile-broadband-provider-info >= %{mbp_version}
|
|
|
8091e7 |
Conflicts: libnma < %{old_libnma_version}
|
|
|
8091e7 |
|
|
|
8091e7 |
%description gtk4
|
|
|
8091e7 |
This package contains the experimental GTK4 version of library used for
|
|
|
8091e7 |
integrating GUI tools with NetworkManager.
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%package gtk4-devel
|
|
|
8091e7 |
Summary: Header files for experimental GTK4 version of NetworkManager GUI library
|
|
|
8091e7 |
Requires: NetworkManager-libnm-devel >= %{nm_version}
|
|
|
8091e7 |
Requires: libnma-gtk4%{?_isa} = %{version}-%{release}
|
|
|
8091e7 |
Requires: gtk4-devel%{?_isa}
|
|
|
8091e7 |
Requires: pkgconfig
|
|
|
8091e7 |
Conflicts: libnma < %{old_libnma_version}
|
|
|
8091e7 |
|
|
|
8091e7 |
%description gtk4-devel
|
|
|
8091e7 |
This package contains the experimental GTK4 version of header and pkg-config
|
|
|
8091e7 |
files to be used for integrating GUI tools with NetworkManager.
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%prep
|
|
|
2f2166 |
%autosetup -p1
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%build
|
|
|
8091e7 |
%meson \
|
|
|
8091e7 |
-Dgcr=true \
|
|
|
8091e7 |
-Dvapi=false \
|
|
|
8091e7 |
%if %{with libnma_gtk4}
|
|
|
8091e7 |
-Dlibnma_gtk4=true
|
|
|
8091e7 |
%else
|
|
|
8091e7 |
-Dlibnma_gtk4=false
|
|
|
8091e7 |
%endif
|
|
|
8091e7 |
%meson_build
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%install
|
|
|
8091e7 |
%meson_install
|
|
|
8091e7 |
%find_lang %{name}
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%check
|
|
|
8091e7 |
%meson_test
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%files -f %{name}.lang
|
|
|
8091e7 |
%{_libdir}/libnma.so.*
|
|
|
8091e7 |
%{_libdir}/girepository-1.0/NMA-1.0.typelib
|
|
|
8091e7 |
%{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
|
|
|
8091e7 |
%doc NEWS CONTRIBUTING
|
|
|
8091e7 |
%license COPYING
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%files devel
|
|
|
8091e7 |
%{_includedir}/libnma
|
|
|
8091e7 |
%{_libdir}/pkgconfig/libnma.pc
|
|
|
8091e7 |
%{_libdir}/libnma.so
|
|
|
8091e7 |
%{_datadir}/gir-1.0/NMA-1.0.gir
|
|
|
8091e7 |
%{_datadir}/gtk-doc
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%if %{with libnma_gtk4}
|
|
|
8091e7 |
%files gtk4
|
|
|
8091e7 |
%{_libdir}/libnma-gtk4.so.*
|
|
|
8091e7 |
%{_libdir}/girepository-1.0/NMA4-1.0.typelib
|
|
|
8091e7 |
%license COPYING
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%files gtk4-devel
|
|
|
8091e7 |
%{_includedir}/libnma
|
|
|
8091e7 |
%{_libdir}/pkgconfig/libnma-gtk4.pc
|
|
|
8091e7 |
%{_libdir}/libnma-gtk4.so
|
|
|
8091e7 |
%{_datadir}/gir-1.0/NMA4-1.0.gir
|
|
|
8091e7 |
%endif
|
|
|
8091e7 |
|
|
|
8091e7 |
|
|
|
8091e7 |
%changelog
|
|
|
2f2166 |
* Wed Jun 15 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.8.40-1
|
|
|
2f2166 |
- Update to 1.8.40 release
|
|
|
2f2166 |
- Demote WEP (rh #2030997)
|
|
|
2f2166 |
|
|
|
2f2166 |
* Fri Apr 8 2022 Ana Cabral <acabral@redhat.com> - 1.8.38-1
|
|
|
2f2166 |
- Update to 1.8.38 release
|
|
|
2f2166 |
|
|
|
2f2166 |
* Fri Mar 25 2022 Ana Cabral <acabral@redhat.com> - 1.8.36-2
|
|
|
2f2166 |
- Rebuilt (outage)
|
|
|
2f2166 |
|
|
|
2f2166 |
* Fri Mar 25 2022 Ana Cabral <acabral@redhat.com> - 1.8.36-1
|
|
|
2f2166 |
- Update to 1.8.36 release (rh #2066742)
|
|
|
2f2166 |
- Include OWE wireless security (rh #2066737)
|
|
|
2f2166 |
- Fix OWE wireless security entry in Hidden Networks dialog (rh #2057512)
|
|
|
2f2166 |
|
|
|
8091e7 |
* Fri Aug 20 2021 Wen Liang <wenliang@redhat.com> - 1.8.32-1
|
|
|
8091e7 |
- Update to 1.8.32 release
|
|
|
8091e7 |
|
|
|
8091e7 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.30-1.5
|
|
|
8091e7 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
8091e7 |
Related: rhbz#1991688
|
|
|
8091e7 |
|
|
|
8091e7 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.30-1.4
|
|
|
8091e7 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
8091e7 |
|
|
|
8091e7 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.30-1.3
|
|
|
8091e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8091e7 |
|
|
|
8091e7 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.30-1.2
|
|
|
8091e7 |
- Second attempt - Rebuilt for
|
|
|
8091e7 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8091e7 |
|
|
|
8091e7 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.30-1.1
|
|
|
8091e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8091e7 |
|
|
|
8091e7 |
* Thu Jul 9 2020 Jérôme Parmentier <jerome@prmntr.me> - 1.8.30-1
|
|
|
8091e7 |
- Update to 1.8.30 release
|
|
|
8091e7 |
|
|
|
8091e7 |
* Fri Mar 6 2020 Thomas Haller <thaller@redhat.com> - 1.8.28-1
|
|
|
8091e7 |
- Update to 1.8.28 release
|
|
|
8091e7 |
- move org.gnome.nm-applet.gschema.xml from network-manager-applet to here.
|
|
|
8091e7 |
- introduce wireless security dialogs
|
|
|
8091e7 |
|
|
|
8091e7 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.26-4
|
|
|
8091e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
8091e7 |
|
|
|
8091e7 |
* Thu Nov 14 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.8.26-3
|
|
|
8091e7 |
- Clarify licensing
|
|
|
8091e7 |
- Add a missing mobile-broadband-provider-info provide
|
|
|
8091e7 |
|
|
|
8091e7 |
* Fri Nov 08 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.8.26-2
|
|
|
8091e7 |
- Fixes suggested in review by Matthew Krupcale (#1763285):
|
|
|
8091e7 |
- Add gcc BR
|
|
|
8091e7 |
- Fixed the libnma-gtk4 conditional
|
|
|
8091e7 |
- Made dependencies arch-specific where relevant
|
|
|
8091e7 |
- Dropped obsolete macros
|
|
|
8091e7 |
- Install license file with libnma-gtk4
|
|
|
8091e7 |
|
|
|
8091e7 |
* Fri Oct 18 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.8.26-1
|
|
|
8091e7 |
- Initial package split from nm-connection-editor
|