vine-release-vl.spec 5.7 KB

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