gnome-desktop-sharp2-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. %define mono_dir %(/usr/bin/monodir)
  2. %define _name gnome-desktop-sharp
  3. Name: gnome-desktop-sharp2
  4. Version: 2.26.0
  5. Release: 9%{?_dist_release}
  6. Summary: Mono bindings for libgnome-desktop
  7. Summary(ja): Mono 用 libgnome-desktop バインディング
  8. Group: Development/Libraries
  9. License: GPL, LGPL 2.0/2.1
  10. URL: http://gtk-sharp.sf.net
  11. #Source: http://mono.ximian.com/monobuild/preview/sources/%{mame}/%{_name}-%{version}.tar.bz2
  12. Source: http://ftp.novell.com/pub/mono/sources/%{name}/gnome-desktop-sharp-%{version}.tar.bz2
  13. Patch0: gnome-desktop-sharp-lib-target.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: mono-devel monodoc
  16. BuildRequires: gnome-sharp2 gtk-sharp2-gapi
  17. BuildRequires: librsvg2-devel libwnck-devel vte-devel
  18. BuildRequires: gtkhtml3-devel gtksourceview2-devel
  19. #BuildRequires: nautilus-cd-burner
  20. BuildRequires: gnome-desktop-devel libgnomeprintui-devel
  21. BuildRequires: gnome-panel-devel
  22. Packager: konno, daisuke, ryoichi
  23. %description
  24. This package contains Mono bindings for libgnome-desktop.
  25. %package -n gtksourceview2-sharp
  26. Summary: Mono bindings for gtksourceview2
  27. Group: Development/Libraries
  28. %description -n gtksourceview2-sharp
  29. This package contains Mono bindings for libgtksourceview-2.0.
  30. %package -n rsvg2-sharp
  31. Summary: Mono bindings for rsvg
  32. Group: Development/Libraries
  33. %description -n rsvg2-sharp
  34. This package contains Mono bindings for librsvg.
  35. %package -n gtkhtml314-sharp
  36. Summary: Mono bindings for gtkhtml
  37. Group: Development/Libraries
  38. %description -n gtkhtml314-sharp
  39. This package contains Mono bindings for gtkhtml.
  40. %package -n wnck-sharp
  41. Summary: Mono bindings for wnck
  42. Group: Development/Libraries
  43. %description -n wnck-sharp
  44. This package contains Mono bindings wnck.
  45. %package -n vte016-sharp
  46. Summary: Mono bindings for vte
  47. Group: Development/Libraries
  48. %description -n vte016-sharp
  49. This package contains Mono bindings for vte.
  50. #%package -n nautilusburn-sharp
  51. #Summary: Mono bindings for nautilusburn
  52. #Group: Development/Libraries
  53. #
  54. #%description -n nautilusburn-sharp
  55. #This package contains Mono bindings for libnautilus-burn.
  56. %package -n gnome-panel-sharp
  57. Summary: Mono bindings for gnome-panel
  58. Group: Development/Libraries
  59. %description -n gnome-panel-sharp
  60. This package contains Mono bindings for gnome-panel.
  61. %package -n gnome-print-sharp
  62. Summary: Mono bindings for gnome-print
  63. Group: Development/Libraries
  64. %description -n gnome-print-sharp
  65. This package contains Mono bindings for gnome-print.
  66. %prep
  67. %setup -q -n %{_name}-%{version}
  68. %patch0 -p1 -b .target
  69. %build
  70. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  71. # FIXME: windowmanager.c:*: warning: dereferencing type-punned pointer will break strict-aliasing rules
  72. export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
  73. %configure --enable-debug
  74. make
  75. %install
  76. rm -rf $RPM_BUILD_ROOT
  77. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  78. %makeinstall
  79. rm $RPM_BUILD_ROOT%{_libdir}/*.*a
  80. %clean
  81. rm -rf $RPM_BUILD_ROOT
  82. %files
  83. %defattr(-,root,root)
  84. %{mono_dir}/gnomedesktop-sharp-2.20
  85. %{mono_dir}/gac/*gnomedesktop-sharp
  86. %dir %{_datadir}/gnomedesktop-sharp
  87. %{_datadir}/gnomedesktop-sharp/2.20
  88. %{_libdir}/pkgconfig/gnome-desktop-sharp-2.0.pc
  89. %files -n gtksourceview2-sharp
  90. %defattr(-,root,root)
  91. %{mono_dir}/gtksourceview2-sharp-2.0
  92. %{mono_dir}/gac/*gtksourceview2-sharp
  93. %dir %{_datadir}/gtksourceview2-sharp
  94. %{_datadir}/gtksourceview2-sharp/2.0
  95. %{_libdir}/pkgconfig/gtksourceview2-sharp.pc
  96. %{_libdir}/libgtksourceview2sharpglue-2.so
  97. %files -n rsvg2-sharp
  98. %defattr(-,root,root)
  99. %{mono_dir}/rsvg2-sharp-2.0
  100. %{mono_dir}/gac/*rsvg2-sharp
  101. %dir %{_datadir}/rsvg2-sharp
  102. %{_datadir}/rsvg2-sharp/2.0
  103. %{_libdir}/pkgconfig/rsvg2-sharp-2.0.pc
  104. %files -n gtkhtml314-sharp
  105. %defattr(-,root,root)
  106. %{mono_dir}/gtkhtml-sharp-3.14
  107. %{mono_dir}/gac/*gtkhtml-sharp
  108. %dir %{_datadir}/gtkhtml-sharp
  109. %{_datadir}/gtkhtml-sharp/3.14
  110. %{_libdir}/pkgconfig/gtkhtml-sharp-3.14.pc
  111. %{_libdir}/libgtkhtmlsharpglue-2.so
  112. #%files -n nautilusburn-sharp
  113. #%defattr(-,root,root)
  114. #%{mono_dir}/nautilusburn-sharp-2.20
  115. #%{mono_dir}/gac/*nautilusburn-sharp
  116. #%dir %{_datadir}/nautilusburn-sharp
  117. #%{_datadir}/nautilusburn-sharp/2.20
  118. #%{_libdir}/pkgconfig/nautilusburn-sharp.pc
  119. #%{_libdir}/libnautilusburnsharpglue-2.so
  120. %files -n vte016-sharp
  121. %defattr(-, root, root)
  122. %{mono_dir}/vte-sharp-0.16
  123. %{mono_dir}/gac/*vte-sharp
  124. %dir %{_datadir}/vte-sharp
  125. %{_datadir}/vte-sharp/0.16
  126. %{_libdir}/libvtesharpglue-2.so
  127. %{_libdir}/pkgconfig/vte-sharp-0.16.pc
  128. %files -n wnck-sharp
  129. %defattr(-, root, root)
  130. %{mono_dir}/wnck-sharp-2.20
  131. %{mono_dir}/gac/*wnck-sharp
  132. %dir %{_datadir}/wnck-sharp
  133. %{_datadir}/wnck-sharp/2.20
  134. %{_libdir}/pkgconfig/wnck-sharp-1.0.pc
  135. %{_libdir}/libwncksharpglue-2.so
  136. %files -n gnome-panel-sharp
  137. %defattr(-, root, root)
  138. %{mono_dir}/gnome-panel-sharp-2.24
  139. %{mono_dir}/gac/gnome-panel-sharp
  140. %dir %{_datadir}/gnome-panel-sharp
  141. %{_datadir}/gnome-panel-sharp/2.24
  142. %{_libdir}/pkgconfig/gnome-panel-sharp-2.24.pc
  143. %{_libdir}/libgnomepanelsharpglue-2.so
  144. %files -n gnome-print-sharp
  145. %defattr(-, root, root)
  146. %{mono_dir}/gnome-print-sharp-2.18
  147. %{mono_dir}/gac/gnome-print-sharp
  148. %dir %{_datadir}/gnome-print-sharp
  149. %{_datadir}/gnome-print-sharp/2.18
  150. %{_libdir}/pkgconfig/gnome-print-sharp-2.18.pc
  151. %changelog
  152. * Tue Dec 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-9
  153. - change BuildRequires: gnome-panel-devel instead of gnome-panel
  154. * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 2.26.0-8
  155. - rebuilt with mono-2.8
  156. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 2.26.0-7
  157. - rebuilt with rpm-4.8.1 for pkg-config
  158. * Mon May 31 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.26.0-6
  159. - import Patch1 from fedora package to fix target lib number
  160. - add BuildRequires: gnome-desktop-devel libgnomeprintui-devel
  161. - drop BuildRequires: nautilus-cd-burner and nautilusburn-sharp
  162. sub package (Obsoletes by brasero)
  163. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.26.0-5
  164. - rebuilt with new envrionment
  165. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.26.0-4
  166. - rebuilt with latest rpm to update mono-dependencies
  167. * Fri May 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-3
  168. - BuildRequires: gtksourceview2-devel instead of gtksourceview-devel
  169. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.26.0-2
  170. - add sub packages gnome-panel-sharp and gnome-print-sharp
  171. - add *glue-2.so to each sub packages
  172. - add Packager tag
  173. * Sat Apr 25 2009 Shu KONNO <owa@bg.wakwak.com> 2.26.0-1
  174. - updated gnome-desktop-sharp to 2.26.0
  175. * Sun Apr 19 2009 Shu KONNO <owa@bg.wakwak.com> 2.20.1-2
  176. - changed url
  177. - changed sub packages Group to Development/Libraries
  178. - changed monodoc-core to monodoc
  179. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.20.1-1
  180. - initial build for VineSeed
  181. - applied vine versioning policy
  182. - added japanese summary
  183. - spec in utf-8
  184. * Wed Apr 9 2008 wberrier@novell.com
  185. - Remove gnome-desktop-sharp2-complete package
  186. - Rename gnomedesktop2-sharp to gnome-desktop-sharp2 so we have a
  187. sub-package named the same as the .spec file
  188. - Don't call autoreconf since we don't have any patches
  189. * Fri Jan 11 2008 mkestner@novell.com
  190. - Initial package of gnome-desktop-sharp2