Compare commits

..

No commits in common. "rawhide" and "f35" have entirely different histories.
rawhide ... f35

3 changed files with 20 additions and 69 deletions

7
.gitignore vendored
View File

@ -2,10 +2,3 @@
/libnma-1.8.28.tar.xz
/libnma-1.8.30.tar.xz
/libnma-1.8.32.tar.xz
/libnma-1.8.34.tar.xz
/libnma-1.8.38.tar.xz
/libnma-1.8.40.tar.xz
/libnma-1.10.0.tar.xz
/libnma-1.10.2.tar.xz
/libnma-1.10.4.tar.xz
/libnma-1.10.6.tar.xz

View File

@ -3,37 +3,38 @@
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
%global nm_version 1:1.8.0
%global mbp_version 0.20090602
%global old_libnma_version 1.10.4
%global old_libnma_version 1.8.27
%global rpm_version 1.8.32
%global real_version 1.8.32
%global release_version 1
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 10
%bcond_without libnma_gtk4
%else
%bcond_with libnma_gtk4
%endif
Name: libnma
Summary: NetworkManager GUI library
Version: 1.10.6
Release: 5%{?dist}
Version: %{rpm_version}
Release: %{release_version}%{?dist}.4
# The entire source code is GPLv2+ except some files in shared/ which are LGPLv2+
License: GPL-2.0-or-later AND LGPL-2.1-or-later
License: GPLv2+ and LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libnma/
Source0: https://download.gnome.org/sources/libnma/1.10/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/libnma/%{real_version_major}/%{name}-%{real_version}.tar.xz
Patch1: 0001-nm-applet-no-notifications.patch
Requires: mobile-broadband-provider-info >= %{mbp_version}
Conflicts: libnma < %{old_libnma_version}
Conflicts: nm-connection-editor < 1.30.0
BuildRequires: gcc
BuildRequires: NetworkManager-libnm-devel >= %{nm_version}
BuildRequires: ModemManager-glib-devel >= 1.0
BuildRequires: glib2-devel >= 2.38
BuildRequires: gtk3-devel >= 3.12
BuildRequires: glib2-devel >= 2.32
BuildRequires: gtk3-devel >= 3.10
%if %{with libnma_gtk4}
BuildRequires: gtk4-devel >= 4.0
BuildRequires: gtk4-devel >= 3.96
%endif
BuildRequires: gobject-introspection-devel >= 0.10.3
BuildRequires: gettext-devel
@ -88,17 +89,18 @@ files to be used for integrating GUI tools with NetworkManager.
%prep
%autosetup -p1
%autosetup -p1 -n "%{name}-%{real_version}"
%build
%meson \
-Dgcr=true \
-Ddisable-static=true \
-Dvapi=false \
%if %{with libnma_gtk4}
-Dlibnma_gtk4=true \
-Dlibnma_gtk4=true
%else
-Dlibnma_gtk4=false \
-Dlibnma_gtk4=false
%endif
%meson_build
@ -115,8 +117,7 @@ files to be used for integrating GUI tools with NetworkManager.
%files -f %{name}.lang
%{_libdir}/libnma.so.*
%{_libdir}/girepository-1.0/NMA-1.0.typelib
%exclude %{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.eap.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
%doc NEWS CONTRIBUTING
%license COPYING
@ -145,49 +146,6 @@ files to be used for integrating GUI tools with NetworkManager.
%changelog
* Mon Oct 30 2023 Thomas Haller <thaller@redhat.com> - 1.10.6-5
- Use SPDX license identifier in package
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jun 19 2023 Kalev Lember <klember@redhat.com> - 1.10.6-3
- Rebuilt for gcr soname bump
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Jan 08 2023 Lubomir Rintel <lkundrak@v3.sk> - 1.10.6-1
- Update to 1.10.6 release
* Mon Nov 07 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.10.4-1
- Update to 1.10.4 release
* Fri Sep 09 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.10.2-1
- Update to 1.10.2 release
* Thu Sep 08 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.10.0-1
- Update to 1.10.0 release
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.40-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 15 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.8.40-1
- Update to 1.8.40 release
* Thu Apr 07 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.8.38-1
- Update to 1.8.38 release
* Fri Mar 18 2022 Adam Williamson <awilliam@redhat.com> - 1.8.34-2
- Backport MR #26 to fix UI files in GTK4 (#2060868)
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.34-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 19 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.8.34-1
- Update to 1.8.34 release
- Enable gtk4 subpackage
* Fri Aug 20 2021 Thomas Haller <thaller@redhat.com> - 1.8.32-1
- Update to 1.8.32 release

View File

@ -1 +1 @@
SHA512 (libnma-1.10.6.tar.xz) = 4801db35a8d510c651fc91da4f394a665a4ba5c35fbefe0496363c404b49d5f4e103f49084220ee58b995684d2ac93643320b7d1777ebeea555e7657768a1f6a
SHA512 (libnma-1.8.32.tar.xz) = 65244a8901322bc17d48c9cb809080790d5af0195b79becf0317da77b6c6a0fde3f8d3b752f5d7e59a5dba0970f4499077c5d9d6776912a72748290b8ac98e11