networkmanager-dispatcher-chrony-vl.spec 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. %define ver 2.0
  2. %define rel 1
  3. Summary: NetworkManager Dispatcher Script for chrony
  4. Name: networkmanager-dispatcher-chrony
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: BSD
  8. Group: Applications/Services
  9. URL: https://aur.archlinux.org/packages/networkmanager-dispatcher-chrony/
  10. Source0: https://aur.archlinux.org/packages/ne/%{name}/%{name}.tar.gz
  11. Patch0: networkmanager-dispatcher-chrony-2.0-path.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  13. BuildArch: noarch
  14. Requires: NetworkManager
  15. Requires: chrony
  16. %description
  17. NetworkManager Dispatcher Script for chrony.
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: iwaim
  21. %prep
  22. %setup -q -n %{name}
  23. %patch0 -p1
  24. %build
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. %__mkdir_p %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d
  28. %__install -m0700 10-chrony %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d
  29. %clean
  30. rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc ChangeLog PKGBUILD
  34. %{_sysconfdir}/NetworkManager/dispatcher.d/10-chrony
  35. %changelog
  36. * Wed Dec 31 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0-1
  37. - initial release for Vine Linux