gnome-desktop-sharp2-vl.spec 6.2 KB

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