libpanel/libpanel.spec

80 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: libpanel
Version: 1.8.0
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}"
%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
* Tue Sep 17 2024 Automatic Build System <autodist@openmamba.org> 1.8.0-1mamba
- automatic version update by autodist
* Sun Mar 17 2024 Automatic Build System <autodist@openmamba.org> 1.6.0-1mamba
- automatic version update by autodist
* Sat Mar 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
- package created using the webbuild interface