vine-release-vl.spec 6.7 KB

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