source: projects/specs/trunk/c/compiz-plugins/compiz-plugins-vl.spec @ 805

Revision 805, 7.2 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file of gnome-2.30

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