compiz-plugins-vl.spec 7.7 KB

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