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 |
---|
4 | Version: 0.8.8 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: Collection of Compiz plugins |
---|
7 | Summary(ja): Compiz プラグイン集 |
---|
8 | Group: User Interface/Desktops |
---|
9 | License: GPLv2+ |
---|
10 | URL: http://compiz.org |
---|
11 | |
---|
12 | Source0: http://releases.compiz.org/0.8.8/%{name}-main-%{version}.tar.bz2 |
---|
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} |
---|
25 | BuildRequires: compiz-bcop >= 0.8.2 |
---|
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 |
---|
34 | BuildRequires: protobuf-devel |
---|
35 | BuildRequires: gawk |
---|
36 | Requires: compiz |
---|
37 | Obsoletes: beryl-plugins |
---|
38 | Obsoletes: compiz-fusion < 0.8.0 |
---|
39 | Provides: compiz-fusion = %{version} |
---|
40 | |
---|
41 | Vendor: Project Vine |
---|
42 | Distribution: Vine Linux |
---|
43 | |
---|
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} |
---|
77 | ## %patch2 -p1 -b .xglx |
---|
78 | ## %patch3 -p1 -b .fix-init-var |
---|
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 |
---|
142 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-2 |
---|
143 | - rebuild with VineSeed environment |
---|
144 | |
---|
145 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-1 |
---|
146 | - new upstream release |
---|
147 | - add BuildRequires: protobuf-devel |
---|
148 | |
---|
149 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-2 |
---|
150 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
151 | |
---|
152 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-1 |
---|
153 | - new upstream release |
---|
154 | - drop Patch2, Patch3 |
---|
155 | |
---|
156 | * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1 |
---|
157 | - update to 0.8.2 |
---|
158 | - compiz-fusion is merged in compiz |
---|
159 | - rename compiz-fusion to compiz-plugins |
---|
160 | - add Obsoletes: compiz-fusion < 0.8.0 |
---|
161 | - add Provides: compiz-fusion = %%{version} |
---|
162 | - add Patch3 from upstream |
---|
163 | |
---|
164 | * Fri May 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-3 |
---|
165 | - fix pre/post scripts for speeding up gconf schema installation |
---|
166 | |
---|
167 | * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2 |
---|
168 | - add Patch1: fix winrules plugin from upstream |
---|
169 | - add Patch2: fix broken drawing in some windows |
---|
170 | - add Patch3: fix CVS-2008-6514 |
---|
171 | |
---|
172 | * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1 |
---|
173 | - new upstream release |
---|
174 | |
---|
175 | * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Sat May 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1 |
---|
182 | - initial build for Vine Linux |
---|
183 | |
---|
184 | * Tue Mar 25 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-2 |
---|
185 | - Fix scriptlet failure |
---|
186 | |
---|
187 | * Mon Mar 24 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-1 |
---|
188 | - Update to 0.7.2 |
---|
189 | |
---|
190 | * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-14 |
---|
191 | - Rebuild for gcc-4.3 |
---|
192 | |
---|
193 | * Sun Jan 06 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-13 |
---|
194 | - Readded accidently dropped memoryleak fix |
---|
195 | |
---|
196 | * Thu Jan 03 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-12 |
---|
197 | - Fix build with gcc43 |
---|
198 | |
---|
199 | * Sun Dec 30 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-11 |
---|
200 | - Fix stupid typo in the patch |
---|
201 | |
---|
202 | * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-10 |
---|
203 | - Plug small memory leak |
---|
204 | |
---|
205 | * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-9 |
---|
206 | - Don't break legacy apps that want to unfullscreen themselves |
---|
207 | |
---|
208 | * Tue Dec 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-8 |
---|
209 | - Fix fullscreen for flash windows when legacy fullscreen is |
---|
210 | enabled. |
---|
211 | |
---|
212 | * Sat Dec 01 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-7 |
---|
213 | - Adding the patch isn't enough .. we have to apply it ;) |
---|
214 | |
---|
215 | * Sat Dec 01 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-6 |
---|
216 | - Backport upstream openoffice menu fix |
---|
217 | |
---|
218 | * Sun Oct 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-5 |
---|
219 | - Rediff patch |
---|
220 | |
---|
221 | * Sun Oct 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-4 |
---|
222 | - Fix previous patch |
---|
223 | |
---|
224 | * Sat Oct 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-3 |
---|
225 | - Apply patch from upstream to fix RH #354601 |
---|
226 | |
---|
227 | * Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-2 |
---|
228 | - Obsolete beryl-plugins |
---|
229 | |
---|
230 | * Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-1 |
---|
231 | - Update to 0.6.0 |
---|
232 | |
---|
233 | * Fri Oct 12 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-10.09b700 |
---|
234 | - Fix BuildRequries to build missing plugins (RH #327411) |
---|
235 | - Mock isn't broken but the Buildrequires ... remove hack |
---|
236 | |
---|
237 | * Wed Oct 10 2007 Warren Togami <wtogami@redhat.com> 0.5.2-9.09b700 |
---|
238 | - >= instead of = to allow compiz upgrade flexibility |
---|
239 | |
---|
240 | * Sun Sep 23 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-8.09b700 |
---|
241 | - Fix changelog date |
---|
242 | |
---|
243 | * Sat Sep 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-7.09b700 |
---|
244 | - Update to 0.6 branch (builds against current compiz) |
---|
245 | |
---|
246 | * Wed Sep 19 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-6 |
---|
247 | - Add animation to plugin list |
---|
248 | |
---|
249 | * Sat Sep 15 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-5 |
---|
250 | - Fix gconf schemas install (RH #53692) |
---|
251 | |
---|
252 | * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-4 |
---|
253 | - Remove redundant buildrequires |
---|
254 | |
---|
255 | * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-3 |
---|
256 | - BuildRequire gawk |
---|
257 | |
---|
258 | * Wed Aug 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-2 |
---|
259 | - Fix gconf schemas (un)installation |
---|
260 | |
---|
261 | * Sat Aug 18 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-1 |
---|
262 | - Initial build |
---|
263 | |
---|