diff --git a/anda/desktops/sway/nwg-look/anda.hcl b/anda/desktops/sway/nwg-look/anda.hcl new file mode 100644 index 0000000000..6a10bf106a --- /dev/null +++ b/anda/desktops/sway/nwg-look/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "nwg-look.spec" + } +} diff --git a/anda/desktops/sway/nwg-look/nwg-look.spec b/anda/desktops/sway/nwg-look/nwg-look.spec new file mode 100644 index 0000000000..cd594cd2d8 --- /dev/null +++ b/anda/desktops/sway/nwg-look/nwg-look.spec @@ -0,0 +1,55 @@ +%dnl %define debug_package %{nil} + +%global goipath github.com/nwg-piotr/nwg-look +Version: 1.0.6 + +%gometa -f + +Name: nwg-look +Release: 1%?dist +Summary: GTK3 settings editor adapted to work in the wlroots environment + +License: MIT +URL: https://github.com/nwg-piotr/nwg-look +Source0: https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v%version.tar.gz + +Packager: Owen Zimmerman + +BuildRequires: golang +BuildRequires: gcc +BuildRequires: go-rpm-macros +BuildRequires: make +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gdk-3.0) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(cairo-gobject) +Requires: glibc + +%description +%{summary}. + +%gopkg + +%prep +%autosetup -n %{name}-%{version} + +%build +%make_build +%make_build build + +%install +%make_install + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_appsdir}/%{name}.desktop +%{_datadir}/%{name}/ +%{_datadir}/pixmaps/%{name}.svg + +%changelog +* Fri Dec 05 2025 Owen Zimmerman +- Initial commit diff --git a/anda/desktops/sway/nwg-look/update.rhai b/anda/desktops/sway/nwg-look/update.rhai new file mode 100644 index 0000000000..e58beeeb92 --- /dev/null +++ b/anda/desktops/sway/nwg-look/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("nwg-piotr/nwg-look"));