libpeas-vl.spec 6.0 KB

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