Search
SailfishOS Open Build Service
>
Projects
>
home:gcobb
:
jolla
:
experimental
>
tinc
> tinc.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tinc.spec of Package tinc
Summary: Virtual private network daemon Name: tinc Version: 1.0.23 Release: 3 License: GPL Group: Productivity/Networking/Other URL: http://www.tinc-vpn.org/ Source: http://www.tinc-vpn.org/packages/tinc-%{version}.tar.gz Source1: tinc@.service # Note: Fedora systemd macros (https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd) # are currently used in Mer instead of OpenSUSE macros (https://en.opensuse.org/openSUSE:Systemd_packaging_guidelines) BuildRequires: systemd BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl >= 0.9.7, openssl-devel, lzo-devel %{systemd_requires} %description tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and encryption to create a secure private network between hosts on the Internet. Because the tunnel appears to the IP level network code as a normal network device, there is no need to adapt any existing software. This tunnelling allows VPN sites to share information with each other over the Internet without exposing any information to others. %prep %setup %build %configure %{__make} %{?_smp_mflags} %install %{__install} -Dp -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/tinc@.service %{__install} -d -m0755 $RPM_BUILD_ROOT/%{_sbindir} %{__install} -Dp -m0755 src/tincd %{buildroot}%{_sbindir}/tincd %{__install} -Dp -m0644 doc/tincd.8 %{buildroot}%{_mandir}/man8/tincd.8 %{__install} -Dp -m0644 doc/tinc.conf.5 %{buildroot}%{_mandir}/man5/tinc.conf.5 %clean %{__rm} -rf %{buildroot} %post %systemd_post tinc@.service %preun %systemd_preun tinc@.service %postun %systemd_postun_with_restart tinc@.service %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING* NEWS README THANKS %doc doc/sample-config* doc/tinc.info* doc/tinc.texi %doc %{_mandir}/man5/tinc.conf.5* %doc %{_mandir}/man8/tincd.8* %{_sbindir}/tincd %{_unitdir}/tinc@.service %changelog * Thu Apr 3 2014 Graham R. Cobb <g+jolla@cobb.uk.net> - 1.0.23-3 - Package for Chum.