mono-basic-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. %define mono_ver 2.6.2
  2. %define mono_dir %{_prefix}/lib/mono
  3. Summary: Visual Basic .NET support for Mono
  4. Summary(ja): Mono 用 Visual Basic .NET サポート
  5. Name: mono-basic
  6. Version: %{mono_ver}
  7. Release: 1%{?_dist_release}
  8. Group: Development/Languages
  9. License: GPL, LGPL, MIT X11
  10. URL: http://www.mono-project.com/
  11. Source0: http://mono.ximian.com/monobuild/preview/sources/%{name}/%{name}-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. Requires: mono-core >= %{mono_ver}
  15. Requires: mono-winforms mono-web
  16. Requires: mono-data mono-locale-extras
  17. BuildRequires: mono-core >= %{mono_ver}
  18. BuildRequires: mono-winforms mono-web
  19. BuildRequires: mono-data mono-locale-extras
  20. #define __find_provides %{_bindir}/mono-find-provides
  21. #define __find_requires %{_bindir}/mono-find-requires
  22. %description
  23. This package contains the Visual Basic .NET compiler and language
  24. runtime. This allows you to compile and run VB.NET application and
  25. assemblies.
  26. %if 0
  27. %define gac_dll(dll) %{mono_dir}/gac/%{1} \
  28. %{mono_dir}/?.0/%{1}.dll \
  29. %{nil}
  30. %define mono_bin(bin) %{_bindir}/%{1} \
  31. %{mono_dir}/?.0/%{1}.exe \
  32. %{mono_dir}/?.0/%{1}.exe.* \
  33. %{nil}
  34. %define mono_bin_1(bin, dll) %{_bindir}/%{1} \
  35. %{mono_dir}/1.0/%{2}.exe \
  36. %{mono_dir}/1.0/%{2}.exe.* \
  37. %{nil}
  38. %define mono_bin_2(bin, dll) %{_bindir}/%{1} \
  39. %{mono_dir}/2.0/%{2}.exe \
  40. %{mono_dir}/2.0/%{2}.exe.* \
  41. %{nil}
  42. %endif
  43. %prep
  44. %setup -q
  45. %build
  46. ./configure --prefix=%{_prefix}
  47. make
  48. %install
  49. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  50. make install DESTDIR=$RPM_BUILD_ROOT
  51. %clean
  52. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc ChangeLog README
  56. %{_bindir}/vbnc
  57. %{mono_dir}/2.0/Microsoft.VisualBasic.dll
  58. %{mono_dir}/2.0/vbnc.exe
  59. %{mono_dir}/2.0/vbnc.exe.mdb
  60. %{mono_dir}/2.0/vbnc.rsp
  61. %{mono_dir}/gac/Microsoft.VisualBasic
  62. %{_mandir}/man1/*
  63. %changelog
  64. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.2-1
  65. - updated mono-basic to 2.6.2
  66. * Sun Dec 27 2009 Shu KONNO <owa@bg.wakwak.com> 2.6-1
  67. - updated mono-basic to 2.6
  68. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.4.2-2
  69. - rebuilt with latest rpm to update mono-dependencies
  70. * Thu Jul 02 2009 Shu KONNO <owa@bg.wakwak.com> 2.4.2-1
  71. - updated mono-basic to 2.4.2
  72. * Tue Mar 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4-1
  73. - new upstream release
  74. * Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 2.0-1vl5
  75. - updated mono-basic to 2.0
  76. - added BuildArch: noarch
  77. - changed url
  78. * Tue Aug 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.5-1vl5
  79. - applied new versioning policy, spec in utf-8
  80. * Sat Sep 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1
  81. - initial build for Vine
  82. - splited from mono package