apt-sourceslist-main-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 main and updates category
  11. Summary(ja): main および updates カテゴリ用の sources.list ファイル
  12. Name: apt-sourceslist-main
  13. Version: 1.3
  14. Release: 1%{?_vineseed}%{?_dist_release}
  15. Source0: sources.list-vineseed-main
  16. Source1: sources.list-vine6-main
  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 main and updates category
  26. of Vine Linux.
  27. You *must* install this package if you want to use apt/synaptic with
  28. Vine Linux.
  29. %description -l ja
  30. このパッケージには Vine Linux の main および updates カテゴリ用の
  31. source.list ファイルを含んでいます。
  32. Vine Linux で apt/synaptic を使用する場合は *必ず* このパッケージを
  33. インストールしてください。
  34. %install
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d
  37. %if %{build_vineseed}
  38. %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/main.list
  39. %elseif %{build_vine6}
  40. %{__install} -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/apt/sources.list.d/main.list
  41. %endif
  42. %clean
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %files
  45. %defattr(-,root,root)
  46. %config(noreplace) %verify(not mtime) %{_sysconfdir}/apt/sources.list.d/main.list
  47. %changelog
  48. * Mon May 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
  49. - add Vine Linux 6 list
  50. * Mon Oct 25 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-1
  51. - update to Vine Linux 5.2
  52. - change mirror list order
  53. * Sat Feb 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  54. - update to Vine Linux 5.1
  55. * Sun Sep 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0-2
  56. - bump release number for VineSeed
  57. * Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  58. - build for Vine Linux 5
  59. * Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1-1
  60. - initial build for Vine Linux