Initial Fedora packaging

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2111978
This commit is contained in:
Kalev Lember 2022-07-28 16:35:08 +02:00
parent 061ee52527
commit 04a86532a0
3 changed files with 68 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/libpanel-1.0.alpha.tar.xz

66
libpanel.spec Normal file
View File

@ -0,0 +1,66 @@
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: libpanel
Version: 1.0~alpha
Release: %autorelease
Summary: IDE paneling library for GTK
License: LGPLv3+
URL: https://gitlab.gnome.org/GNOME/libpanel
Source0: https://download.gnome.org/sources/libpanel/1.0/libpanel-%{tarball_version}.tar.xz
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
%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 -n libpanel-%{tarball_version}
%build
%meson
%meson_build
%install
%meson_install
%files
%license COPYING
%doc AUTHORS NEWS README.md
%{_libdir}/libpanel-1.so.1*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Panel-1.typelib
%files devel
%{_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
%autochangelog

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libpanel-1.0.alpha.tar.xz) = 0e8baa5da6781da681b5b55ac22c50daf86ad6dfdc91050b007ee8d4407d855dc2d31ced59244f5dd7f89ab1b509fc79ecec5f515d23e62796029602060aee63