Files
packages/anda/misc/activate-linux/activate-linux.spec
T
Raboneko 64bf94bb42 add: activate-linux (#7048) (#7052)
* Add activate-linux

* add update.rhai for activate-linux

* oops

(cherry picked from commit c113463f7c)

Co-authored-by: metcya <134973769+metcya@users.noreply.github.com>
2025-11-03 17:29:22 +08:00

53 lines
1.5 KiB
RPMSpec

%global commit d55b639e251cf921541be11e0c32530b0364f7bb
%global date 20251019
%global short %(c=%{commit}; echo ${c:0:7})
%global ver 1.1.0
Name: activate-linux
Summary: The "Activate Windows" watermark ported to Linux
Version: %{ver}^%{date}git.%{short}
License: GPL-3.0-only
Release: 1%?dist
URL: https://github.com/MrGlockenspiel/activate-linux
Source0: %{url}/archive/%{commit}.tar.gz
BuildRequires: clang
BuildRequires: pkgconfig(pango)
BuildRequires: libconfig-devel
BuildRequires: libXinerama-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libXrandr-devel
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel
Packager: Metcya <metcya@gmail.com>
%description
The "Activate Windows" watermark ported to Linux with Xlib and cairo in C
"Science isn't about WHY. It's about WHY NOT. Why is so much of our science dangerous? Why not marry safe science if you love it so much. In fact, why not invent a special safety door that won't hit you on the butt on the way out, because you are fired."
Maintained by MrGlockenspiel.
%prep
%autosetup -n activate-linux-%{commit}
%build
%make_build
%install
# ewwww
export PREFIX=""
export BINDIR=%{_bindir}
%make_install
%files
%{_bindir}/activate-linux
%license LICENSE.md
%doc ARGS.md README.md
%changelog
* Sun Nov 2 2025 Metcya <metcya@gmail.com>
- Package activate-linux