gecko-sharp2-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. %define mono_dir %{_prefix}/lib/mono
  2. %define mod_name gecko-sharp-2.0
  3. Name: gecko-sharp2
  4. Version: 0.13
  5. Release: 9%{?_dist_release}
  6. Summary: Gecko bindings for Mono
  7. Summary(ja): Mono 用 Gecko バインディング
  8. License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
  9. Group: System Environment/Libraries
  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-devel gtk-sharp2-gapi
  16. Provides: %{mod_name}
  17. BuildRequires: xulrunner-devel
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. This package provides Mono bindings for the Gecko engine, through an
  22. easy-to-use widget that will allow you to embed a Mozilla browser
  23. window into your Gtk# application.
  24. %package devel
  25. Summary: Development files and documents for %{name}
  26. Summary(ja): %{name} の開発用ファイルおよびドキュメント
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: monodoc
  30. Requires: pkgconfig
  31. %description devel
  32. This package includes the files needed for developing and compiling
  33. applications which use the %{name} library.
  34. %prep
  35. %setup -q -n %{mod_name}-%{version}
  36. %build
  37. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  38. ./configure \
  39. --prefix=%{_prefix} \
  40. --libdir=%{_prefix}/lib \
  41. --sysconfdir=%{_sysconfdir} \
  42. --mandir=%{_mandir} \
  43. --infodir=%{_infodir} \
  44. --localstatedir=%{_localstatedir}
  45. make
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  49. make install DESTDIR=%{buildroot}
  50. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  51. mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %files
  55. %defattr(-, root, root)
  56. %doc ChangeLog LICENSE.* README
  57. %{mono_dir}/%{mod_name}
  58. %{mono_dir}/gac/gecko-sharp
  59. %files devel
  60. %defattr(-, root, root)
  61. %{_datadir}/pkgconfig/*.pc
  62. %{_prefix}/lib/monodoc/sources/gecko-sharp-docs.*
  63. %changelog
  64. * Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.13-9
  65. - rebuilt with mono 3.12.1
  66. - split *.pc and monodoc into devel subpackage
  67. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-8
  68. - rebuild with VineSeed environment
  69. * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.13-7
  70. - rebuilt with mono-2.10.1-3
  71. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.13-6
  72. - rebuilt with mono-2.10.1
  73. * Fri Oct 08 2010 Shu KONNO <owa@bg.wakwak.com> 0.13-5
  74. - rebuilt with mono-2.8
  75. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.13-4
  76. - rebuilt with rpm-4.8.1 for pkg-config
  77. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 0.13-3
  78. - rebuilt with new envrionment
  79. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 0.13-2
  80. - rebuilt with latest rpm to update mono-dependencies
  81. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 0.13-1vl5
  82. - initial build for VineSeed
  83. - updated gecko-sharp to 2.0-0.13
  84. - applied vine versioning policy
  85. - added japanese summary
  86. - spec in utf-8
  87. * Fri Jul 6 2007 wberrier@novell.com
  88. - Update to 0.12
  89. - Depend on monodoc-core instead of mono-tools to break cyclic dep
  90. - Resolve naming conflicts in automake files
  91. * Wed Apr 11 2007 wberrier@novell.com
  92. - Add mono dep/req for older distros
  93. * Wed Jan 3 2007 wberrier@suse.de
  94. - obsolete gecko-sharp2-docs for upgrade path
  95. - bnc #227363
  96. * Mon Dec 11 2006 wberrier@suse.de
  97. - Undo gecko-sharp2 doc package split.
  98. - gecko-sharp2-r69353_break_cyclic_dep.patch: Patch to depend on
  99. monodoc-core instead of mono-tools to break cyclic dep
  100. - gecko-sharp2-r69372_fix_autoconf_docdir.patch: now that we use
  101. autoreconf for the above patch, we must rename docdir to
  102. monodocdir so docdir doesn't get overwritten
  103. * Thu Nov 30 2006 sbrabec@suse.cz
  104. - Fixed xulrunner dependencies for older products.
  105. * Mon Nov 13 2006 ro@suse.de
  106. - remove mono-tools from buildrequires and build docs in separate
  107. specfile to break cycle between mono-tools and gecko-sharp2
  108. * Mon Nov 13 2006 sbrabec@suse.cz
  109. - Use exact xulrunner version 181 (#218792, #216100).
  110. * Thu Oct 19 2006 ro@suse.de
  111. - added mono-devel to buildrequires
  112. * Thu Jul 6 2006 lrupp@suse.de
  113. - Requires mozilla-xulrunner180 for %%suse_version > 1010
  114. * Wed Jan 25 2006 mls@suse.de
  115. - converted neededforbuild to BuildRequires
  116. * Fri Jan 13 2006 gekker@suse.de
  117. - Fixup nfb and Requires for new gtk-sharp2 packaging
  118. * Fri Dec 9 2005 wberrier@suse.de
  119. - Replace mozilla dep with mozilla-xulrunner, clean up deps, and
  120. add documentation
  121. * Thu Oct 20 2005 ro@suse.de
  122. - rename package, provide and obsolete old name
  123. * Fri Oct 7 2005 wberrier@suse.de
  124. - Update to 0.11
  125. * Mon Aug 15 2005 ro@suse.de
  126. - added check-build.sh
  127. * Tue Aug 9 2005 lnussel@suse.de
  128. - use buildroot and build as user
  129. * Sun Aug 7 2005 ro@suse.de
  130. - fix location of pkgconfig file
  131. * Sun Aug 7 2005 ro@suse.de
  132. - rename package to gecko-sharp-2_0 (no "." allowed in name)
  133. * Thu Aug 4 2005 wberrier@suse.de
  134. - Initial package