compiz-plugins-vl.spec 7.6 KB

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