gtksourceview-sharp2-vl.spec 5.2 KB

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