compiz-plugins-extra-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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.2
  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 >= %{version}
  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. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  85. - update to 0.8.2
  86. - compiz-fusion is merged in compiz
  87. - rename compiz-fusion-extras to compiz-plugins-extra
  88. - add Obsoletes: compiz-fusion-extras < 0.8.0
  89. * Sat May 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2
  90. - fix pre/post scripts for speeding up gconf schema installation
  91. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  92. - new upstream release
  93. * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  94. - new upstream release
  95. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  96. - new upstream release
  97. * Wed May 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  98. - initial build for Vine Linux
  99. * Tue Mar 25 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-2
  100. - Fix scriptlet failure
  101. * Mon Mar 24 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-1
  102. - Update to 0.7.2
  103. * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-3
  104. - Rebuild for gcc-4.3
  105. * Fri Jan 04 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-2
  106. - Fix build with gcc43
  107. * Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-1
  108. - Update to 0.6.0
  109. * Fri Oct 12 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-9.6871d0
  110. - Rebuild against new compiz-fusion to build missing plugins (RH #327441)
  111. * Wed Oct 10 2007 Warren Togami <wtogami@redhat.com> 0.5.2-8.6871d0
  112. - >= instead of = to allow compiz upgrade flexibility
  113. * Sun Sep 23 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-7.6871d0
  114. - GConf schemas got renamed .. fix scripts to install them
  115. - Fix changelog date
  116. * Sat Sep 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-6.6871d0
  117. - Update to 0.6 branch (builds against current compiz)
  118. * Sat Sep 15 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-5
  119. - Fix gconf schemas install (RH #53692)
  120. - Some build fixes
  121. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-4
  122. - Remove redundant buildrequires
  123. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-3
  124. - BuildRequire gawk
  125. * Wed Aug 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-2
  126. - Fix gconf schemas (un)installation
  127. * Sat Aug 18 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-1
  128. - Initial build