67 lines
1.5 KiB
RPMSpec
67 lines
1.5 KiB
RPMSpec
|
%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
|