gtksourceview-sharp2-vl.spec 4.0 KB

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