gtksourceview-sharp2-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. %define mono_dir %(/usr/bin/monodir)
  2. Name: gtksourceview-sharp2
  3. Summary: GtkSourceView bindings for Mono
  4. Summary(ja): Mono 用 GtkSourceView バインディング
  5. Version: 0.12
  6. Release: 4%{?_dist_release}
  7. License: GNU General Public License (GPL)
  8. Group: Development/Libraries/Other
  9. URL: http://www.go-mono.org
  10. Source: http://mono.ximian.com/monobuild/preview/sources/%{name}/gtksourceview-sharp-2.0-%{version}.tar.bz2
  11. Patch0: gtksourceview-sharp2-gnome-print.patch
  12. BuildArch: noarch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gtksourceview-devel
  15. BuildRequires: gnome-sharp2 gtk-sharp2-gapi
  16. BuildRequires: mono-devel monodoc
  17. %description
  18. This package provides Mono bindings for GtkSourceView, a child of the
  19. GTK+ text widget which implements syntax highlighting and other
  20. features typical of a source editor.
  21. %prep
  22. %setup -q -n gtksourceview-sharp-2.0-%{version}
  23. %patch0 -p0 -b .gnome-print
  24. autoreconf
  25. %build
  26. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  27. ./configure \
  28. --prefix=/usr \
  29. --libdir=/usr/lib \
  30. --sysconfdir=/etc \
  31. --mandir=/usr/share/man \
  32. --infodir=/usr/share/info \
  33. --localstatedir=/var
  34. make
  35. %install
  36. rm -Rf ${DESTDIR}
  37. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  40. mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
  41. ## remove unuse files
  42. rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-1.0/language-specs/nemerle.lang
  43. rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-1.0/language-specs/vbnet.lang
  44. %clean
  45. rm -Rf ${DESTDIR}
  46. %files
  47. %defattr(-, root, root)
  48. %doc AUTHORS COPYING INSTALL NEWS README
  49. %{mono_dir}/gac/gtksourceview-sharp
  50. %{mono_dir}/gtksourceview-sharp-2.0
  51. %{_prefix}/lib/monodoc/sources/gtksourceview-sharp-docs*
  52. %{_datadir}/pkgconfig/gtksourceview-sharp-2.0.pc
  53. %{_datadir}/gapi-2.0/gtksourceview-api.xml
  54. %changelog
  55. * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.12-4
  56. - rebuilt with mono-2.10.1-3
  57. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.12-3
  58. - rebuilt with mono-2.10.1
  59. * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.12-2
  60. - rebuilt with mono-2.8
  61. - added gtksourceview-sharp2-gnome-print.patch
  62. - added BR:monodoc instead of monodoc-core
  63. * Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 0.12-1vl5
  64. - initial build for VineSeed
  65. - applied vine versioning policy
  66. - added japanese summary
  67. - spec in utf-8
  68. * Tue Feb 26 2008 wberrier@novell.com
  69. - Update to 0.12 (new gtk# requires this version)
  70. * Thu Aug 16 2007 wberrier@suse.de
  71. - add noarch again (even though this package depends on binary
  72. libraries, the package itself contains no architecture
  73. dependant code, and can run on any platform where mono runs)
  74. - Update to use gtksourceview18 package (this package hasn't been
  75. ported to use 1.9 yet)
  76. * Tue Jun 12 2007 ro@suse.de
  77. - remove noarch: this package depends on binary libraries
  78. * Wed Jun 6 2007 wberrier@novell.com
  79. - remove upstream patch (also remove autoreconf, since there's
  80. no patches)
  81. - Update to 0.11
  82. - removes circular dependency on 'monodoc' in mono-tools
  83. - updated samples
  84. * Wed May 16 2007 wberrier@novell.com
  85. - Fix BuildRequires for suse 10.0 (so .config can be resolved)
  86. * Wed Apr 11 2007 wberrier@novell.com
  87. - Add mono dep/req for older distros
  88. * Fri Apr 6 2007 wberrier@novell.com
  89. - Adapt for buildservice, add monodoc patch so only monodoc-core
  90. is needed, not mono-tools. Clean up BuildRequires some more.
  91. * Mon Feb 12 2007 aj@suse.de
  92. - Remove unneeded BuildRequires.
  93. * Wed Jan 24 2007 ro@suse.de
  94. - GNOME moved to /usr
  95. * Thu Oct 19 2006 ro@suse.de
  96. - added mono-devel to buildrequires
  97. * Wed Jan 25 2006 mls@suse.de
  98. - converted neededforbuild to BuildRequires
  99. * Fri Jan 13 2006 gekker@suse.de
  100. - Fixup nfb and Requires for new gtk-sharp2 packaging
  101. * Wed Nov 16 2005 wberrier@suse.de
  102. - Remove icu deps
  103. * Thu Oct 20 2005 ro@suse.de
  104. - rename package, provide and obsolete old name
  105. * Thu Sep 22 2005 ro@suse.de
  106. - added norootforbuild
  107. * Wed Sep 21 2005 wberrier@suse.de
  108. - Use the buildroot and package the docs for monodoc (bug #116196)
  109. * Fri Sep 16 2005 wberrier@suse.de
  110. - Only package correct files (Bug #116196)
  111. * Fri Aug 26 2005 ro@suse.de
  112. - nfb: monodoc -> monodoc-core
  113. * Sun Aug 14 2005 aj@suse.de
  114. - Require 2.6.13 or newer kernel.
  115. * Sun Aug 14 2005 aj@suse.de
  116. - Add check-build.sh script.
  117. * Sun Aug 7 2005 ro@suse.de
  118. - fix location of pkgconfig files
  119. * Sun Aug 7 2005 ro@suse.de
  120. - rename package to gtksourceview-sharp-2_0 (no "." allowed in name)
  121. * Thu Aug 4 2005 wberrier@suse.de
  122. - Initial package