compiz-plugins-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. %define plugins animation colorfilter expo ezoom jpeg mag mousepoll neg opacify put resizeinfo ring scaleaddon session shift snap staticswitcher text thumbnail vpswitch wall winrules workarounds
  2. Name: compiz-plugins
  3. Version: 0.8.6
  4. Release: 1%{?_dist_release}
  5. Summary: Collection of 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}-main-%{version}.tar.bz2
  11. # Upstream commit 46960f12a9d213e5f0e841557e2ed2f7ea18cc79
  12. Patch2: compiz-0.7.8-x_to_glx_workaround.patch
  13. # Upstream commit 319c3c40ebd0b37c8132ecf60d02154e94299832
  14. Patch3: compiz-plugin-0.8.2-fix-initialize.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. # libdrm is not available on these arches
  17. ExcludeArch: s390 s390x ppc64
  18. BuildRequires: compiz-devel >= %{version}
  19. BuildRequires: compiz-bcop >= 0.8.2
  20. BuildRequires: gettext
  21. BuildRequires: cairo-devel
  22. BuildRequires: pango-devel
  23. BuildRequires: perl(XML::Parser)
  24. BuildRequires: mesa-libGLU-devel
  25. BuildRequires: libXrender-devel
  26. BuildRequires: GConf2
  27. BuildRequires: libjpeg-devel
  28. BuildRequires: gawk
  29. Requires: compiz
  30. Obsoletes: beryl-plugins
  31. Obsoletes: compiz-fusion < 0.8.0
  32. Provides: compiz-fusion = %{version}
  33. %description
  34. This package contains Compiz plugins (a.k.a. CompizFusion)
  35. %package gnome
  36. Summary: Compiz gnome configuration
  37. Summary(ja): Compiz gnome configuration
  38. Group: User Interface/Desktops
  39. Requires: %{name} = %{version}
  40. Requires(pre): GConf2
  41. Requires(post): GConf2
  42. Requires(preun): GConf2
  43. Obsoletes: compiz-fusion-gnome < 0.8.0
  44. %description gnome
  45. This package contains the GNOME configuration for Compiz
  46. %package devel
  47. Group: Development/Libraries
  48. Summary: Development files for Compiz
  49. Summary(ja): Development files for Compiz
  50. Requires: compiz-devel
  51. Requires: %{name} = %{version}
  52. Requires: cairo-devel
  53. Requires: pango-devel
  54. Obsoletes: compiz-fusion-devel < 0.8.0
  55. %description devel
  56. This package contain development files required for developing other plugins
  57. %prep
  58. %setup -q -n %{name}-main-%{version}
  59. ## %patch2 -p1 -b .xglx
  60. ## %patch3 -p1 -b .fix-init-var
  61. %build
  62. %configure --enable-schemas
  63. make %{?_smp_mflags}
  64. %install
  65. rm -rf $RPM_BUILD_ROOT
  66. make install DESTDIR=$RPM_BUILD_ROOT
  67. rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
  68. rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.a
  69. %find_lang %{name}-main
  70. %post gnome
  71. export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
  72. for p in in %{plugins}; do
  73. echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \
  74. | xargs %{_bindir}/gconftool-2 --makefile-install-rule >& /dev/null ||:
  75. %pre gnome
  76. if [ "$1" -gt 1 ]; then
  77. export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
  78. for p in in %{plugins}; do
  79. echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \
  80. | xargs %{_bindir}/gconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  81. fi
  82. %preun gnome
  83. if [ "$1" -eq 0 ]; then
  84. export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
  85. for p in in %{plugins}; do
  86. echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \
  87. | xargs %{_bindir}/gconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  88. fi
  89. %clean
  90. rm -rf $RPM_BUILD_ROOT
  91. %files -f %{name}-main.lang
  92. %defattr(-,root,root,-)
  93. %doc COPYING AUTHORS
  94. %{_libdir}/compiz/*.so
  95. %{_datadir}/compiz/*.xml
  96. %{_datadir}/compiz/filters/
  97. %{_datadir}/compiz/Oxygen/
  98. %{_datadir}/compiz/Gnome/
  99. %files gnome
  100. %defattr(-,root,root,-)
  101. %{_sysconfdir}/gconf/schemas/*.schemas
  102. %files devel
  103. %defattr(-,root,root,-)
  104. %{_includedir}/compiz/
  105. %{_libdir}/pkgconfig/compiz-*
  106. %changelog
  107. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-1
  108. - new upstream release
  109. - drop Patch2, Patch3
  110. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  111. - update to 0.8.2
  112. - compiz-fusion is merged in compiz
  113. - rename compiz-fusion to compiz-plugins
  114. - add Obsoletes: compiz-fusion < 0.8.0
  115. - add Provides: compiz-fusion = %%{version}
  116. - add Patch3 from upstream
  117. * Fri May 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-3
  118. - fix pre/post scripts for speeding up gconf schema installation
  119. * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2
  120. - add Patch1: fix winrules plugin from upstream
  121. - add Patch2: fix broken drawing in some windows
  122. - add Patch3: fix CVS-2008-6514
  123. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  124. - new upstream release
  125. * Wed Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  126. - new upstream release
  127. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  128. - new upstream release
  129. * Sat May 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  130. - initial build for Vine Linux
  131. * Tue Mar 25 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-2
  132. - Fix scriptlet failure
  133. * Mon Mar 24 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-1
  134. - Update to 0.7.2
  135. * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-14
  136. - Rebuild for gcc-4.3
  137. * Sun Jan 06 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-13
  138. - Readded accidently dropped memoryleak fix
  139. * Thu Jan 03 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-12
  140. - Fix build with gcc43
  141. * Sun Dec 30 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-11
  142. - Fix stupid typo in the patch
  143. * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-10
  144. - Plug small memory leak
  145. * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-9
  146. - Don't break legacy apps that want to unfullscreen themselves
  147. * Tue Dec 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-8
  148. - Fix fullscreen for flash windows when legacy fullscreen is
  149. enabled.
  150. * Sat Dec 01 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-7
  151. - Adding the patch isn't enough .. we have to apply it ;)
  152. * Sat Dec 01 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-6
  153. - Backport upstream openoffice menu fix
  154. * Sun Oct 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-5
  155. - Rediff patch
  156. * Sun Oct 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-4
  157. - Fix previous patch
  158. * Sat Oct 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-3
  159. - Apply patch from upstream to fix RH #354601
  160. * Tue Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-2
  161. - Obsolete beryl-plugins
  162. * Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-1
  163. - Update to 0.6.0
  164. * Fri Oct 12 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-10.09b700
  165. - Fix BuildRequries to build missing plugins (RH #327411)
  166. - Mock isn't broken but the Buildrequires ... remove hack
  167. * Wed Oct 10 2007 Warren Togami <wtogami@redhat.com> 0.5.2-9.09b700
  168. - >= instead of = to allow compiz upgrade flexibility
  169. * Sun Sep 23 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-8.09b700
  170. - Fix changelog date
  171. * Sat Sep 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-7.09b700
  172. - Update to 0.6 branch (builds against current compiz)
  173. * Wed Sep 19 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-6
  174. - Add animation to plugin list
  175. * Sat Sep 15 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-5
  176. - Fix gconf schemas install (RH #53692)
  177. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-4
  178. - Remove redundant buildrequires
  179. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-3
  180. - BuildRequire gawk
  181. * Wed Aug 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-2
  182. - Fix gconf schemas (un)installation
  183. * Sat Aug 18 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-1
  184. - Initial build