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