1 | Name: gnome-compiz-manager |
---|
2 | Version: 0.10.4 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Compiz configuration utility |
---|
5 | Summary(ja): Compiz ÀßÄê¥æ¡¼¥Æ¥£¥ê¥Æ¥£ |
---|
6 | |
---|
7 | Group: User Interface/Desktops |
---|
8 | License: GPL |
---|
9 | URL: http://gandalfn.wordpress.com/gnome-compiz-manager/ |
---|
10 | Source0: http://download.gna.org/gcm/gnome-compiz-manager/gnome-compiz-manager-%{version}.tar.gz |
---|
11 | Source1: desktop.png |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
13 | |
---|
14 | BuildRequires: intltool |
---|
15 | BuildRequires: GConf2 |
---|
16 | BuildRequires: pkgconfig |
---|
17 | BuildRequires: libglade2-devel |
---|
18 | BuildRequires: libwnck-devel |
---|
19 | BuildRequires: libgnomeui-devel |
---|
20 | BuildRequires: libgnome-devel |
---|
21 | BuildRequires: gnome-desktop-devel |
---|
22 | BuildRequires: librsvg2-devel |
---|
23 | BuildRequires: gob2 |
---|
24 | BuildRequires: gettext |
---|
25 | BuildRequires: desktop-file-utils |
---|
26 | BuildRequires: libSM-devel |
---|
27 | Requires(post): /sbin/ldconfig |
---|
28 | Requires(postun): /sbin/ldconfig |
---|
29 | Requires(pre): GConf2 |
---|
30 | Requires(post): GConf2 |
---|
31 | Requires(preun): GConf2 |
---|
32 | |
---|
33 | |
---|
34 | %description |
---|
35 | Gnome compiz manager is small utility, which manages GL Desktop configurations |
---|
36 | on XGL/AiGLX. It is composed of two applications : |
---|
37 | |
---|
38 | - compiz-tray-icon : which launches and stops compiz |
---|
39 | - gnome-compiz-preferences : which adjusts GL effects |
---|
40 | |
---|
41 | The goal is not to expose all compiz options but allow a simple |
---|
42 | configuration of compiz. |
---|
43 | |
---|
44 | %package devel |
---|
45 | Summary: Development files for gnome-compiz-manager |
---|
46 | Summary(ja): gnome-compiz-manager ¤Î³«È¯¥Õ¥¡¥¤¥ë |
---|
47 | Group: Development/Libraries |
---|
48 | Requires: %{name} = %{version}-%{release} |
---|
49 | Requires: pkgconfig |
---|
50 | %description devel |
---|
51 | Development files for gnome-compiz-manager |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q |
---|
55 | |
---|
56 | cp %{SOURCE1} data |
---|
57 | |
---|
58 | %build |
---|
59 | %configure --disable-rpath |
---|
60 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
61 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
62 | make %{?_smp_mflags} |
---|
63 | |
---|
64 | |
---|
65 | %install |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
68 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
69 | desktop-file-install --vendor="fedora" \ |
---|
70 | --delete-original \ |
---|
71 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
72 | $RPM_BUILD_ROOT%{_datadir}/applications/gnome-compiz-preferences.desktop |
---|
73 | rm $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
74 | rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la |
---|
75 | # kill static libs |
---|
76 | rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.a |
---|
77 | rm $RPM_BUILD_ROOT/%{_libdir}/*.a |
---|
78 | # empty |
---|
79 | rm $RPM_BUILD_ROOT/%{_docdir}/%{name}/README |
---|
80 | |
---|
81 | %find_lang %{name} |
---|
82 | |
---|
83 | %clean |
---|
84 | rm -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | %pre |
---|
87 | if [ "$1" -gt 1 ]; then |
---|
88 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
89 | gconftool-2 --makefile-uninstall-rule \ |
---|
90 | %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas >/dev/null || : |
---|
91 | # If the schema file has ever been renamed:: |
---|
92 | #gconftool-2 --makefile-uninstall-rule \ |
---|
93 | # %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || : |
---|
94 | killall -HUP gconfd-2 &> /dev/null || : |
---|
95 | fi |
---|
96 | |
---|
97 | %post |
---|
98 | /sbin/ldconfig |
---|
99 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
100 | gconftool-2 --makefile-install-rule \ |
---|
101 | %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas > /dev/null || : |
---|
102 | killall -HUP gconfd-2 &> /dev/null || : |
---|
103 | |
---|
104 | %preun |
---|
105 | if [ "$1" -eq 0 ]; then |
---|
106 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
107 | gconftool-2 --makefile-uninstall-rule \ |
---|
108 | %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas > /dev/null || : |
---|
109 | killall -HUP gconfd-2 &> /dev/null || : |
---|
110 | fi |
---|
111 | |
---|
112 | %postun -p /sbin/ldconfig |
---|
113 | |
---|
114 | %files -f %{name}.lang |
---|
115 | %defattr(-,root,root,-) |
---|
116 | %doc %{_docdir}/* |
---|
117 | %{_bindir}/* |
---|
118 | %{_mandir}/*/* |
---|
119 | %{_sysconfdir}/gconf/schemas/* |
---|
120 | %{_libdir}/*.so.* |
---|
121 | %dir %{_libdir}/%{name}/ |
---|
122 | %{_libdir}/%{name}/*.so |
---|
123 | %{_libdir}/%{name}/*.plugin |
---|
124 | %{_datadir}/%{name} |
---|
125 | %{_datadir}/applications/* |
---|
126 | |
---|
127 | %files devel |
---|
128 | %defattr(-,root,root,-) |
---|
129 | %{_includedir}/%{name}/ |
---|
130 | %{_libdir}/*.so |
---|
131 | %{_libdir}/pkgconfig/* |
---|
132 | |
---|
133 | %changelog |
---|
134 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.4-2 |
---|
135 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
136 | - add BuildRequires: libSM-devel |
---|
137 | |
---|
138 | * Sat May 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1 |
---|
139 | - initial build for Vine Linux |
---|
140 | |
---|
141 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.10.4-4 |
---|
142 | - Autorebuild for GCC 4.3 |
---|
143 | |
---|
144 | * Sun Dec 9 2007 Denis Leroy <denis@poolshark.org> - 0.10.4-3 |
---|
145 | - Fix duplicate desktop entries |
---|
146 | - Made gconf killall silent |
---|
147 | |
---|
148 | * Fri Oct 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.4-2 |
---|
149 | - Don't ship Ubuntu branding |
---|
150 | |
---|
151 | * Sat Jul 14 2007 John Mahowald <jpmahowald@gmail.com> - 0.10.4-1 |
---|
152 | - 0.10.4 |
---|
153 | |
---|
154 | * Wed May 23 2007 John Mahowald <jpmahowald@gmail.com> - 0.9.14-1 |
---|
155 | - 0.9.14 |
---|
156 | |
---|
157 | * Tue Nov 28 2006 John Mahowald <jpmahowald@gmail.com> - 0.9.13.1-1 |
---|
158 | - 0.9.13.1 |
---|
159 | - dropped upstreamed libdir patch |
---|
160 | |
---|
161 | * Thu Nov 16 2006 John Mahowald <jpmahowald@gmail.com> - 0.9.10-1 |
---|
162 | - initial rpm |
---|