gecko-sharp2-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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: 6%{?_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. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.13-6
  50. - rebuilt with mono-2.10.1
  51. * Fri Oct 08 2010 Shu KONNO <owa@bg.wakwak.com> 0.13-5
  52. - rebuilt with mono-2.8
  53. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.13-4
  54. - rebuilt with rpm-4.8.1 for pkg-config
  55. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 0.13-3
  56. - rebuilt with new envrionment
  57. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 0.13-2
  58. - rebuilt with latest rpm to update mono-dependencies
  59. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 0.13-1vl5
  60. - initial build for VineSeed
  61. - updated gecko-sharp to 2.0-0.13
  62. - applied vine versioning policy
  63. - added japanese summary
  64. - spec in utf-8
  65. * Fri Jul 6 2007 wberrier@novell.com
  66. - Update to 0.12
  67. - Depend on monodoc-core instead of mono-tools to break cyclic dep
  68. - Resolve naming conflicts in automake files
  69. * Wed Apr 11 2007 wberrier@novell.com
  70. - Add mono dep/req for older distros
  71. * Wed Jan 3 2007 wberrier@suse.de
  72. - obsolete gecko-sharp2-docs for upgrade path
  73. - bnc #227363
  74. * Mon Dec 11 2006 wberrier@suse.de
  75. - Undo gecko-sharp2 doc package split.
  76. - gecko-sharp2-r69353_break_cyclic_dep.patch: Patch to depend on
  77. monodoc-core instead of mono-tools to break cyclic dep
  78. - gecko-sharp2-r69372_fix_autoconf_docdir.patch: now that we use
  79. autoreconf for the above patch, we must rename docdir to
  80. monodocdir so docdir doesn't get overwritten
  81. * Thu Nov 30 2006 sbrabec@suse.cz
  82. - Fixed xulrunner dependencies for older products.
  83. * Mon Nov 13 2006 ro@suse.de
  84. - remove mono-tools from buildrequires and build docs in separate
  85. specfile to break cycle between mono-tools and gecko-sharp2
  86. * Mon Nov 13 2006 sbrabec@suse.cz
  87. - Use exact xulrunner version 181 (#218792, #216100).
  88. * Thu Oct 19 2006 ro@suse.de
  89. - added mono-devel to buildrequires
  90. * Thu Jul 6 2006 lrupp@suse.de
  91. - Requires mozilla-xulrunner180 for %%suse_version > 1010
  92. * Wed Jan 25 2006 mls@suse.de
  93. - converted neededforbuild to BuildRequires
  94. * Fri Jan 13 2006 gekker@suse.de
  95. - Fixup nfb and Requires for new gtk-sharp2 packaging
  96. * Fri Dec 9 2005 wberrier@suse.de
  97. - Replace mozilla dep with mozilla-xulrunner, clean up deps, and
  98. add documentation
  99. * Thu Oct 20 2005 ro@suse.de
  100. - rename package, provide and obsolete old name
  101. * Fri Oct 7 2005 wberrier@suse.de
  102. - Update to 0.11
  103. * Mon Aug 15 2005 ro@suse.de
  104. - added check-build.sh
  105. * Tue Aug 9 2005 lnussel@suse.de
  106. - use buildroot and build as user
  107. * Sun Aug 7 2005 ro@suse.de
  108. - fix location of pkgconfig file
  109. * Sun Aug 7 2005 ro@suse.de
  110. - rename package to gecko-sharp-2_0 (no "." allowed in name)
  111. * Thu Aug 4 2005 wberrier@suse.de
  112. - Initial package