gtksourceview-sharp2-vl.spec 4.8 KB

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