mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-15 16:10:38 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dc14f66c3b |
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "jwc.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
%global commit cbea3595ab35518721de77ed456ded94bcd20777
|
||||
%global commit_date 20260320
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: jwc
|
||||
Version: 0~%{commit_date}git.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: A file based wayland compositor
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://git.sr.ht/~jsnr/jwc
|
||||
Source0: %{url}/archive/%{commit}.tar.gz
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: wayland-protocols-devel
|
||||
BuildRequires: pkgconfig(wlroots)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(fuse3)
|
||||
|
||||
%description
|
||||
jwc is a file based tiling Wayland compositor. jwc seeks to expose all
|
||||
of its state through file operations, and allow acting on nodes,
|
||||
windows and monitors through the plain text utils that you are accustomed to.
|
||||
|
||||
Want to move the focused window to workspace 3? echo 3 > $JWC_ROOT/nodes/focused/workspace
|
||||
|
||||
jwc is very much in beta, many more features and polish is to come.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{commit}
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix}
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Jun 15 2026 Owen-sz <owen@fyralabs.com>
|
||||
- initial commit
|
||||
@@ -0,0 +1,5 @@
|
||||
rpm.global("commit", sourcehut_commit("~jsnr/jwc"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "dae.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
# Generated by go2rpm 1.19.0
|
||||
%bcond check 1
|
||||
%bcond bootstrap 0
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# https://github.com/daeuniverse/dae
|
||||
%global goipath github.com/daeuniverse/dae
|
||||
Version: 1.1.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
EBPF-based Linux high-performance transparent proxy solution.}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs docs .markdownlint-cli2.jsonc CHANGELOGS.md README.md\\\
|
||||
hack/templates/example-config.md
|
||||
|
||||
Name: dae
|
||||
Release: %autorelease
|
||||
Summary: EBPF-based Linux high-performance transparent proxy solution
|
||||
|
||||
License: AGPL-3.0-only
|
||||
URL: %{gourl}
|
||||
Source: %{gosource}
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep_online -A
|
||||
%autopatch -p1
|
||||
|
||||
%if %{without bootstrap}
|
||||
%build
|
||||
%dnl for cmd in cmd/* ; do
|
||||
%dnl %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
||||
%dnl done
|
||||
%define gomodulesmode GO111MODULE=on
|
||||
%gobuild -o %{gobuilddir}/bin/dae %{goipath}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
%if %{without bootstrap}
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc docs .markdownlint-cli2.jsonc CHANGELOGS.md README.md
|
||||
%doc hack/templates/example-config.md
|
||||
%{_bindir}/dae
|
||||
%endif
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
* Mon Jun 15 2026 madonuko <mado@fyralabs.com> - 1.1.0-1
|
||||
- Initial package.
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("daeuniverse/dae"));
|
||||
Reference in New Issue
Block a user