tinc.spec 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Name: tinc
  2. Version: __VERSION__
  3. Release: 3%{?dist}
  4. Summary: A virtual private network daemon
  5. License: GPLv2+
  6. URL: https://www.tinc-vpn.org/
  7. BuildRequires: gcc
  8. BuildRequires: meson
  9. BuildRequires: systemd
  10. BuildRequires: openssl-devel
  11. BuildRequires: lzo-devel
  12. BuildRequires: zlib-devel
  13. BuildRequires: lz4-devel
  14. BuildRequires: ncurses-devel
  15. BuildRequires: readline-devel
  16. Requires(post): systemd
  17. Requires(preun): systemd
  18. Requires(postun): systemd
  19. %description
  20. tinc is a Virtual Private Network (VPN) daemon that uses tunnelling
  21. and encryption to create a secure private network between hosts on
  22. the Internet. Because the tunnel appears to the IP level network
  23. code as a normal network device, there is no need to adapt any
  24. existing software. This tunnelling allows VPN sites to share
  25. information with each other over the Internet without exposing any
  26. information to others.
  27. %define debug_package %{nil}
  28. %define __meson_auto_features auto
  29. %prep
  30. %build
  31. %meson
  32. %meson_build
  33. %install
  34. %meson_install
  35. %post
  36. %systemd_post %{name}@.service
  37. %preun
  38. %systemd_preun %{name}@.service
  39. %postun
  40. %systemd_postun_with_restart %{name}@.service
  41. %files
  42. %doc AUTHORS COPYING.README NEWS README.md THANKS doc/sample*
  43. %license COPYING
  44. %{_mandir}/man*/%{name}*.*
  45. %{_infodir}/%{name}.info.*
  46. %{_sbindir}/%{name}
  47. %{_sbindir}/%{name}d
  48. %{_unitdir}/%{name}*.service
  49. %{_datadir}/bash-completion/completions/%{name}