Add source code, this package needed by gnome-43.2

This commit is contained in:
dwl301 2023-01-30 16:34:10 +08:00
parent 6694865e90
commit f731f21770
3 changed files with 63 additions and 0 deletions

BIN
libpanel-1.0.2.tar.xz Normal file

Binary file not shown.

59
libpanel.spec Normal file
View File

@ -0,0 +1,59 @@
Name: libpanel
Version: 1.0.2
Release: 1
Summary: IDE paneling library for GTK
License: LGPLv3+
URL: https://gitlab.gnome.org/GNOME/libpanel
Source0: https://download.gnome.org/sources/libpanel/1.0/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
Requires: hicolor-icon-theme
%description
libpanel is a collection of GTK widgets for IDE-like applications targeting
GNOME using GTK and libadwaita.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang libpanel
%files -f libpanel.lang
%license COPYING
%doc AUTHORS NEWS README.md
%{_libdir}/libpanel-1.so.1*
%{_libdir}/girepository-1.0/Panel-1.typelib
%{_datadir}/icons/hicolor/scalable/actions/panel-*-symbolic.svg
%files devel
%{_includedir}/libpanel-1/
%{_libdir}/libpanel-1.so
%{_libdir}/pkgconfig/libpanel-1.pc
%{_datadir}/gir-1.0/Panel-1.gir
%{_datadir}/vala/vapi/
%doc %{_datadir}/doc/panel-1.0/
%changelog
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.ocm.cn> - 1.0.2-1
- Init Packaging

4
libpanel.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: libpanel
tag_prefix: ^
separator: .