gtksourceview-sharp2-vl.spec 4.6 KB

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