libpeas-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. Name: libpeas
  2. Version: 1.16.0
  3. Release: 1%{?_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. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-1
  96. - new upstream release
  97. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-2
  98. - remove *.la files
  99. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  100. - new upstream release
  101. - add BuildRequires: python3-devel
  102. - create %%{name}-docs,python3 subpackages
  103. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  104. - new upstream release
  105. * Thu Aug 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  106. - new upstream release
  107. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  108. - new upstream release
  109. - remove Patch0 (libpeas-1.8.1-gjs-1.36.x.patch)
  110. - remove Patch1 (libpeas-1.8.1-gjs-plugin-loader.patch)
  111. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-2
  112. - rebuild with VineSeed environment
  113. - add Patch0 (libpeas-1.8.1-gjs-1.36.x.patch)
  114. - add Patch1 (libpeas-1.8.1-gjs-plugin-loader.patch)
  115. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  116. - new upstream release
  117. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  118. - new upstream release
  119. * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  120. - new upstream release
  121. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  122. - new upstream release
  123. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  124. - new upstream release
  125. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  126. - new upstream release
  127. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
  128. - rebuild with python-2.7.2
  129. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  130. - new upstream release
  131. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-1
  132. - new upstream release
  133. - add BuildRequires: gjs-devel
  134. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.3-1
  135. - new upstream release
  136. - change BuildRequires: pygobject3-devel instead of pygobject-devel
  137. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  138. - initial build for Vine Linux
  139. * Mon Apr 4 2011 Christopher Aillon <caillon@redhat.com> 1.0.0-1
  140. - Update to 1.0.0
  141. * Sun Mar 27 2011 Bastien Nocera <bnocera@redhat.com> 0.9.0-1
  142. - Update to 0.9.0
  143. * Thu Mar 10 2011 Bastien Nocera <bnocera@redhat.com> 0.7.4-1
  144. - Update to 0.7.4
  145. * Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> 0.7.3-1
  146. - Update to 0.7.3
  147. - Drop unneeded dependencies
  148. * Mon Feb 21 2011 Bastien Nocera <bnocera@redhat.com> 0.7.2-1
  149. - Update to 0.7.2
  150. * Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-7
  151. - Rebuild
  152. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-6
  153. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  154. * Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-5
  155. - Rebuild against newer gtk
  156. * Fri Jan 28 2011 Bastien Nocera <bnocera@redhat.com> 0.7.1-4
  157. - Update to real 0.7.1 release
  158. * Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.1-3.gita2f98e
  159. - Rebuild against newer gtk
  160. * Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.7.1-2.gita2f98e
  161. - Rebuild against newer gtk
  162. * Thu Nov 11 2010 Dan Williams <dcbw@redhat.com> - 0.7.1-1.gita2f98e
  163. - Update to 0.7.1
  164. - Fix some crashes with missing introspection data
  165. * Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> 0.7.0-2
  166. - Rebuild against newer gtk3
  167. * Mon Oct 04 2010 Bastien Nocera <bnocera@redhat.com> 0.7.0-1
  168. - Update to 0.7.0
  169. * Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-2
  170. - Rebuild against newer gobject-introspection
  171. * Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-1
  172. - Update to 0.5.5
  173. * Thu Aug 5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.4-1
  174. - Update to 0.5.4
  175. * Tue Jul 27 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 0.5.3-2
  176. - Rebuild against python 2.7
  177. * Fri Jul 23 2010 Bastien Nocera <bnocera@redhat.com> 0.5.3-1
  178. - Update to 0.5.3
  179. * Thu Jul 22 2010 Bastien Nocera <bnocera@redhat.com> 0.5.2-5
  180. - Fix post scriplet (#615021)
  181. * Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.5.2-4
  182. - Rebuild with new gobject-introspection
  183. * Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-3
  184. - Rebuild
  185. * Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 0.5.2-2
  186. - Rebuild against new gobject-introspection
  187. * Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-1
  188. - Update to 0.5.2
  189. * Thu Jul 8 2010 Matthias Clasen <mclasen@redhat.com> 0.5.1-2
  190. - Rebuild
  191. * Mon Jun 28 2010 Bastien Nocera <bnocera@redhat.com> 0.5.1-1
  192. - Update to 0.5.1
  193. * Thu Jun 24 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-4
  194. - Document rpath work-arounds disabling, and remove verbose build
  195. * Fri Jun 18 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-3
  196. - Fix a number of comments from review request
  197. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-2
  198. - Call ldconfig when installing the package
  199. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
  200. - First package