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

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

change spec file of gnome-2.30

Line 
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
3Name: compiz-plugins-extra
4Version: 0.8.6
5Release: 1%{?_dist_release}
6Summary: Additional Compiz plugins
7Summary(ja): Compiz 追加プラグイン集
8Group: User Interface/Desktops       
9License: GPLv2+
10URL: http://compiz.org
11Source0: http://releases.compiz.org/0.8.2/%{name}-%{version}.tar.bz2
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13
14# libdrm is not available on these arches
15ExcludeArch: s390 s390x ppc64
16
17BuildRequires: compiz-plugins-devel >= %{version}
18BuildRequires: compiz-bcop >= 0.8.2
19BuildRequires: gettext
20BuildRequires: perl(XML::Parser)
21BuildRequires: mesa-libGLU-devel
22BuildRequires: libXrender-devel
23BuildRequires: GConf2
24BuildRequires: libjpeg-devel
25BuildRequires: gawk
26Requires: compiz-plugins
27Obsoletes: compiz-fusion-extras < 0.8.0
28
29
30%description
31This package contains additional plugins for Compiz
32
33%package gnome
34Summary: Compiz Plugins Extras gnome configuration
35Summary(ja): Compiz 追加 GNOME 設定
36Group: User Interface/Desktops
37Requires: %{name} = %{version}
38Requires(pre): GConf2
39Requires(post): GConf2
40Requires(preun): GConf2
41Obsoletes: compiz-fusion-extras-gnome < 0.8.0
42
43
44%description gnome
45This package contains the GNOME configuration for
46Compiz Plugins Extras
47
48
49%prep
50%setup -q
51
52
53%build
54%configure --enable-schemas
55make %{?_smp_mflags}
56
57
58%install
59rm -rf $RPM_BUILD_ROOT
60make install DESTDIR=$RPM_BUILD_ROOT
61
62rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.la
63rm -f $RPM_BUILD_ROOT%{_libdir}/compiz/*.a
64
65%find_lang %{name}
66
67
68%post gnome
69export GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`
70for 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
75if [ "$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 ||:
80fi
81
82%preun gnome
83if [ "$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 ||:
88fi
89
90
91%clean
92rm -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* Sun Apr 11 2010 Yoji TOYODA <bsymaato@sea.plala.or.jp> 0.8.6-1
111- new upstream release
112
113* Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
114- update to 0.8.2
115- compiz-fusion is merged in compiz
116  - rename compiz-fusion-extras to compiz-plugins-extra
117  - add Obsoletes: compiz-fusion-extras < 0.8.0
118
119* Sat May 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2
120- fix pre/post scripts for speeding up gconf schema installation
121
122* Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
123- new upstream release
124
125* Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
126- new upstream release
127
128* Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
129- new upstream release
130
131* Wed May 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
132- initial build for Vine Linux
133
134* Tue Mar 25 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-2
135- Fix scriptlet failure
136
137* Mon Mar 24 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.7.2-1
138- Update to 0.7.2
139
140* Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-3
141- Rebuild for gcc-4.3
142
143* Fri Jan 04 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-2
144- Fix build with gcc43
145
146* Mon Oct 22 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.6.0-1
147- Update to 0.6.0
148
149* Fri Oct 12 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-9.6871d0
150- Rebuild against new compiz-fusion to build missing plugins (RH #327441)
151
152* Wed Oct 10 2007 Warren Togami <wtogami@redhat.com> 0.5.2-8.6871d0
153- >= instead of = to allow compiz upgrade flexibility
154
155* Sun Sep 23 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-7.6871d0
156- GConf schemas got renamed .. fix scripts to install them
157- Fix changelog date
158
159* Sat Sep 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-6.6871d0
160- Update to 0.6 branch (builds against current compiz)
161
162* Sat Sep 15 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-5
163- Fix gconf schemas install (RH #53692)
164- Some build fixes
165
166* Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-4
167- Remove redundant buildrequires
168
169* Fri Aug 24 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-3
170- BuildRequire gawk
171
172* Wed Aug 22 2007 Adel Gadllah <adel.gadllag@gmail.com> 0.5.2-2
173- Fix gconf schemas (un)installation
174
175* Sat Aug 18 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-1
176- Initial build
177
178
Note: See TracBrowser for help on using the repository browser.