boo-vl.spec 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. %define debug_package %{nil}
  2. %define monodir %{_prefix}/lib
  3. Summary: An OO statically typed language for CLI
  4. Summary(ja): CLI 用のオブジェクト指向静的型付け言語
  5. Name: boo
  6. Version: 0.9.4.9
  7. Release: 3%{?_dist_release}
  8. License: MIT
  9. Group: Development/Languages
  10. URL: http://boo.codehaus.org
  11. Source0: http://dist.codehaus.org/boo/distributions/%{name}-%{version}-src.tar.bz2
  12. Patch0: boo-pkgconfig_path_fix.patch
  13. Patch1: boo-gtksourceview.patch
  14. Patch3: mono-2.0.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: mono-devel
  17. BuildRequires: gtksourceview2-devel
  18. BuildRequires: shared-mime-info
  19. BuildRequires: pkgconfig
  20. BuildRequires: nant
  21. BuildArch: noarch
  22. Requires(post): shared-mime-info
  23. Requires(postun): shared-mime-info
  24. %description
  25. Boo is a new object oriented statically typed programming language for the
  26. Common Language Infrastructure with a python inspired syntax and a special
  27. focus on language and compiler extensibility.
  28. %package devel
  29. Summary: Development files for boo
  30. Summary(ja): boo の開発用ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description devel
  34. Development files for boo
  35. %prep
  36. %setup -q
  37. %patch0 -p1 -b .pc-original
  38. %patch1 -p1 -b .sourceview
  39. %patch3 -p1 -b .mono-2.0.patch
  40. # Get rid of prebuilt dll files
  41. rm -rf bin/*.dll bin/pt/*.dll
  42. # fix end-of-line encoding
  43. perl -pi -e 's/\r//' $(find examples/ -type f)
  44. %build
  45. nant -nologo -D:install.prefix=%{_prefix} -D:install.libdir=%{monodir}
  46. %install
  47. rm -rf %{buildroot}
  48. nant -f:default.build install -D:install.buildroot=%{buildroot} -D:install.prefix=%{buildroot}%{_prefix} -D:install.share=%{buildroot}%{_datadir} -D:install.libdir=%{buildroot}%{monodir} -D:install.bindir=%{buildroot}%{_bindir} -D:fakeroot.sharedmime=%{buildroot}%{_datadir}/.. -D:fakeroot.gsv=%{buildroot}%{_prefix}
  49. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  50. test "%{_libdir}" = "%{_prefix}/lib" || mv $RPM_BUILD_ROOT/%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  51. %clean
  52. rm -rf %{buildroot}
  53. %post
  54. update-mime-database %{_datadir}/mime &> /dev/null || :
  55. %postun
  56. update-mime-database %{_datadir}/mime &> /dev/null || :
  57. %files
  58. %defattr(-,root,root,-)
  59. %doc license.txt notice.txt readme.txt docs/BooManifesto.sxw
  60. %{monodir}/boo*/
  61. %exclude %{monodir}/boo/Boo.NAnt.Tasks.dll
  62. %exclude %{monodir}/boo/Boo.Microsoft.Build.*
  63. %dir %{monodir}/mono/boo
  64. %{monodir}/mono/boo/*.dll
  65. %{monodir}/mono/gac/Boo*/
  66. %{_bindir}/boo*
  67. %exclude %{_datadir}/gtksourceview-1.0/language-specs/boo.lang
  68. %{_datadir}/mime/packages/boo*
  69. %{_datadir}/mime-info/boo*
  70. %files devel
  71. %defattr(-,root,root,-)
  72. %{_libdir}/pkgconfig/boo.pc
  73. %{monodir}/boo/Boo.Microsoft.Build.*
  74. %{monodir}/boo/Boo.NAnt.Tasks.dll
  75. %changelog
  76. * Tue Mar 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4.9-3
  77. - added Patch3 to build with current VineSeed
  78. - built with nant 0.92+git20130131
  79. * Tue Oct 23 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4.9-2
  80. - fix %%files
  81. * Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4.9-1
  82. - initial build for Vine Linux
  83. * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4.9-4
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  85. * Mon Nov 21 2011 Christian Krause <chkr@fedoraproject.org> - 0.9.4.9-3
  86. - Change paths for mono assemblies according to updated packaging
  87. guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
  88. * Tue Apr 19 2011 Dan Horák <dan[at]danny.cz> - 0.9.4.9-2
  89. - updated the supported arch list
  90. * Fri Feb 18 2011 Paul Lange <palango@gmx.de> - 0.9.4.9-1
  91. - update to 0.9.4
  92. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3.3457-2
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  94. * Thu Oct 14 2010 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.9.3.3457-1
  95. - Update to newest version
  96. - Alter BR nant to BR nant-devel
  97. * Mon Oct 26 2009 Dennis Gilmore <dennis@ausil.us> - 0.9.2.3383-3
  98. - ExcludeArch sparc64
  99. * Tue Oct 06 2009 Paul Lange <palango@gmx.de> - 0.9.2.3383-2
  100. - Move Boo.NAnt.Tasks.dll to boo-devel
  101. * Wed Sep 16 2009 Paul Lange <palango@gmx.de> - 0.9.2.3383-1
  102. - Update to boo 0.9.2
  103. - remove libdir patch
  104. * Fri Aug 28 2009 Paul Lange <palango@gmx.de> - 0.9.1.3287-3
  105. - Fix executable paths
  106. * Thu Aug 27 2009 Michel Salim <salimma@fedoraproject.org> - 0.9.1.3287-2
  107. - Fix libdir in boo.pc to use %{_libdir}
  108. - Summary no longer repeats package name
  109. * Sun Aug 02 2009 Paul Lange <palango@gmx.de> - 0.9.1.3287-1
  110. - Update to boo 0.9.1
  111. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1.2865-8
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  113. * Mon Jun 15 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.8.1.2865-7
  114. - Include missing directory entries (#473630).
  115. * Mon Apr 20 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 0.8.1.2865-6
  116. - Fix FTBFS: added boo-mono.patch
  117. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1.2865-5
  118. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  119. * Sat Apr 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8.1.2865-4
  120. - get rid of prebuilt binary files
  121. * Tue Mar 4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.8.1.2865-3
  122. - Rebuild for new nant (causes broken deps)
  123. * Sat Feb 23 2008 David Nielsen <gnomeuser@gmail.com> - 0.8.1-2865-2
  124. - Nope, ppc still broken (#434631)
  125. * Sat Feb 23 2008 David Nielsen <gnomeuser@gmail.com> - 0.8.1-2865-1
  126. - Bump to 0.8.1
  127. - Exclude Visual Studio Environment buildtarget
  128. - Reenable ppc
  129. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.0.2730-9
  130. - Autorebuild for GCC 4.3
  131. * Thu Jan 03 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.8.0-2730-7
  132. - spec fix
  133. * Wed Dec 19 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.8.0-2730-6
  134. - remove ppc build
  135. - fix libdir problem for pc file
  136. * Sun Dec 16 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.8.0-2730-5
  137. - reenable ppc
  138. * Thu Nov 22 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.8.0-2730-4
  139. - fixes to patches for corrected libdirs
  140. * Sat Nov 17 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.8.0-2730-3
  141. - Added exclusivearch
  142. * Sun Nov 11 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.8.0-2730-2
  143. - large bump
  144. - removed fc5 and fc6 bit6
  145. - removed MS update builds from default build
  146. - fixed problem with the boo.pc file
  147. * Sun Feb 18 2007 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6-2237-13
  148. - fix for correct libdir in bin scripts
  149. * Wed Dec 20 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6-2237-11
  150. - fix for correct libdir
  151. * Thu Sep 14 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-9
  152. - rebuild
  153. * Mon Aug 07 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-8
  154. - adds conditional for boo.lang - not required in FC6
  155. * Wed Jul 26 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-7
  156. - claims ownership of monodir-boo now
  157. * Tue Jul 25 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-6
  158. - replaced monodir for libdir in devel
  159. - fixed tab-spaces problem
  160. - removed rm rf from the prep step
  161. - added update-mime-database
  162. * Sun Jul 23 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-5
  163. - removed nodebug
  164. - removed redefine of libdir
  165. - removed buildarch
  166. - added BR nant
  167. * Sat Jun 17 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-3
  168. - removed exclusivearch
  169. - changed BR
  170. - removed R
  171. - altered nant to /usr/bin/nant
  172. * Thu Jun 08 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-1
  173. - Spec file fixes
  174. - Fix for gtksourceview-1.0 langspecs
  175. - Added fixed libdir
  176. - rebuild for mono 1.1.15
  177. * Thu Jun 08 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.6.2237-1
  178. - Bump to 0.7.6-2237
  179. - Added R nant
  180. - Multiple fixes to the install as it uses nant rather than make install
  181. - Removed some bits from the files section as they're no longer in boo
  182. * Wed May 31 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.5.2013-7
  183. - Added devel files
  184. - Added doc to files section instead of adding the files manually
  185. - Added fix for x86_64
  186. * Mon May 08 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.5.2013-6
  187. - Altered again for mock and x86_64
  188. * Fri Apr 28 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.5.2003-5
  189. - added shared mime to satisfy mock
  190. * Sat Apr 22 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.5.2003-4
  191. - Removal of the always usr-lib, but now use the system used in f-spot
  192. - include archs mono is available on
  193. - added requires: mono-core, gtksourceview
  194. - changed BR to include gtksourceview-sharp
  195. - removes the conflict in the language-specs with gtksourceview package
  196. * Tue Apr 18 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.5.2003-3
  197. - Spec file tweaks
  198. - libdir is now usr-lib irrespective of hardware built on
  199. - Added docs to package
  200. * Mon Apr 17 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.5.2003-2
  201. - Small fix to the spec file
  202. * Sat Apr 15 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7.5.2003-1
  203. - Initial import and debug for FE (spec file based on the mono project one)