update-from-skel-vl.spec 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. %define pkg_version 0.1
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: update config files from etcskel
  4. Summary(ja): etcskel のファイルから設定ファイルを更新する
  5. Name: update-from-skel
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source: %{name}-%{version}.tar.bz2
  9. License: GPLv3
  10. Group: Applications/Administration
  11. URL: http://vinelinux.org/
  12. #Requires:
  13. #BuildRequires:
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildArch: noarch
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: yasumichi
  19. %description
  20. FIXME!!
  21. %description -l ja
  22. /etc/skel にある設定ファイルとホームディレクトリにある設定ファイルを比較して
  23. 違いがあれば、sdiff や vim を利用して更新します。
  24. %prep
  25. %setup -q
  26. %build
  27. %configure
  28. %{__make} %{?_smp_mflags}
  29. %install
  30. %{__rm} -rf ${RPM_BUILD_ROOT}
  31. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  32. %find_lang %{name}
  33. %clean
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %files -f %{name}.lang
  36. %defattr(-,root,root)
  37. %doc COPYING ChangeLog NEWS README
  38. %{_bindir}/%{name}
  39. %changelog
  40. * Wed Aug 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1-1%{?_dist_release}
  41. - initial build for Vine Linux