Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
shadowsocks-v2ray-plugin
shadowsocks-v2ray-plugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File shadowsocks-v2ray-plugin.spec of Package shadowsocks-v2ray-plugin
# # spec file for package shadowsocks-v2ray-plugin # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # #%define commit ddd7ab46b4aeee0ca8b272efed9d7da3e3a6e52c #%define shortcommit ddd7ab4 %define provider github %define provider_tld com %define project shadowsocks %define repo v2ray-plugin # https://github.com/shadowsocks/v2ray-plugin %define provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %define import_path %{provider_prefix} Name: shadowsocks-v2ray-plugin Version: 1.3.2 Release: 0 Summary: SIP003 plugin for shadowsocks License: MIT Group: Productivity/Networking/Security URL: https://github.com/shadowsocks/v2ray-plugin Source0: https://github.com/shadowsocks/v2ray-plugin/archive/v%{version}/%{repo}-%{version}.tar.gz Source1: vendor.tar.gz BuildRequires: fdupes # BuildRequires: golang-github-v2fly-v2ray-core BuildRequires: golang-packaging AutoReqProv: Off BuildRoot: %{_tmppath}/%{name}-%{version}-build %{go_provides} %description Yet another SIP003 plugin for shadowsocks, based on v2ray %package -n golang-%{provider}-%{project}-%{repo} Summary: Additional mobile libraries Group: Development/Languages/Golang Requires: golang-github-v2fly-v2ray-core BuildArch: noarch %description -n golang-%{provider}-%{project}-%{repo} Yet another SIP003 plugin for shadowsocks, based on v2ray This package provide source code for shadowsocks-%{repo} %prep %autosetup -p1 -a1 -n %{repo}-%{version} # Use v2ray-core in system default # sed -i 's|github.com/golang/protobuf v1.5.2||g; s|github.com/v2fly/v2ray-core/v4 v4.38.3||g' go.mod #rm go.sum vendor/modules.txt #rm -rf vender/github.com/v2fly %build export GO111MODULE=off %goprep %{import_path} %gobuild %install %goinstall %gosrc %gofilelist %fdupes %{buildroot} %files %defattr(-,root,root) %doc README.md %license LICENSE %{_bindir}/v2ray-plugin %files -n golang-%{provider}-%{project}-%{repo} -f file.lst %defattr(-,root,root) %doc README.md %license LICENSE %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