compiz-plugins-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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.2
  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 >= %{version}
  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. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  108. - update to 0.8.2
  109. - compiz-fusion is merged in compiz
  110. - rename compiz-fusion to compiz-plugins
  111. - add Obsoletes: compiz-fusion < 0.8.0
  112. - add Provides: compiz-fusion = %%{version}
  113. - add Patch3 from upstream
  114. * Fri May 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-3
  115. - fix pre/post scripts for speeding up gconf schema installation
  116. * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2
  117. - add Patch1: fix winrules plugin from upstream
  118. - add Patch2: fix broken drawing in some windows
  119. - add Patch3: fix CVS-2008-6514
  120. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  121. - new upstream release
  122. * Wed Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  123. - new upstream release
  124. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  125. - new upstream release
  126. * Sat May 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  127. - initial build for Vine Linux
  128. * Tue Mar 25 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-2
  129. - Fix scriptlet failure
  130. * Mon Mar 24 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-1
  131. - Update to 0.7.2
  132. * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-14
  133. - Rebuild for gcc-4.3
  134. * Sun Jan 06 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-13
  135. - Readded accidently dropped memoryleak fix
  136. * Thu Jan 03 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-12
  137. - Fix build with gcc43
  138. * Sun Dec 30 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-11
  139. - Fix stupid typo in the patch
  140. * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-10
  141. - Plug small memory leak
  142. * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-9
  143. - Don't break legacy apps that want to unfullscreen themselves
  144. * Tue Dec 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-8
  145. - Fix fullscreen for flash windows when legacy fullscreen is
  146. enabled.
  147. * Sat Dec 01 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-7
  148. - Adding the patch isn't enough .. we have to apply it ;)
  149. * Sat Dec 01 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-6
  150. - Backport upstream openoffice menu fix
  151. * Sun Oct 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-5
  152. - Rediff patch
  153. * Sun Oct 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-4
  154. - Fix previous patch
  155. * Sat Oct 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-3
  156. - Apply patch from upstream to fix RH #354601
  157. * Tue Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-2
  158. - Obsolete beryl-plugins
  159. * Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-1
  160. - Update to 0.6.0
  161. * Fri Oct 12 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-10.09b700
  162. - Fix BuildRequries to build missing plugins (RH #327411)
  163. - Mock isn't broken but the Buildrequires ... remove hack
  164. * Wed Oct 10 2007 Warren Togami <wtogami@redhat.com> 0.5.2-9.09b700
  165. - >= instead of = to allow compiz upgrade flexibility
  166. * Sun Sep 23 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-8.09b700
  167. - Fix changelog date
  168. * Sat Sep 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-7.09b700
  169. - Update to 0.6 branch (builds against current compiz)
  170. * Wed Sep 19 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-6
  171. - Add animation to plugin list
  172. * Sat Sep 15 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-5
  173. - Fix gconf schemas install (RH #53692)
  174. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-4
  175. - Remove redundant buildrequires
  176. * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-3
  177. - BuildRequire gawk
  178. * Wed Aug 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-2
  179. - Fix gconf schemas (un)installation
  180. * Sat Aug 18 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-1
  181. - Initial build