gecko-sharp2-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. %define mono_dir %(/usr/bin/monodir)
  2. %define mod_name gecko-sharp-2.0
  3. Name: gecko-sharp2
  4. Version: 0.13
  5. Release: 3%{?_dist_release}
  6. Summary: Gecko bindings for Mono
  7. Summary(ja): Mono 用 Gecko バインディング
  8. Group: Development/Libraries
  9. License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
  10. URL: http://www.monodevelop.com
  11. Source: http://mono.ximian.com/monobuild/preview/sources/%{name}/%{mod_name}-%{version}.tar.bz2
  12. BuildArch: noarch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: mono-devel monodoc
  15. BuildRequires: gtk-sharp2 gtk-sharp2-gapi gtk2-devel
  16. Provides: %{mod_name}
  17. BuildRequires: xulrunner-devel
  18. %description
  19. This package provides Mono bindings for the Gecko engine, through an
  20. easy-to-use widget that will allow you to embed a Mozilla browser
  21. window into your Gtk# application.
  22. %prep
  23. %setup -q -n %{mod_name}-%{version}
  24. %build
  25. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  26. ./configure \
  27. --prefix=%{_prefix} \
  28. --libdir=%{_prefix}/lib \
  29. --sysconfdir=%{_sysconfdir} \
  30. --mandir=%{_mandir} \
  31. --infodir=%{_infodir} \
  32. --localstatedir=%{_localstatedir}
  33. #make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  37. make install DESTDIR=%{buildroot}
  38. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  39. mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-, root, root)
  44. %{mono_dir}/%{mod_name}
  45. %{mono_dir}/gac/gecko-sharp
  46. %{_datadir}/pkgconfig/*.pc
  47. %{_prefix}/lib/monodoc/sources/gecko-sharp-docs.*
  48. %changelog
  49. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 0.13-3
  50. - rebuilt with new envrionment
  51. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 0.13-2
  52. - rebuilt with latest rpm to update mono-dependencies
  53. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 0.13-1vl5
  54. - initial build for VineSeed
  55. - updated gecko-sharp to 2.0-0.13
  56. - applied vine versioning policy
  57. - added japanese summary
  58. - spec in utf-8
  59. * Fri Jul 6 2007 wberrier@novell.com
  60. - Update to 0.12
  61. - Depend on monodoc-core instead of mono-tools to break cyclic dep
  62. - Resolve naming conflicts in automake files
  63. * Wed Apr 11 2007 wberrier@novell.com
  64. - Add mono dep/req for older distros
  65. * Wed Jan 3 2007 wberrier@suse.de
  66. - obsolete gecko-sharp2-docs for upgrade path
  67. - bnc #227363
  68. * Mon Dec 11 2006 wberrier@suse.de
  69. - Undo gecko-sharp2 doc package split.
  70. - gecko-sharp2-r69353_break_cyclic_dep.patch: Patch to depend on
  71. monodoc-core instead of mono-tools to break cyclic dep
  72. - gecko-sharp2-r69372_fix_autoconf_docdir.patch: now that we use
  73. autoreconf for the above patch, we must rename docdir to
  74. monodocdir so docdir doesn't get overwritten
  75. * Thu Nov 30 2006 sbrabec@suse.cz
  76. - Fixed xulrunner dependencies for older products.
  77. * Mon Nov 13 2006 ro@suse.de
  78. - remove mono-tools from buildrequires and build docs in separate
  79. specfile to break cycle between mono-tools and gecko-sharp2
  80. * Mon Nov 13 2006 sbrabec@suse.cz
  81. - Use exact xulrunner version 181 (#218792, #216100).
  82. * Thu Oct 19 2006 ro@suse.de
  83. - added mono-devel to buildrequires
  84. * Thu Jul 6 2006 lrupp@suse.de
  85. - Requires mozilla-xulrunner180 for %%suse_version > 1010
  86. * Wed Jan 25 2006 mls@suse.de
  87. - converted neededforbuild to BuildRequires
  88. * Fri Jan 13 2006 gekker@suse.de
  89. - Fixup nfb and Requires for new gtk-sharp2 packaging
  90. * Fri Dec 9 2005 wberrier@suse.de
  91. - Replace mozilla dep with mozilla-xulrunner, clean up deps, and
  92. add documentation
  93. * Thu Oct 20 2005 ro@suse.de
  94. - rename package, provide and obsolete old name
  95. * Fri Oct 7 2005 wberrier@suse.de
  96. - Update to 0.11
  97. * Mon Aug 15 2005 ro@suse.de
  98. - added check-build.sh
  99. * Tue Aug 9 2005 lnussel@suse.de
  100. - use buildroot and build as user
  101. * Sun Aug 7 2005 ro@suse.de
  102. - fix location of pkgconfig file
  103. * Sun Aug 7 2005 ro@suse.de
  104. - rename package to gecko-sharp-2_0 (no "." allowed in name)
  105. * Thu Aug 4 2005 wberrier@suse.de
  106. - Initial package