compiz-plugins-vl.spec 7.4 KB

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