compiz-plugins-extra-vl.spec 5.1 KB

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