libpeas-vl.spec 6.8 KB

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