Accepting request 741153 from GNOME:Next

New package

OBS-URL: https://build.opensuse.org/request/show/741153
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libnma?expand=0&rev=1
This commit is contained in:
2019-10-24 11:07:09 +00:00
committed by Git OBS Bridge
commit 747f8141eb
5 changed files with 131 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
libnma-1.8.26.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e419d5fe4f0360b25f9fe9223a4ed6da94984a5dcd999679856c78c46a334f1
size 1321764

4
libnma.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Oct 18 17:18:42 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Inital packaging for openSUSE, version 1.8.26.

100
libnma.spec Normal file
View File

@@ -0,0 +1,100 @@
#
# spec file for package libnma
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 0
%define base_ver 1.8
Name: libnma
Version: 1.8.26
Release: 0
Summary: Shared library for NetworkManager-applet
License: GPL-2.0-or-later
URL: https://gitlab.gnome.org/GNOME/libnma
Source0: https://download.gnome.org/sources/%{name}/%{base_ver}/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gck-1) >= 3.14
BuildRequires: pkgconfig(gcr-3) >= 3.14
BuildRequires: pkgconfig(gio-2.0) >= 2.38
BuildRequires: pkgconfig(gmodule-export-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10
BuildRequires: pkgconfig(iso-codes)
BuildRequires: pkgconfig(libnm) >= 1.7
BuildRequires: pkgconfig(mobile-broadband-provider-info)
%description
Shared library for NetworkManager-applet.
%package -n %{name}%{sover}
Summary: Shared library for NetworkManager-applet
%description -n %{name}%{sover}
Shared library for NetworkManager-applet.
%package -n typelib-1_0-NMA-1_0
Summary: Introspection bindings for %{name}
%description -n typelib-1_0-NMA-1_0
Introspection bindings for %{name}.
%package devel
Summary: Development Files for %{name}
Requires: %{name}%{sover} = %{version}
Requires: typelib-1_0-NMA-1_0 = %{version}
%description devel
Development Files for %{name}.
%lang_package
%prep
%autosetup -p1
%build
%meson \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n %{name}%{sover}
%license COPYING
%doc NEWS
%{_libdir}/%{name}.so.*
%files -n typelib-1_0-NMA-1_0
%{_libdir}/girepository-1.0/NMA-1.0.typelib
%files devel
%doc %{_datadir}/gtk-doc/html/%{name}/
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/gir-1.0/NMA-1.0.gir
%files lang -f %{name}.lang
%changelog