apt-sourceslist-plus-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 plus category
  11. Summary(ja): plus カテゴリ用の sources.list ファイル
  12. Name: apt-sourceslist-plus
  13. Version: 1.3
  14. Release: 1%{?_vineseed}%{?_dist_release}
  15. Source0: sources.list-vineseed-plus
  16. Source1: sources.list-vine6-plus
  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 plus category of Vine Plus.
  26. You should install this package if you want to install packages in
  27. plus category of Vine Plus.
  28. %description -l ja
  29. このパッケージには Vine Plus の plus カテゴリ用の source.list ファイル
  30. を含んでいます。
  31. Vine Plus の plus カテゴリのパッケージをインストールする場合はこのパッ
  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/plus.list
  38. %elseif %{build_vine6}
  39. %{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/plus.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/plus.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. * Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  55. - build for Vine Linux 5
  56. * Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-2
  57. - add Obsoletes: apt < 0.5.15lorg3.94a-6
  58. - add BuildArch: noarch
  59. * Sun Jan 25 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-1
  60. - initial build for Vine Linux