!1 Init Packaging, Add source files.
From: @dwl301 Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
82a31a09e0
BIN
libpanel-1.0.2.tar.xz
Normal file
BIN
libpanel-1.0.2.tar.xz
Normal file
Binary file not shown.
59
libpanel.spec
Normal file
59
libpanel.spec
Normal 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
4
libpanel.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: gitlab.gnome
|
||||
src_repo: libpanel
|
||||
tag_prefix: ^
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user