libpeas-vl.spec 6.4 KB

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