boo-vl.spec 8.5 KB

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