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