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

Revision 4616, 7.6 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

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.8
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.8/%{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: protobuf-devel
35BuildRequires: gawk
36Requires: compiz
37Obsoletes: beryl-plugins
38Obsoletes: compiz-fusion < 0.8.0
39Provides: compiz-fusion = %{version}
40
41Vendor: Project Vine
42Distribution: Vine Linux
43
44%description
45This package contains Compiz plugins (a.k.a. CompizFusion)
46
47
48%package gnome
49Summary: Compiz gnome configuration
50Summary(ja): Compiz gnome configuration
51Group: User Interface/Desktops
52Requires: %{name} = %{version}
53Requires(pre): GConf2
54Requires(post): GConf2
55Requires(preun): GConf2
56Obsoletes: compiz-fusion-gnome < 0.8.0
57
58%description gnome
59This package contains the GNOME configuration for Compiz
60
61%package devel
62Group: Development/Libraries
63Summary: Development files for Compiz
64Summary(ja): Development files for Compiz
65Requires: compiz-devel
66Requires: %{name} = %{version}
67Requires: cairo-devel
68Requires: pango-devel
69Obsoletes: compiz-fusion-devel < 0.8.0
70
71%description devel
72This 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
82make %{?_smp_mflags}
83
84
85%install
86rm -rf $RPM_BUILD_ROOT
87make install DESTDIR=$RPM_BUILD_ROOT
88
89rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
90rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.a
91
92
93%find_lang %{name}-main
94
95
96%post gnome
97export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
98for 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
103if [ "$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 ||:
108fi
109
110%preun gnome
111if [ "$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 ||:
116fi
117
118%clean
119rm -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 Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-1
143- new upstream release
144- add BuildRequires: protobuf-devel
145
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
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
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
Note: See TracBrowser for help on using the repository browser.