compiz-plugins-extra-vl.spec 5.4 KB

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