From d0217948d7fbdbb5e5f0026d93b75d96cf54885ae835aed1588bab3f7604343c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 22 Aug 2022 09:19:57 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++ .gitignore | 1 + libpanel-1.0.alpha1.tar.xz | 3 ++ libpanel.changes | 4 ++ libpanel.spec | 95 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 126 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libpanel-1.0.alpha1.tar.xz create mode 100644 libpanel.changes create mode 100644 libpanel.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libpanel-1.0.alpha1.tar.xz b/libpanel-1.0.alpha1.tar.xz new file mode 100644 index 0000000..7ecc1e3 --- /dev/null +++ b/libpanel-1.0.alpha1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6103db9f0aab15376609d6140721f6d6aef28964a4295b083725ff59ecb97319 +size 85796 diff --git a/libpanel.changes b/libpanel.changes new file mode 100644 index 0000000..ebd31ae --- /dev/null +++ b/libpanel.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Aug 20 17:52:25 UTC 2022 - Bjørn Lie + +- Initial packaging for openSUSE. diff --git a/libpanel.spec b/libpanel.spec new file mode 100644 index 0000000..9592d1d --- /dev/null +++ b/libpanel.spec @@ -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 +