libpeas-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. Name: libpeas
  2. Version: 1.16.0
  3. Release: 2%{?_dist_release}
  4. Summary: Plug-ins implementation convenience library
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://ftp.acc.umu.se/pub/GNOME/sources/libpeas/
  8. Source0: http://ftp.acc.umu.se/pub/GNOME/sources/%{name}/1.16/%{name}-%{version}.tar.xz
  9. BuildRequires: gtk3-devel >= 2.99.3
  10. BuildRequires: pygobject3-devel
  11. BuildRequires: python-devel
  12. BuildRequires: python3-devel
  13. BuildRequires: gjs-devel
  14. #BuildRequires: seed-devel
  15. BuildRequires: gobject-introspection-devel
  16. BuildRequires: intltool
  17. BuildRequires: libtool
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. libpeas is a convenience library making adding plug-ins support
  23. to GTK+ and glib-based applications.
  24. %package devel
  25. Summary: Development files for libpeas
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: gobject-introspection-devel
  29. %description devel
  30. This package contains development libraries and header files
  31. that are needed to write applications that use libpeas.
  32. %package docs
  33. Summary: Documentation for %{name}
  34. Summary(ja): %{name} 用のドキュメント
  35. Group: Documentation
  36. BuildArch: noarch
  37. %description docs
  38. This package contains documentation for %{name}.
  39. %package python3
  40. Summary: Python3 loader for %{name}
  41. Group: System Environment/Libraries
  42. Requires: %{name} = %{version}-%{release}
  43. Requires: python3
  44. %description python3
  45. %{summary}
  46. %prep
  47. %setup -q
  48. %build
  49. %configure \
  50. --disable-static
  51. # FIXME rpath disabling is disabled because it breaks the creation of the GIR files
  52. # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
  53. #sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  54. #sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  55. make %{?_smp_mflags}
  56. %install
  57. make install DESTDIR=$RPM_BUILD_ROOT
  58. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  59. %find_lang libpeas
  60. %post
  61. /sbin/ldconfig
  62. touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
  63. %postun
  64. /sbin/ldconfig
  65. if [ $1 -eq 0 ]; then
  66. touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
  67. gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
  68. fi
  69. %posttrans
  70. gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
  71. %files -f libpeas.lang
  72. %defattr(-,root,root,-)
  73. %doc AUTHORS
  74. %{_libdir}/libpeas*-1.0.so.*
  75. %dir %{_libdir}/libpeas-1.0/
  76. %dir %{_libdir}/libpeas-1.0/loaders
  77. %{_libdir}/libpeas-1.0/loaders/libpythonloader.so
  78. %{_libdir}/girepository-1.0/*.typelib
  79. %{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*
  80. %files devel
  81. %defattr(-,root,root,-)
  82. %{_bindir}/peas-demo
  83. %{_includedir}/libpeas-1.0/
  84. %{_libdir}/peas-demo/
  85. %{_libdir}/libpeas*-1.0.so
  86. %{_datadir}/gir-1.0/*.gir
  87. %{_libdir}/pkgconfig/*.pc
  88. %files docs
  89. %defattr(-,root,root,-)
  90. %{_datadir}/gtk-doc/html/libpeas/
  91. %files python3
  92. %defattr(-,root,root,-)
  93. %{_libdir}/libpeas-1.0/loaders/libpython3loader.so
  94. %changelog
  95. * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-2
  96. - rebuild with python3-3.5.2
  97. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-1
  98. - new upstream release
  99. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-2
  100. - remove *.la files
  101. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  102. - new upstream release
  103. - add BuildRequires: python3-devel
  104. - create %%{name}-docs,python3 subpackages
  105. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  106. - new upstream release
  107. * Thu Aug 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  108. - new upstream release
  109. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  110. - new upstream release
  111. - remove Patch0 (libpeas-1.8.1-gjs-1.36.x.patch)
  112. - remove Patch1 (libpeas-1.8.1-gjs-plugin-loader.patch)
  113. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-2
  114. - rebuild with VineSeed environment
  115. - add Patch0 (libpeas-1.8.1-gjs-1.36.x.patch)
  116. - add Patch1 (libpeas-1.8.1-gjs-plugin-loader.patch)
  117. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  118. - new upstream release
  119. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  120. - new upstream release
  121. * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  122. - new upstream release
  123. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  124. - new upstream release
  125. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  126. - new upstream release
  127. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  128. - new upstream release
  129. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
  130. - rebuild with python-2.7.2
  131. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  132. - new upstream release
  133. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-1
  134. - new upstream release
  135. - add BuildRequires: gjs-devel
  136. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.3-1
  137. - new upstream release
  138. - change BuildRequires: pygobject3-devel instead of pygobject-devel
  139. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  140. - initial build for Vine Linux
  141. * Mon Apr 4 2011 Christopher Aillon <caillon@redhat.com> 1.0.0-1
  142. - Update to 1.0.0
  143. * Sun Mar 27 2011 Bastien Nocera <bnocera@redhat.com> 0.9.0-1
  144. - Update to 0.9.0
  145. * Thu Mar 10 2011 Bastien Nocera <bnocera@redhat.com> 0.7.4-1
  146. - Update to 0.7.4
  147. * Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> 0.7.3-1
  148. - Update to 0.7.3
  149. - Drop unneeded dependencies
  150. * Mon Feb 21 2011 Bastien Nocera <bnocera@redhat.com> 0.7.2-1
  151. - Update to 0.7.2
  152. * Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-7
  153. - Rebuild
  154. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-6
  155. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  156. * Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-5
  157. - Rebuild against newer gtk
  158. * Fri Jan 28 2011 Bastien Nocera <bnocera@redhat.com> 0.7.1-4
  159. - Update to real 0.7.1 release
  160. * Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.1-3.gita2f98e
  161. - Rebuild against newer gtk
  162. * Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.7.1-2.gita2f98e
  163. - Rebuild against newer gtk
  164. * Thu Nov 11 2010 Dan Williams <dcbw@redhat.com> - 0.7.1-1.gita2f98e
  165. - Update to 0.7.1
  166. - Fix some crashes with missing introspection data
  167. * Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> 0.7.0-2
  168. - Rebuild against newer gtk3
  169. * Mon Oct 04 2010 Bastien Nocera <bnocera@redhat.com> 0.7.0-1
  170. - Update to 0.7.0
  171. * Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-2
  172. - Rebuild against newer gobject-introspection
  173. * Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-1
  174. - Update to 0.5.5
  175. * Thu Aug 5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.4-1
  176. - Update to 0.5.4
  177. * Tue Jul 27 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 0.5.3-2
  178. - Rebuild against python 2.7
  179. * Fri Jul 23 2010 Bastien Nocera <bnocera@redhat.com> 0.5.3-1
  180. - Update to 0.5.3
  181. * Thu Jul 22 2010 Bastien Nocera <bnocera@redhat.com> 0.5.2-5
  182. - Fix post scriplet (#615021)
  183. * Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.5.2-4
  184. - Rebuild with new gobject-introspection
  185. * Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-3
  186. - Rebuild
  187. * Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 0.5.2-2
  188. - Rebuild against new gobject-introspection
  189. * Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-1
  190. - Update to 0.5.2
  191. * Thu Jul 8 2010 Matthias Clasen <mclasen@redhat.com> 0.5.1-2
  192. - Rebuild
  193. * Mon Jun 28 2010 Bastien Nocera <bnocera@redhat.com> 0.5.1-1
  194. - Update to 0.5.1
  195. * Thu Jun 24 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-4
  196. - Document rpath work-arounds disabling, and remove verbose build
  197. * Fri Jun 18 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-3
  198. - Fix a number of comments from review request
  199. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-2
  200. - Call ldconfig when installing the package
  201. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
  202. - First package