Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:leeds
mihomo
_service:set_version:clash-meta.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:clash-meta.spec of Package mihomo
%define provider github %define provider_tld com %define project metacubex %define repo clash.meta # https://github.com/metacubex/clash.meta %define provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %define import_path github.com/metacubex/mihomo %global build_time 2023-02-05T00:00:00Z Name: clash-meta Version: 1.18.7 Release: 0 Summary: A rule-based tunnel in Go License: GPL-3.0-only Group: Productivity/Networking/Web/Proxy URL: https://github.com/metacubex/clash.meta Source0: clash-meta-%{version}.tar.gz Source1: debian.vendor.gz Source2: debian.clash-meta.service Source99: %{name}-rpmlintrc BuildRequires: golang-packaging BuildRequires: systemd-rpm-macros BuildRequires: golang(API) = 1.21 BuildRequires: pkgconfig(systemd) AutoReqProv: Off %{go_provides} %{?systemd_ordering} %description Clash is a rule-based tunnel in Go. %prep %setup -q -a1 -n clash-meta-%{version} %build %goprep %{import_path} %gobuild -tags with_gvisor -ldflags "-s -w -buildid= -X github.com/metacubex/mihomo/constant.Version=v%{version} -X github.com/metacubex/mihomo/constant.BuildTime=%{version}" . mv %{_builddir}/go/bin/mihomo %{_builddir}/go/bin/clash-meta %install %goinstall install -d %{buildroot}%{_unitdir} install -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/clash-meta.service install -d %{buildroot}%{_sysconfdir}/clash-meta %pre %service_add_pre clash-meta.service %post %service_add_post clash-meta.service %preun %service_del_preun clash-meta.service %postun %service_del_postun clash-meta.service %files %doc README.md %license LICENSE %{_bindir}/clash-meta %{_unitdir}/clash-meta.service %dir %{_sysconfdir}/clash-meta %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor