mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
de8b55a594
* Add: raindrop * Apply comments * Add policy and patch
54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
%global commit 66271d1eea4740131bae3aaec499a7ce06441ace
|
|
%global commit_date 20250530
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
Name: raindrop
|
|
Version: 0~%commit_date.git~%shortcommit
|
|
Release: 1%?dist
|
|
Summary: Desktop front-end for arandr and wlrandr
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/raspberrypi-ui/raindrop
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
Source0: %url/archive/%commit.tar.gz
|
|
Source1: org.raspberrypi.raindrop.configure-display.policy
|
|
Patch0: desktop-file-call-pkexec.patch
|
|
|
|
BuildRequires: meson
|
|
BuildRequires: ninja-build
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: gcc
|
|
BuildRequires: gtk-layer-shell-devel
|
|
BuildRequires: polkit
|
|
|
|
Requires: libxml2 libinput wlr-randr gtk3 polkit
|
|
|
|
%description
|
|
Screen configuration tool for Raspberry Pi Desktop,
|
|
GTK screen configuration tool for labwc and openbox environments.
|
|
|
|
%prep
|
|
%autosetup -n raindrop-%commit -p0
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
install -Dm644 %{SOURCE1} %{buildroot}/%{_datadir}/polkit-1/actions/org.raspberrypi.raindrop.configure-display.policy
|
|
%find_lang %{name}
|
|
|
|
%files -f %{name}.lang
|
|
%license debian/copyright
|
|
%{_bindir}/raindrop
|
|
%{_datadir}/polkit-1/actions/org.raspberrypi.raindrop.configure-display.policy
|
|
%{_datadir}/applications/raindrop.desktop
|
|
%{_datadir}/raindrop/ui/raindrop.ui
|
|
|
|
%changelog
|
|
* Thu Aug 07 2025 Owen Zimmerman <owen@fyralabs.com>
|
|
- Package raindrop
|