Accepting request 998402 from GNOME:Next

New package needed for next gnome-builder version, might as well push it early.

OBS-URL: https://build.opensuse.org/request/show/998402
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpanel?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2022-08-22 09:19:57 +00:00 committed by Git OBS Bridge
commit d0217948d7
5 changed files with 126 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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6103db9f0aab15376609d6140721f6d6aef28964a4295b083725ff59ecb97319
size 85796

4
libpanel.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Aug 20 17:52:25 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Initial packaging for openSUSE.

95
libpanel.spec Normal file
View File

@ -0,0 +1,95 @@
#
# spec file for package libpanel
#
# Copyright (c) 2022 SUSE LLC
#
# 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 libname %{name}1-1
Name: libpanel
Version: 1.0.alpha1
Release: 0
Summary: IDE paneling library for GTK
License: LGPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/libpanel
Source: https://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(vapigen)
%description
A collection of GTK widgets for IDE-like applications targeting
GNOME using GTK and libadwaita.
%package -n %{libname}
Summary: Shared library files for %{name}
%description -n %{libname}
The %{libname} package contains shared libraries %{name}.
%package -n typelib-1_0-Panel-1
Summary: Typelib files for %{name}
%description -n typelib-1_0-Panel-1
Package contains typelib files for use with %{name}.
%package devel
Summary: Development files for %{name}
Requires: %{libname} = %{version}
Requires: typelib-1_0-Panel-1 = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
%meson \
%{nil}
%meson_build
%install
%meson_install
%ldconfig_scriptlets -n %{libname}
%files -n %{libname}
%license COPYING
%{_libdir}/%{name}-1.so.*
%files -n typelib-1_0-Panel-1
%{_libdir}/girepository-1.0/Panel-1.typelib
%files devel
%doc AUTHORS NEWS README.md
%{_includedir}/libpanel-1/
%{_libdir}/libpanel-1.so
%{_libdir}/pkgconfig/libpanel-1.pc
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Panel-1.gir
%{_datadir}/icons/hicolor/scalable/actions/panel-*-symbolic.svg
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libpanel-1.deps
%{_datadir}/vala/vapi/libpanel-1.vapi
%changelog