1 | %define plugins 3d addhelper animationaddon bench bicubic crashhandler cubeaddon extrawm fadedesktop firepaint gears group loginout maximumize mblur notification reflex scalefilter shelf showdesktop showmouse splash trailfocus wallpaper widget |
---|
2 | |
---|
3 | Name: compiz-plugins-extra |
---|
4 | Version: 0.8.8 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: Additional Compiz plugins |
---|
7 | Summary(ja): Compiz 追加プラグイン集 |
---|
8 | Group: User Interface/Desktops |
---|
9 | License: GPLv2+ |
---|
10 | URL: http://compiz.org |
---|
11 | Source0: http://releases.compiz.org/0.8.8/%{name}-%{version}.tar.bz2 |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
13 | |
---|
14 | # libdrm is not available on these arches |
---|
15 | ExcludeArch: s390 s390x ppc64 |
---|
16 | |
---|
17 | BuildRequires: compiz-plugins-devel >= %{version} |
---|
18 | BuildRequires: compiz-bcop >= 0.8.2 |
---|
19 | BuildRequires: perl(XML::Parser) |
---|
20 | BuildRequires: mesa-libGLU-devel |
---|
21 | BuildRequires: libXrender-devel |
---|
22 | BuildRequires: libjpeg-devel |
---|
23 | BuildRequires: GConf2 |
---|
24 | BuildRequires: gawk |
---|
25 | BuildRequires: gettext |
---|
26 | |
---|
27 | Requires: compiz-plugins |
---|
28 | Obsoletes: compiz-fusion-extras < 0.8.0 |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | |
---|
33 | %description |
---|
34 | This package contains additional plugins for Compiz |
---|
35 | |
---|
36 | %package gnome |
---|
37 | Summary: Compiz Plugins Extras gnome configuration |
---|
38 | Summary(ja): Compiz 追加 GNOME 設定 |
---|
39 | Group: User Interface/Desktops |
---|
40 | Requires: %{name} = %{version} |
---|
41 | Requires(pre): GConf2 |
---|
42 | Requires(post): GConf2 |
---|
43 | Requires(preun): GConf2 |
---|
44 | Obsoletes: compiz-fusion-extras-gnome < 0.8.0 |
---|
45 | |
---|
46 | |
---|
47 | %description gnome |
---|
48 | This package contains the GNOME configuration for |
---|
49 | Compiz Plugins Extras |
---|
50 | |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | |
---|
55 | |
---|
56 | %build |
---|
57 | %configure --enable-schemas |
---|
58 | make %{?_smp_mflags} |
---|
59 | |
---|
60 | |
---|
61 | %install |
---|
62 | rm -rf $RPM_BUILD_ROOT |
---|
63 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
64 | |
---|
65 | rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la |
---|
66 | rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.a |
---|
67 | |
---|
68 | %find_lang %{name} |
---|
69 | |
---|
70 | |
---|
71 | %post gnome |
---|
72 | export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source` |
---|
73 | for p in in %{plugins}; do |
---|
74 | echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \ |
---|
75 | | xargs %{_bindir}/gconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
76 | |
---|
77 | %pre gnome |
---|
78 | if [ "$1" -gt 1 ]; then |
---|
79 | export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source` |
---|
80 | for p in in %{plugins}; do |
---|
81 | echo %{_sysconfdir}/gconf/schemas/compiz-$p.schemas ;done \ |
---|
82 | | xargs %{_bindir}/gconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
83 | fi |
---|
84 | |
---|
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 | |
---|
93 | |
---|
94 | %clean |
---|
95 | rm -rf $RPM_BUILD_ROOT |
---|
96 | |
---|
97 | |
---|
98 | %files -f %{name}.lang |
---|
99 | %defattr(-,root,root,-) |
---|
100 | %doc COPYING AUTHORS |
---|
101 | %{_libdir}/compiz/*.so |
---|
102 | %{_datadir}/compiz/*.xml |
---|
103 | %{_datadir}/compiz/*.png |
---|
104 | %{_includedir}/compiz/compiz-animationaddon.h |
---|
105 | %{_libdir}/pkgconfig/compiz-animationaddon.pc |
---|
106 | |
---|
107 | %files gnome |
---|
108 | %defattr(-,root,root,-) |
---|
109 | %{_sysconfdir}/gconf/schemas/*.schemas |
---|
110 | |
---|
111 | %changelog |
---|
112 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
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 | |
---|
118 | * Sun Apr 11 2010 Yoji TOYODA <bsymaato@sea.plala.or.jp> 0.8.6-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1 |
---|
122 | - update to 0.8.2 |
---|
123 | - compiz-fusion is merged in compiz |
---|
124 | - rename compiz-fusion-extras to compiz-plugins-extra |
---|
125 | - add Obsoletes: compiz-fusion-extras < 0.8.0 |
---|
126 | |
---|
127 | * Sat May 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2 |
---|
128 | - fix pre/post scripts for speeding up gconf schema installation |
---|
129 | |
---|
130 | * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1 |
---|
134 | - new upstream release |
---|
135 | |
---|
136 | * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1 |
---|
137 | - new upstream release |
---|
138 | |
---|
139 | * Wed May 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1 |
---|
140 | - initial build for Vine Linux |
---|
141 | |
---|
142 | * Tue Mar 25 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-2 |
---|
143 | - Fix scriptlet failure |
---|
144 | |
---|
145 | * Mon Mar 24 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-1 |
---|
146 | - Update to 0.7.2 |
---|
147 | |
---|
148 | * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-3 |
---|
149 | - Rebuild for gcc-4.3 |
---|
150 | |
---|
151 | * Fri Jan 04 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-2 |
---|
152 | - Fix build with gcc43 |
---|
153 | |
---|
154 | * Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-1 |
---|
155 | - Update to 0.6.0 |
---|
156 | |
---|
157 | * Fri Oct 12 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-9.6871d0 |
---|
158 | - Rebuild against new compiz-fusion to build missing plugins (RH #327441) |
---|
159 | |
---|
160 | * Wed Oct 10 2007 Warren Togami <wtogami@redhat.com> 0.5.2-8.6871d0 |
---|
161 | - >= instead of = to allow compiz upgrade flexibility |
---|
162 | |
---|
163 | * Sun Sep 23 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-7.6871d0 |
---|
164 | - GConf schemas got renamed .. fix scripts to install them |
---|
165 | - Fix changelog date |
---|
166 | |
---|
167 | * Sat Sep 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-6.6871d0 |
---|
168 | - Update to 0.6 branch (builds against current compiz) |
---|
169 | |
---|
170 | * Sat Sep 15 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-5 |
---|
171 | - Fix gconf schemas install (RH #53692) |
---|
172 | - Some build fixes |
---|
173 | |
---|
174 | * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-4 |
---|
175 | - Remove redundant buildrequires |
---|
176 | |
---|
177 | * Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-3 |
---|
178 | - BuildRequire gawk |
---|
179 | |
---|
180 | * Wed Aug 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-2 |
---|
181 | - Fix gconf schemas (un)installation |
---|
182 | |
---|
183 | * Sat Aug 18 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-1 |
---|
184 | - Initial build |
---|
185 | |
---|
186 | |
---|