package created using the webbuild interface [release 1.4.1-1mamba;Sat Mar 09 2024]

This commit is contained in:
Silvan Calarco 2024-03-11 17:21:04 +01:00
parent 656856de61
commit 85242cd22a
2 changed files with 77 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libpanel
A dock/panel library for GTK 4.

75
libpanel.spec Normal file
View File

@ -0,0 +1,75 @@
Name: libpanel
Version: 1.4.1
Release: 1mamba
Summary: A dock/panel library for GTK 4
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.gnome.org/GNOME/libpanel
Source: https://gitlab.gnome.org/GNOME/libpanel.git/%{version}/libpanel-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libadwaita-devel
BuildRequires: libcairo-devel
BuildRequires: libglib-devel
BuildRequires: libgraphene-devel
BuildRequires: libgtk-devel
## AUTOBUILDREQ-END
BuildRequires: meson
%description
A dock/panel library for GTK 4.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libpanel-1.so.*
%{_libdir}/girepository-1.0/Panel-1.typelib
%{_datadir}/icons/hicolor/scalable/actions/panel-*.svg
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libpanel-1
%{_includedir}/libpanel-1/*
%{_libdir}/libpanel-1.so
%{_datadir}/gir-1.0/Panel-1.gir
%{_datadir}/vala/vapi/libpanel-1.*
%{_libdir}/pkgconfig/libpanel-1.pc
%dir %{_docdir}/panel-1.0
%{_docdir}/panel-1.0/*
%doc NEWS README.md
%changelog
* Sat Mar 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
- package created using the webbuild interface