libpeas-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. Name: libpeas
  2. Version: 1.4.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.4/%{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/libgjsloader.so
  65. %{_libdir}/libpeas-1.0/loaders/libpythonloader.so
  66. %{_libdir}/libpeas-1.0/loaders/libseedloader.so
  67. %{_libdir}/girepository-1.0/*.typelib
  68. %{_datadir}/icons/hicolor/*/actions/libpeas-plugin.*
  69. %files devel
  70. %defattr(-,root,root,-)
  71. %{_bindir}/peas-demo
  72. %{_includedir}/libpeas-1.0/
  73. %{_libdir}/peas-demo/
  74. %{_datadir}/gtk-doc/html/libpeas/
  75. %{_libdir}/libpeas*-1.0.so
  76. %{_datadir}/gir-1.0/*.gir
  77. %{_libdir}/pkgconfig/*.pc
  78. %changelog
  79. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  80. - new upstream release
  81. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
  82. - rebuild with python-2.7.2
  83. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  84. - new upstream release
  85. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-1
  86. - new upstream release
  87. - add BuildRequires: gjs-devel
  88. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.3-1
  89. - new upstream release
  90. - change BuildRequires: pygobject3-devel instead of pygobject-devel
  91. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  92. - initial build for Vine Linux
  93. * Mon Apr 4 2011 Christopher Aillon <caillon@redhat.com> 1.0.0-1
  94. - Update to 1.0.0
  95. * Sun Mar 27 2011 Bastien Nocera <bnocera@redhat.com> 0.9.0-1
  96. - Update to 0.9.0
  97. * Thu Mar 10 2011 Bastien Nocera <bnocera@redhat.com> 0.7.4-1
  98. - Update to 0.7.4
  99. * Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> 0.7.3-1
  100. - Update to 0.7.3
  101. - Drop unneeded dependencies
  102. * Mon Feb 21 2011 Bastien Nocera <bnocera@redhat.com> 0.7.2-1
  103. - Update to 0.7.2
  104. * Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-7
  105. - Rebuild
  106. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-6
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  108. * Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 0.7.1-5
  109. - Rebuild against newer gtk
  110. * Fri Jan 28 2011 Bastien Nocera <bnocera@redhat.com> 0.7.1-4
  111. - Update to real 0.7.1 release
  112. * Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.1-3.gita2f98e
  113. - Rebuild against newer gtk
  114. * Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.7.1-2.gita2f98e
  115. - Rebuild against newer gtk
  116. * Thu Nov 11 2010 Dan Williams <dcbw@redhat.com> - 0.7.1-1.gita2f98e
  117. - Update to 0.7.1
  118. - Fix some crashes with missing introspection data
  119. * Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> 0.7.0-2
  120. - Rebuild against newer gtk3
  121. * Mon Oct 04 2010 Bastien Nocera <bnocera@redhat.com> 0.7.0-1
  122. - Update to 0.7.0
  123. * Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-2
  124. - Rebuild against newer gobject-introspection
  125. * Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.5-1
  126. - Update to 0.5.5
  127. * Thu Aug 5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.4-1
  128. - Update to 0.5.4
  129. * Tue Jul 27 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 0.5.3-2
  130. - Rebuild against python 2.7
  131. * Fri Jul 23 2010 Bastien Nocera <bnocera@redhat.com> 0.5.3-1
  132. - Update to 0.5.3
  133. * Thu Jul 22 2010 Bastien Nocera <bnocera@redhat.com> 0.5.2-5
  134. - Fix post scriplet (#615021)
  135. * Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.5.2-4
  136. - Rebuild with new gobject-introspection
  137. * Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-3
  138. - Rebuild
  139. * Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 0.5.2-2
  140. - Rebuild against new gobject-introspection
  141. * Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> 0.5.2-1
  142. - Update to 0.5.2
  143. * Thu Jul 8 2010 Matthias Clasen <mclasen@redhat.com> 0.5.1-2
  144. - Rebuild
  145. * Mon Jun 28 2010 Bastien Nocera <bnocera@redhat.com> 0.5.1-1
  146. - Update to 0.5.1
  147. * Thu Jun 24 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-4
  148. - Document rpath work-arounds disabling, and remove verbose build
  149. * Fri Jun 18 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-3
  150. - Fix a number of comments from review request
  151. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-2
  152. - Call ldconfig when installing the package
  153. * Mon Jun 14 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
  154. - First package