gtksourceview-sharp2-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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: 3%{?_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. * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.12-3
  56. - rebuilt with mono-2.10.1
  57. * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.12-2
  58. - rebuilt with mono-2.8
  59. - added gtksourceview-sharp2-gnome-print.patch (from suse)
  60. - added BR:monodoc instead of monodoc-core
  61. * Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 0.12-1vl5
  62. - initial build for VineSeed
  63. - applied vine versioning policy
  64. - added japanese summary
  65. - spec in utf-8
  66. * Tue Feb 26 2008 wberrier@novell.com
  67. - Update to 0.12 (new gtk# requires this version)
  68. * Thu Aug 16 2007 wberrier@suse.de
  69. - add noarch again (even though this package depends on binary
  70. libraries, the package itself contains no architecture
  71. dependant code, and can run on any platform where mono runs)
  72. - Update to use gtksourceview18 package (this package hasn't been
  73. ported to use 1.9 yet)
  74. * Tue Jun 12 2007 ro@suse.de
  75. - remove noarch: this package depends on binary libraries
  76. * Wed Jun 6 2007 wberrier@novell.com
  77. - remove upstream patch (also remove autoreconf, since there's
  78. no patches)
  79. - Update to 0.11
  80. - removes circular dependency on 'monodoc' in mono-tools
  81. - updated samples
  82. * Wed May 16 2007 wberrier@novell.com
  83. - Fix BuildRequires for suse 10.0 (so .config can be resolved)
  84. * Wed Apr 11 2007 wberrier@novell.com
  85. - Add mono dep/req for older distros
  86. * Fri Apr 6 2007 wberrier@novell.com
  87. - Adapt for buildservice, add monodoc patch so only monodoc-core
  88. is needed, not mono-tools. Clean up BuildRequires some more.
  89. * Mon Feb 12 2007 aj@suse.de
  90. - Remove unneeded BuildRequires.
  91. * Wed Jan 24 2007 ro@suse.de
  92. - GNOME moved to /usr
  93. * Thu Oct 19 2006 ro@suse.de
  94. - added mono-devel to buildrequires
  95. * Wed Jan 25 2006 mls@suse.de
  96. - converted neededforbuild to BuildRequires
  97. * Fri Jan 13 2006 gekker@suse.de
  98. - Fixup nfb and Requires for new gtk-sharp2 packaging
  99. * Wed Nov 16 2005 wberrier@suse.de
  100. - Remove icu deps
  101. * Thu Oct 20 2005 ro@suse.de
  102. - rename package, provide and obsolete old name
  103. * Thu Sep 22 2005 ro@suse.de
  104. - added norootforbuild
  105. * Wed Sep 21 2005 wberrier@suse.de
  106. - Use the buildroot and package the docs for monodoc (bug #116196)
  107. * Fri Sep 16 2005 wberrier@suse.de
  108. - Only package correct files (Bug #116196)
  109. * Fri Aug 26 2005 ro@suse.de
  110. - nfb: monodoc -> monodoc-core
  111. * Sun Aug 14 2005 aj@suse.de
  112. - Require 2.6.13 or newer kernel.
  113. * Sun Aug 14 2005 aj@suse.de
  114. - Add check-build.sh script.
  115. * Sun Aug 7 2005 ro@suse.de
  116. - fix location of pkgconfig files
  117. * Sun Aug 7 2005 ro@suse.de
  118. - rename package to gtksourceview-sharp-2_0 (no "." allowed in name)
  119. * Thu Aug 4 2005 wberrier@suse.de
  120. - Initial package