compiz-plugins-extra-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. %define plugins 3d addhelper animationaddon bench bicubic crashhandler cubeaddon extrawm fadedesktop firepaint gears group loginout maximumize mblur notification reflex scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget
  2. Name: compiz-plugins-extra
  3. Version: 0.8.8
  4. Release: 1%{?_dist_release}
  5. Summary: Additional Compiz plugins
  6. Summary(ja): Compiz 追加プラグイン集
  7. Group: User Interface/Desktops
  8. License: GPLv2+
  9. URL: http://compiz.org
  10. Source0: http://releases.compiz.org/0.8.8/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. # libdrm is not available on these arches
  13. ExcludeArch: s390 s390x ppc64
  14. BuildRequires: compiz-plugins-devel >= %{version}
  15. BuildRequires: compiz-bcop >= 0.8.2
  16. BuildRequires: perl(XML::Parser)
  17. BuildRequires: mesa-libGLU-devel
  18. BuildRequires: libXrender-devel
  19. BuildRequires: libjpeg-devel
  20. BuildRequires: GConf2
  21. BuildRequires: gawk
  22. BuildRequires: gettext
  23. Requires: compiz-plugins
  24. Obsoletes: compiz-fusion-extras < 0.8.0
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. %description
  28. This package contains additional plugins for Compiz
  29. %package gnome
  30. Summary: Compiz Plugins Extras gnome configuration
  31. Summary(ja): Compiz 追加 GNOME 設定
  32. Group: User Interface/Desktops
  33. Requires: %{name} = %{version}
  34. Requires(pre): GConf2
  35. Requires(post): GConf2
  36. Requires(preun): GConf2
  37. Obsoletes: compiz-fusion-extras-gnome < 0.8.0
  38. %description gnome
  39. This package contains the GNOME configuration for
  40. Compiz Plugins Extras
  41. %prep
  42. %setup -q
  43. %build
  44. %configure --enable-schemas
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT
  49. rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
  50. rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.a
  51. %find_lang %{name}
  52. %post gnome
  53. export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
  54. for p in in %{plugins}; do
  55. echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \
  56. | xargs %{_bindir}/gconftool-2 --makefile-install-rule >& /dev/null ||:
  57. %pre gnome
  58. if [ "$1" -gt 1 ]; then
  59. export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
  60. for p in in %{plugins}; do
  61. echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \
  62. | xargs %{_bindir}/gconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  63. fi
  64. %preun gnome
  65. if [ "$1" -eq 0 ]; then
  66. export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
  67. for p in in %{plugins}; do
  68. echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \
  69. | xargs %{_bindir}/gconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  70. fi
  71. %clean
  72. rm -rf $RPM_BUILD_ROOT
  73. %files -f %{name}.lang
  74. %defattr(-,root,root,-)
  75. %doc COPYING AUTHORS
  76. %{_libdir}/compiz/*.so
  77. %{_datadir}/compiz/*.xml
  78. %{_datadir}/compiz/*.png
  79. %{_includedir}/compiz/compiz-animationaddon.h
  80. %{_libdir}/pkgconfig/compiz-animationaddon.pc
  81. %files gnome
  82. %defattr(-,root,root,-)
  83. %{_sysconfdir}/gconf/schemas/*.schemas
  84. %changelog
  85. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-1
  86. - new upstream release
  87. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-2
  88. - rebuild with rpm-4.8.1 for pkg-config file
  89. * Sun Apr 11 2010 Yoji TOYODA <bsymaato@sea.plala.or.jp> 0.8.6-1
  90. - new upstream release
  91. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  92. - update to 0.8.2
  93. - compiz-fusion is merged in compiz
  94. - rename compiz-fusion-extras to compiz-plugins-extra
  95. - add Obsoletes: compiz-fusion-extras < 0.8.0
  96. * Sat May 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2
  97. - fix pre/post scripts for speeding up gconf schema installation
  98. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  99. - new upstream release
  100. * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  101. - new upstream release
  102. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  103. - new upstream release
  104. * Wed May 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  105. - initial build for Vine Linux
  106. * Tue Mar 25 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-2
  107. - Fix scriptlet failure
  108. * Mon Mar 24 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-1
  109. - Update to 0.7.2
  110. * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-3
  111. - Rebuild for gcc-4.3
  112. * Fri Jan 04 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-2
  113. - Fix build with gcc43
  114. * Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-1
  115. - Update to 0.6.0
  116. * Fri Oct 12 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-9.6871d0
  117. - Rebuild against new compiz-fusion to build missing plugins (RH #327441)
  118. * Wed Oct 10 2007 Warren Togami <wtogami@redhat.com> 0.5.2-8.6871d0
  119. - >= instead of = to allow compiz upgrade flexibility
  120. * Sun Sep 23 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-7.6871d0
  121. - GConf schemas got renamed .. fix scripts to install them
  122. - Fix changelog date
  123. * Sat Sep 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-6.6871d0
  124. - Update to 0.6 branch (builds against current compiz)
  125. * Sat Sep 15 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-5
  126. - Fix gconf schemas install (RH #53692)
  127. - Some build fixes
  128. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-4
  129. - Remove redundant buildrequires
  130. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-3
  131. - BuildRequire gawk
  132. * Wed Aug 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-2
  133. - Fix gconf schemas (un)installation
  134. * Sat Aug 18 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-1
  135. - Initial build