vine-release-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. %define vine_version 7.0
  2. %define vine_codename Ausone
  3. %define vine_codename_lsb %(echo %{vine_codename} | sed -e 's/ //g')
  4. %define rh_version 10
  5. %define lsb_version 4.0
  6. # new vine linux release number
  7. %define _dist_release vl%(echo %{vine_version} | cut -f1 -d.)
  8. # (vineseed|vinebeta|vinecr)
  9. %define vineseed 1
  10. #define vinebeta 1
  11. #define vinecr 1
  12. # release=1+, alpha/beta=0.1+, seed=0.0.1+
  13. %define relbase 0.0.1
  14. Summary: Vine Linux release file
  15. Summary(ja): Vine Linux リリースファイル
  16. Name: vine-release
  17. Version: %{vine_version}%{?vinecr:CR}
  18. Release: %{relbase}%{_dist_release}%{?vineseed:.seed}%{?vinebeta:.beta%{vinebeta}}
  19. License: BSD
  20. Group: System Environment/Base
  21. Distribution: Vine Linux
  22. Vendor: Project Vine
  23. Packager: daisuke
  24. BuildRoot: /tmp/%{name}-%{version}-root
  25. BuildArchitectures: noarch
  26. Obsoletes: redhat-release
  27. Provides: redhat-release = %{rh_version}
  28. %description
  29. Vine Linux release file
  30. %description -l ja
  31. Vine Linux リリースファイル
  32. %install
  33. mkdir -p ${RPM_BUILD_ROOT}/etc
  34. echo "Vine Linux %{vine_version} %{?vinecr:CR }%{?vineseed:(+VineSeed) }%{?vinebeta:(BETA) }(%{vine_codename})" > ${RPM_BUILD_ROOT}/etc/vine-release
  35. cat <<EOF > ${RPM_BUILD_ROOT}/etc/lsb-release
  36. LSB_VERSION="%{lsb_version}"
  37. DISTRIB_ID="Vine"
  38. DISTRIB_RELEASE="%{version}"
  39. DISTRIB_CODENAME="%{vine_codename_lsb}"
  40. DISTRIB_DESCRIPTION="Vine Linux %{version}"
  41. EOF
  42. %pre
  43. if [ -f /etc/vine-release ]; then
  44. if [ ! -z "`grep CR /etc/vine-release`" ]; then
  45. touch /tmp/vine-cr
  46. fi
  47. fi
  48. %files
  49. %defattr(-,root,root)
  50. /etc/vine-release
  51. /etc/lsb-release
  52. %changelog
  53. * Sat Aug 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 7.0-0.0.1vl7.seed
  54. - build for VineSeed(vl7)
  55. * Sat Jul 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 6.0-1vl6
  56. - build for Vine Linux 6 release
  57. * Tue Apr 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 6.0-0.1vl6.beta
  58. - build for Vine Linux 6 Beta
  59. - add /etc/lsb-version
  60. * Tue Aug 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.0-0.0.1vl6.seed
  61. - build for VineSeed (vl6)
  62. * Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0-1vl5
  63. - build for Vine Linux 5 release
  64. * Mon Jul 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0-0.1vl5.beta
  65. - build for Vine Linux 5 Beta
  66. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0-0.0.2vl5.seed
  67. - spec in utf-8
  68. * Tue Mar 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0-0.0.1vl5.seed
  69. - build for VineSeed
  70. * Sat Dec 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-0vl1.seed
  71. - new upstream release
  72. * Tue Oct 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-0vl1
  73. - build for Vine Linux 4.0
  74. * Sat Oct 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-0vl0.beta4
  75. - build for Vine Linux 4.0 BETA4
  76. * Sat Sep 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-0vl0.beta3
  77. - build for Vine Linux 4.0 BETA3
  78. * Fri Sep 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-0vl0.beta2
  79. - build for Vine Linux 4.0 BETA2
  80. * Wed Aug 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-0vl0.beta1
  81. - build for Vine Linux 4.0 BETA1
  82. * Thu Sep 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2-0vl1.seed
  83. - build for VineSeed
  84. * Fri Sep 16 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2CR-0vl1
  85. - Vine Linux 3.2CR
  86. * Thu Aug 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2-0vl1
  87. - Vine Linux 3.2
  88. * Sat Oct 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1CR-0vl1
  89. - Vine Linux 3.1CR
  90. * Tue Aug 03 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0-0vl1.seed
  91. - build for VineSeed
  92. - remove redhat-release
  93. * Wed Jul 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0-0vl1
  94. - Vine Linux 3.0
  95. * Sat Jul 24 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.98-0vl1
  96. - Vine Linux 2.98/3.0RC1
  97. * Sat Jul 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.96-0vl1
  98. - Vine Linux 2.96
  99. * Tue Jun 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.95-0vl1
  100. - Vine Linux 2.95
  101. * Thu Jun 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.93-0vl1
  102. - Vine Linux 2.93
  103. * Mon Jun 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.92-0vl1
  104. - Vine Linux 2.92
  105. * Thu Apr 4 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.91-1
  106. - Vine Linux 2.91
  107. * Tue May 27 2003 Daisuke SUZUKI <daisuke@vinelinux.org> 2.90-1
  108. - Vine Linux 2.90
  109. - include dummy /etc/redhat-release, Obsoletes: redhat-release
  110. * Sun Oct 27 2002 Daisuke SUZUKI <daisuke@vinelinux.org> 2.6-2
  111. - fixed typo :(
  112. * Fri Sep 20 2002 Daisuke SUZUKI <daisuke@vinelinux.org> 2.6-1
  113. - Vine Linux 2.6 release
  114. * Sun Mar 31 2002 Daisuke SUZUKI <daisuke@vinelinux.org> 2.5-1
  115. - Vine Linux 2.5 release
  116. * Sun Jan 6 2002 Daisuke SUZUKI <daisuke@vinelinux.org> 2.4.99-1
  117. - Vine Linux 2.4.99 (2.5beta) release
  118. * Wed Jan 17 2001 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.5-1CR
  119. - Vine Linux 2.1.5CR release
  120. * Fri Dec 15 2000 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.4-1CR
  121. - Vine Linux 2.1.4CR (Hancom Special Edition) release
  122. * Sat Oct 14 2000 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1-1CR
  123. - Vine Linux 2.1CR release
  124. * Thu Oct 12 2000 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1-1
  125. - Vine Linux 2.1 release
  126. * Tue Oct 3 2000 Daisuke SUZUKI <daisuke@vinelinux.org>
  127. - Vine Linux 2.1beta
  128. * Sun Apr 2 2000 Daisuke SUZUKI <daisuke@vinelinux.org>
  129. - Vine Linux 2.0
  130. * Thu Feb 17 2000 Daisuke SUZUKI <daisuke@vinelinux.org>
  131. - added %post to remove libwcsmbs.so from ld.so.preload
  132. * Tue Jan 25 2000 Daisuke SUZUKI <daisuke@vinelinux.org>
  133. - Vine Linux 2.0 beta
  134. * Mon Jan 10 2000 Daisuke SUZUKI <daisuke@vinelinux.org>
  135. - Vine Linux 2.0 alpha
  136. * Mon Jan 10 2000 Jun Nishii <jun@vinelinux.org>
  137. - added %defattr
  138. - change group
  139. * Sat Jul 17 1999 Hideya Hane <vine@flatout.org>
  140. - sync Vine Linux 1.9
  141. * Fri May 14 1999 Hideya Hane <vine@flatout.org>
  142. - sync Vine Linux 1.1
  143. * Fri Mar 19 1999 Hideya Hane <vine@flatout.org>
  144. - sync Vine Linux 1.0
  145. * Mon Dec 28 1998 Hideya Hane <vine@flatout.org>
  146. - sync Vine Linux 1.0beta
  147. * Mon Oct 16 1998 Hideya Hane <vine@flatout.org>
  148. - sync RHL-5.2
  149. * Mon Oct 10 1998 Hideya Hane <vine@flatout.org>
  150. - add tcl/tk jp
  151. - add tgif
  152. * Mon Oct 10 1998 Hideya Hane <vine@flatout.org>
  153. - initial release