gnome-desktop-sharp2-vl.spec 8.1 KB

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