libpeas-vl.spec 5.6 KB

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