mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 13:54:15 -07:00
RedHat stuff and cleanup.
This commit is contained in:
parent
196d96cfa7
commit
cafa41ba4d
66 changed files with 64 additions and 6829 deletions
60
zerotier-one.spec
Normal file
60
zerotier-one.spec
Normal file
|
@ -0,0 +1,60 @@
|
|||
Name: zerotier-one
|
||||
Version: 1.1.5
|
||||
Release: 0.3%{?dist}
|
||||
Summary: ZeroTier One network virtualization service
|
||||
|
||||
License: GPLv3
|
||||
URL: https://www.zerotier.com
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: http-parser-devel
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: libnatpmp-devel
|
||||
BuildRequires: systemd
|
||||
|
||||
Requires: http-parser
|
||||
Requires: lz4
|
||||
Requires: libnatpmp
|
||||
Requires: systemd
|
||||
|
||||
%description
|
||||
ZeroTier is a software defined networking layer for Earth.
|
||||
|
||||
It can be used for on-premise network virtualization, as a peer to peer VPN
|
||||
for mobile teams, for hybrid or multi-data-center cloud deployments, or just
|
||||
about anywhere else secure software defined virtual networking is useful.
|
||||
|
||||
ZeroTier One is our OS-level client service. It allows Mac, Linux, Windows,
|
||||
FreeBSD, and soon other types of clients to join ZeroTier virtual networks
|
||||
like conventional VPNs or VLANs. It can run on native systems, VMs, or
|
||||
containers (Docker, OpenVZ, etc.).
|
||||
|
||||
%prep
|
||||
rsync -a %{getenv:PWD}/* %{_builddir}
|
||||
make clean
|
||||
|
||||
%build
|
||||
make ZT_USE_MINIUPNPC=1 %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||
cp debian/zerotier-one.service $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
|
||||
|
||||
%files
|
||||
%{_sbindir}/*
|
||||
%{_unitdir}/%{name}.service
|
||||
%doc AUTHORS.md README.md
|
||||
%license LICENSE.GPL-3
|
||||
|
||||
%changelog
|
||||
* Wed Jun 08 2016 François Kooman <fkooman@tuxed.net> - 1.1.5-0.3
|
||||
- include systemd unit file
|
||||
|
||||
* Wed Jun 08 2016 François Kooman <fkooman@tuxed.net> - 1.1.5-0.2
|
||||
- add libnatpmp as (build)dependency
|
||||
|
||||
* Wed Jun 08 2016 François Kooman <fkooman@tuxed.net> - 1.1.5-0.1
|
||||
- initial package
|
Loading…
Add table
Add a link
Reference in a new issue