apt-sourceslist-nonfree-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %bcond_with vine6
  2. %if %with vine6
  3. %define build_vine6 1
  4. %define build_vineseed 0
  5. %else
  6. %define build_vine6 0
  7. %define build_vineseed 1
  8. %define _vineseed .vineseed
  9. %endif
  10. Summary: Sources.list file for nonfree category
  11. Summary(ja): nonfree カテゴリ用の sources.list ファイル
  12. Name: apt-sourceslist-nonfree
  13. Version: 1.3
  14. Release: 1%{?_vineseed}%{?_dist_release}
  15. Source0: sources.list-vineseed-nonfree
  16. Source1: sources.list-vine6-nonfree
  17. License: GPL
  18. Group: Applications/Administration
  19. #URL:
  20. Requires: apt
  21. Obsoletes: apt < 0.5.15lorg3.94a-6
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. BuildArch: noarch
  24. %description
  25. This package contains source.list file for nonfree category of Vine Plus.
  26. You should install this package if you want to install packages in
  27. nonfree category of Vine Plus.
  28. %description -l ja
  29. このパッケージには Vine Plus の nonfree カテゴリ用の source.list ファイル
  30. を含んでいます。
  31. Vine Plus の nonfree カテゴリのパッケージをインストールする場合はこのパッ
  32. ケージをインストールしてください。
  33. %install
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d
  36. %if %{build_vineseed}
  37. %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/nonfree.list
  38. %elseif %{build_vine6}
  39. %{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/nonfree.list
  40. %endif
  41. %clean
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %files
  44. %defattr(-,root,root)
  45. %config(noreplace) %verify(not mtime) %{_sysconfdir}/apt/sources.list.d/nonfree.list
  46. %changelog
  47. * Mon May 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
  48. - add Vine Linux 6 list
  49. * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-1
  50. - update to Vine Linux 5.2
  51. - change mirror list order
  52. * Sat Feb 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  53. - update to Vine Linux 5.1
  54. * Sun Sep 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0-2
  55. - bump release number for VineSeed
  56. * Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  57. - build for Vine Linux 5
  58. * Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-2
  59. - add Obsoletes: apt < 0.5.15lorg3.94a-6
  60. - add BuildArch: noarch
  61. * Sun Jan 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-1
  62. - initial build for Vine Linux