source: projects/specs/trunk/lib/libn/libnma/libnma-vl.spec @ 12446

Revision 12446, 5.4 KB checked in by tomop, 4 years ago (diff)

updated 92 packages

ModemManager?-1.14.0-1

accountsservice-0.6.55-1

adwaita-icon-theme-3.36.1-1

cheese-3.34.0-1

clutter-gst3-3.0.27-1

clutter-gtk-1.8.4-2

clutter-1.26.4-1

cogl-1.22.8-1

colord-gtk-0.2.0-1

colord-1.4.4-1

control-center-3.36.4-1

eog-plugins-3.26.5-1

eog-3.36.3-1

evince-3.36.7-1

evolution-data-server-3.36.4-1

evolution-3.36.4-1

folks-0.14.0-1

fuse3-3.9.2-2

gcr-3.36.0-1

gdm-3.36.3-1

geocode-glib-3.26.2-1

gjs-1.64.4-1

glade3-3.36.0-1

gnome-applets-3.36.4-1

gnome-autoar-0.2.4-1

gnome-bluetooth-3.34.1-1

gnome-books-3.34.0-3

gnome-clocks-3.36.2-1

gnome-color-manager-3.36.0-1

gnome-contacts-3.36.2-1

gnome-desktop3-3.36.4-1

gnome-documents-3.34.0-1

gnome-flashback-3.36.3-1

gnome-font-viewer-3.34.0-1

gnome-keyring-3.36.0-1

gnome-menus-3.36.0-1

gnome-online-accounts-3.36.0-1

gnome-panel-3.36.2-1

gnome-session-3.36.0-1

gnome-settings-daemon-3.36.1-1

gnome-shell-3.36.4-1

gnome-software-3.36.1-1

gnome-themes-extra-3.28-2

gnome-tweaks-3.34.0-1

gnome-video-effects-0.5.0-1

gom-0.4-1

graphene-1.10.2-2

grilo-plugins-0.3.11-1

grilo-0.3.12-1

gsettings-desktop-schemas-3.36.1-1

gsound-1.0.2-3

gvfs-1.44.1-1

libaccounts-glib-1.25-1

libappindicator-12.10.0-1

libchamplain-0.12.20-1

libdbusmenu-16.04.0-1

libgdata-0.17.12-1

libgepub-0.6.0-4

libgphoto2-2.5.25-1

libgweather-3.36.1-1

libgxps-0.3.1-1

libhandy0-0.0.13-6

libical-3.0.8-2

libindicator-12.10.1-2

libmtp-1.1.17-1

libnma-1.8.30-2

liboauth-1.0.3-2

libsecret-0.20.3-1

libspectre-0.2.9-1

libwacom-1.4.1-1

libwnck3-3.36.0-1

libxmlb-0.1.15-3

metacity-3.36.1-1

mm-common-1.0.1-3

mobile-broadband-provider-info-0.20190618-1

mozjs68-68.11.0-1

mutter-3.36.4-1

nautilus-3.36.3-1

network-manager-applet-1.18.0-1

pipewire-0.3.8-1

python-dbusmock-0.18.3-6

python-mallard-ducktype-1.0.2-8

startup-notification-0.12-4

totem-pl-parser-3.26.5-1

totem-3.34.1-1

vala-0.48.8-1

xdg-desktop-portal-gtk-1.7.1-1

xdg-desktop-portal-1.7.2-1

yelp-tools-3.32.2-1

yelp-xsl-3.36.0-1

yelp-3.36.0-1

zenity-3.32.0-1

Line 
1%bcond_with libnma_gtk4
2
3%global gtk3_version          %(pkg-config --modversion gtk+-3.0 2>/dev/null || echo bad)
4%global gtk4_version          %(pkg-config --modversion gtk4 2>/dev/null || echo bad)
5%global glib2_version         %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
6%global nm_version            1.10.0
7%global mbp_version           0.20190618
8%global old_libnma_version    1.8.27
9
10Name:           libnma
11Summary:        NetworkManager GUI library
12Version:        1.8.30
13Release:        2%{?_dist_release}
14Vendor:         Project Vine
15Distribution:   Vine Linux
16
17# The entire source code is GPLv2+ except some files in shared/ which are LGPLv2+
18License:        GPLv2+ and LGPLv2+
19URL:            https://gitlab.gnome.org/GNOME/libnma/
20%global         shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
21Source0:        https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
22
23Patch1:         0001-nm-applet-no-notifications.patch
24
25Requires:       mobile-broadband-provider-info >= %{mbp_version}
26
27Conflicts:      libnma < %{old_libnma_version}
28
29BuildRequires:  gcc
30BuildRequires:  NetworkManager-libnm-devel >= %{nm_version}
31BuildRequires:  ModemManager-glib-devel >= 1.0
32BuildRequires:  glib2-devel >= 2.32
33BuildRequires:  gtk3-devel >= 3.10
34%if %{with libnma_gtk4}
35BuildRequires:  gtk4-devel >= 3.96
36%endif
37BuildRequires:  gobject-introspection-devel >= 0.10.3
38BuildRequires:  gettext-devel
39BuildRequires:  pkgconfig
40BuildRequires:  meson
41BuildRequires:  gtk-doc
42BuildRequires:  iso-codes
43BuildRequires:  gcr-devel
44BuildRequires:  mobile-broadband-provider-info-devel >= %{mbp_version}
45
46%description
47This package contains the library used for integrating GUI tools with
48NetworkManager.
49
50
51%package devel
52Summary:        Header files for NetworkManager GUI library
53Requires:       NetworkManager-libnm-devel >= %{nm_version}
54Obsoletes:      NetworkManager-gtk-devel < 1.8.22
55Requires:       libnma%{?_isa} = %{version}-%{release}
56Requires:       gtk3-devel%{?_isa}
57Requires:       pkgconfig
58Conflicts:      libnma < %{old_libnma_version}
59
60%description devel
61This package contains header and pkg-config files to be used for integrating
62GUI tools with NetworkManager.
63
64
65%if %{with libnma_gtk4}
66%package gtk4
67Summary:        Experimental GTK 4 version of NetworkManager GUI library
68Requires:       gtk4%{?_isa} >= %{gtk4_version}
69Requires:       mobile-broadband-provider-info >= %{mbp_version}
70Conflicts:      libnma < %{old_libnma_version}
71
72%description gtk4
73This package contains the experimental GTK4 version of library used for
74integrating GUI tools with NetworkManager.
75
76
77%package gtk4-devel
78Summary:        Header files for experimental GTK4 version of NetworkManager GUI library
79Requires:       NetworkManager-libnm-devel >= %{nm_version}
80Requires:       libnma-gtk4%{?_isa} = %{version}-%{release}
81Requires:       gtk4-devel%{?_isa}
82Requires:       pkgconfig
83Conflicts:      libnma < %{old_libnma_version}
84
85%description gtk4-devel
86This package contains the experimental GTK4 version of header and pkg-config
87files to be used for integrating GUI tools with NetworkManager.
88%endif
89
90
91%prep
92%autosetup -p1 -n "%{name}-%{version}"
93
94
95%build
96%meson \
97        -Dgcr=true \
98        -Ddisable-static=true \
99        -Dvapi=false \
100%if %{with libnma_gtk4}
101        -Dlibnma_gtk4=true
102%else
103        -Dlibnma_gtk4=false
104%endif
105%meson_build
106
107
108%install
109%meson_install
110%find_lang %{name}
111
112
113%check
114%meson_test
115
116
117%files -f %{name}.lang
118%{_libdir}/libnma.so.*
119%{_libdir}/girepository-1.0/NMA-1.0.typelib
120%{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
121%doc NEWS CONTRIBUTING
122%license COPYING
123
124
125%files devel
126%{_includedir}/libnma
127%{_libdir}/pkgconfig/libnma.pc
128%{_libdir}/libnma.so
129%{_datadir}/gir-1.0/NMA-1.0.gir
130%{_datadir}/gtk-doc
131
132
133%if %{with libnma_gtk4}
134%files gtk4
135%{_libdir}/libnma-gtk4.so.*
136%{_libdir}/girepository-1.0/NMA4-1.0.typelib
137%license COPYING
138
139
140%files gtk4-devel
141%{_includedir}/libnma
142%{_libdir}/pkgconfig/libnma-gtk4.pc
143%{_libdir}/libnma-gtk4.so
144%{_datadir}/gir-1.0/NMA4-1.0.gir
145%endif
146
147
148%changelog
149* Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.30-2
150- initial build for Vine Linux.
151
152* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.30-1.2
153- Second attempt - Rebuilt for
154  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
155
156* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.30-1.1
157- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
158
159* Thu Jul  9 2020 Jérôme Parmentier <jerome@prmntr.me> - 1.8.30-1
160- Update to 1.8.30 release
161
162* Fri Mar  6 2020 Thomas Haller <thaller@redhat.com> - 1.8.28-1
163- Update to 1.8.28 release
164- move org.gnome.nm-applet.gschema.xml from network-manager-applet to here.
165- introduce wireless security dialogs
166
167* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.26-4
168- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
169
170* Thu Nov 14 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.8.26-3
171- Clarify licensing
172- Add a missing mobile-broadband-provider-info provide
173
174* Fri Nov 08 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.8.26-2
175- Fixes suggested in review by Matthew Krupcale (#1763285):
176- Add gcc BR
177- Fixed the libnma-gtk4 conditional
178- Made dependencies arch-specific where relevant
179- Dropped obsolete macros
180- Install license file with libnma-gtk4
181
182* Fri Oct 18 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.8.26-1
183- Initial package split from nm-connection-editor
Note: See TracBrowser for help on using the repository browser.