libpeas-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. Name: libpeas
  2. Version: 1.14.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.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. rm $RPM_BUILD_ROOT/%{_libdir}/lib*.la \
  59. $RPM_BUILD_ROOT/%{_libdir}/libpeas-1.0/loaders/lib*.la
  60. %find_lang libpeas
  61. %post
  62. /sbin/ldconfig
  63. touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
  64. %postun
  65. /sbin/ldconfig
  66. if [ $1 -eq 0 ]; then
  67. touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
  68. gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
  69. fi
  70. %posttrans
  71. gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
  72. %files -f libpeas.lang
  73. %defattr(-,root,root,-)
  74. %doc AUTHORS
  75. %{_libdir}/libpeas*-1.0.so.*
  76. %dir %{_libdir}/libpeas-1.0/
  77. %dir %{_libdir}/libpeas-1.0/loaders
  78. %{_libdir}/libpeas-1.0/loaders/libpythonloader.so
  79. %{_libdir}/girepository-1.0/*.typelib
  80. %{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*
  81. %files devel
  82. %defattr(-,root,root,-)
  83. %{_bindir}/peas-demo
  84. %{_includedir}/libpeas-1.0/
  85. %{_libdir}/peas-demo/
  86. %{_libdir}/libpeas*-1.0.so
  87. %{_datadir}/gir-1.0/*.gir
  88. %{_libdir}/pkgconfig/*.pc
  89. %files docs
  90. %defattr(-,root,root,-)
  91. %{_datadir}/gtk-doc/html/libpeas/
  92. %files python3
  93. %defattr(-,root,root,-)
  94. %{_libdir}/libpeas-1.0/loaders/libpython3loader.so
  95. %changelog
  96. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  97. - new upstream release
  98. - add BuildRequires: python3-devel
  99. - create %%{name}-docs,python3 subpackages
  100. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  101. - new upstream release
  102. * Thu Aug 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  103. - new upstream release
  104. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  105. - new upstream release
  106. - remove Patch0 (libpeas-1.8.1-gjs-1.36.x.patch)
  107. - remove Patch1 (libpeas-1.8.1-gjs-plugin-loader.patch)
  108. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-2
  109. - rebuild with VineSeed environment
  110. - add Patch0 (libpeas-1.8.1-gjs-1.36.x.patch)
  111. - add Patch1 (libpeas-1.8.1-gjs-plugin-loader.patch)
  112. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  113. - new upstream release
  114. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  115. - new upstream release
  116. * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  117. - new upstream release
  118. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  119. - new upstream release
  120. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  121. - new upstream release
  122. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  123. - new upstream release
  124. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
  125. - rebuild with python-2.7.2
  126. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  127. - new upstream release
  128. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-1
  129. - new upstream release
  130. - add BuildRequires: gjs-devel
  131. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.3-1
  132. - new upstream release
  133. - change BuildRequires: pygobject3-devel instead of pygobject-devel
  134. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  135. - initial build for Vine Linux
  136. * Mon Apr 4 2011 Christopher Aillon <caillon@redhat.com> 1.0.0-1
  137. - Update to 1.0.0
  138. * Sun Mar 27 2011 Bastien Nocera <bnocera@redhat.com> 0.9.0-1
  139. - Update to 0.9.0
  140. * Thu Mar 10 2011 Bastien Nocera <bnocera@redhat.com> 0.7.4-1
  141. - Update to 0.7.4
  142. * Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> 0.7.3-1
  143. - Update to 0.7.3
  144. - Drop unneeded dependencies
  145. * Mon Feb 21 2011 Bastien Nocera <bnocera@redhat.com> 0.7.2-1
  146. - Update to 0.7.2
  147. * Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-7
  148. - Rebuild
  149. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-6
  150. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  151. * Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-5
  152. - Rebuild against newer gtk
  153. * Fri Jan 28 2011 Bastien Nocera <bnocera@redhat.com> 0.7.1-4
  154. - Update to real 0.7.1 release
  155. * Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.1-3.gita2f98e
  156. - Rebuild against newer gtk
  157. * Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.7.1-2.gita2f98e
  158. - Rebuild against newer gtk
  159. * Thu Nov 11 2010 Dan Williams <dcbw@redhat.com> - 0.7.1-1.gita2f98e
  160. - Update to 0.7.1
  161. - Fix some crashes with missing introspection data
  162. * Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> 0.7.0-2
  163. - Rebuild against newer gtk3
  164. * Mon Oct 04 2010 Bastien Nocera <bnocera@redhat.com> 0.7.0-1
  165. - Update to 0.7.0
  166. * Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-2
  167. - Rebuild against newer gobject-introspection
  168. * Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-1
  169. - Update to 0.5.5
  170. * Thu Aug 5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.4-1
  171. - Update to 0.5.4
  172. * Tue Jul 27 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 0.5.3-2
  173. - Rebuild against python 2.7
  174. * Fri Jul 23 2010 Bastien Nocera <bnocera@redhat.com> 0.5.3-1
  175. - Update to 0.5.3
  176. * Thu Jul 22 2010 Bastien Nocera <bnocera@redhat.com> 0.5.2-5
  177. - Fix post scriplet (#615021)
  178. * Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.5.2-4
  179. - Rebuild with new gobject-introspection
  180. * Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-3
  181. - Rebuild
  182. * Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 0.5.2-2
  183. - Rebuild against new gobject-introspection
  184. * Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-1
  185. - Update to 0.5.2
  186. * Thu Jul 8 2010 Matthias Clasen <mclasen@redhat.com> 0.5.1-2
  187. - Rebuild
  188. * Mon Jun 28 2010 Bastien Nocera <bnocera@redhat.com> 0.5.1-1
  189. - Update to 0.5.1
  190. * Thu Jun 24 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-4
  191. - Document rpath work-arounds disabling, and remove verbose build
  192. * Fri Jun 18 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-3
  193. - Fix a number of comments from review request
  194. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-2
  195. - Call ldconfig when installing the package
  196. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
  197. - First package