libpeas-vl.spec 7.6 KB

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