boo-vl.spec 8.4 KB

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