libpeas-vl.spec 6.2 KB

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