# This setup is bad in many ways but it works for now. Name: xray-geodata # This value will be replaced in automation, and does not always reflect the latest build. Version: 20261026222938 # TODO: Look into proper %%autorelease setup Release: 1%{?dist} Summary: Xray rules dat files License: GPL-3.0-only AND MIT URL: https://github.com/XTLS/Xray-rules-dat Source0: https://github.com/XTLS/Xray-rules-dat/releases/download/%{version}/geoip-full.dat Source1: https://github.com/XTLS/Xray-rules-dat/releases/download/%{version}/geosite-expand.dat Supplements: xray BuildArch: noarch %description Xray rules dat files, include geoip.dat and geosite.dat. Nobody knows split routing better than XTLS. %prep %setup -q -c -T %build # Nothing to build %install %{__install} -m 0755 -d %{buildroot}/usr/share/xray %{__install} -m 0644 %{S:0} %{buildroot}/usr/share/xray/geoip.dat %{__install} -m 0644 %{S:1} %{buildroot}/usr/share/xray/geosite.dat %check # Nothing to check %files # Yes this is bad. %{_datadir}/xray/ %changelog %autochangelog