compiz-plugins-extra-vl.spec 5.2 KB

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