mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 70dd6e955c)
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "driftwm.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
Name: driftwm
|
||||
Version: 0.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A trackpad-first infinite canvas Wayland compositor
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/malbiruk/driftwm
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
BuildRequires: cargo-rpm-macros
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(libseat)
|
||||
BuildRequires: pkgconfig(libdisplay-info)
|
||||
BuildRequires: libinput-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: mesa-libgbm-devel
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
export PREFIX=/usr
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE LICENSE.dependencies
|
||||
%{_bindir}/driftwm
|
||||
%{_bindir}/driftwm-session
|
||||
%{_datadir}/wayland-sessions/driftwm.desktop
|
||||
%{_datadir}/xdg-desktop-portal/driftwm-portals.conf
|
||||
%{_sysconfdir}/driftwm/config.toml
|
||||
%{_datadir}/driftwm/wallpapers/*.glsl
|
||||
|
||||
%changelog
|
||||
* Tue Mar 17 2026 Owen Zimmerman <owen@fyralabs.com> - 0.1.0-1
|
||||
- Initial commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("malbiruk/driftwm"));
|
||||
Reference in New Issue
Block a user