1 | %define pkg_version 3.1.92 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: Window management and application launching for GNOME |
---|
5 | Name: gnome-shell |
---|
6 | Version: %{pkg_version} |
---|
7 | Release: %{pkg_release} |
---|
8 | Source0: %{name}-%{version}.tar.xz |
---|
9 | |
---|
10 | # settings for Vine |
---|
11 | Patch101: gnome-shell-vine-settings.patch |
---|
12 | Patch102: gnome-shell-vine-customize.patch |
---|
13 | Patch103: gnome-shell-3.1.91.1-ja.po.patch |
---|
14 | |
---|
15 | License: GPLv2+ |
---|
16 | Group: User Interface/Desktops |
---|
17 | URL: http://live.gnome.org/GnomeShell |
---|
18 | |
---|
19 | Requires(post,postun): scrollkeeper >= 0.1.4 |
---|
20 | Requires(post,pre,preun): GConf2 >= 2.14 |
---|
21 | Requires: mutter |
---|
22 | Requires: caribou |
---|
23 | Requires: openssl |
---|
24 | |
---|
25 | BuildRequires: gnome-common |
---|
26 | BuildRequires: libtool |
---|
27 | BuildRequires: automake |
---|
28 | BuildRequires: autoconf |
---|
29 | |
---|
30 | BuildRequires: pkgconfig |
---|
31 | BuildRequires: gtk2-devel |
---|
32 | BuildRequires: clutter-devel |
---|
33 | BuildRequires: mutter-devel |
---|
34 | BuildRequires: gjs-devel |
---|
35 | BuildRequires: gnome-desktop3-devel |
---|
36 | BuildRequires: gnome-menus-devel |
---|
37 | BuildRequires: libSM-devel |
---|
38 | BuildRequires: libffi-devel |
---|
39 | BuildRequires: GConf2-devel |
---|
40 | BuildRequires: startup-notification-devel |
---|
41 | BuildRequires: gnome-doc-utils |
---|
42 | BuildRequires: desktop-file-utils |
---|
43 | BuildRequires: libcroco-devel |
---|
44 | BuildRequires: librsvg2-devel |
---|
45 | BuildRequires: gobject-introspection-devel |
---|
46 | BuildRequires: gstreamer-devel |
---|
47 | BuildRequires: dbus-glib-devel |
---|
48 | BuildRequires: telepathy-logger-devel |
---|
49 | BuildRequires: polkit-devel |
---|
50 | BuildRequires: pulseaudio-libs-devel |
---|
51 | BuildRequires: evolution-data-server-devel |
---|
52 | BuildRequires: folks-devel |
---|
53 | BuildRequires: NetworkManager-glib-devel |
---|
54 | BuildRequires: libgudev1-devel |
---|
55 | BuildRequires: openssl |
---|
56 | BuildRequires: intltool |
---|
57 | |
---|
58 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
59 | |
---|
60 | Vendor: Project Vine |
---|
61 | Distribution: Vine Linux |
---|
62 | Packager: Takemikaduchi |
---|
63 | |
---|
64 | |
---|
65 | %description |
---|
66 | GNOME Shell is the defining technology of the GNOME 3 desktop user experience. |
---|
67 | It provides core interface functions like switching to windows and launching |
---|
68 | applications. GNOME Shell takes advantage of the capabilities of modern graphics |
---|
69 | hardware and introduces innovative user interface concepts to provide a delightful |
---|
70 | and easy to use experience. |
---|
71 | |
---|
72 | |
---|
73 | %prep |
---|
74 | %setup -q |
---|
75 | %patch101 -p1 -b .vine |
---|
76 | %patch102 -p1 -b .vine |
---|
77 | %patch103 -p1 -b .old_po |
---|
78 | |
---|
79 | %build |
---|
80 | libtoolize --copy --force |
---|
81 | autoreconf |
---|
82 | %configure \ |
---|
83 | --disable-static \ |
---|
84 | --with-ca-certificates=%{_datadir}/ssl/certs/ca-bundle.crt |
---|
85 | |
---|
86 | %{__make} %{?_smp_mflags} |
---|
87 | |
---|
88 | |
---|
89 | %install |
---|
90 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
91 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
92 | |
---|
93 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
94 | |
---|
95 | %find_lang %{name} |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | %clean |
---|
100 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
101 | |
---|
102 | |
---|
103 | %post |
---|
104 | /sbin/ldconfig |
---|
105 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
106 | gconftool-2 --makefile-install-rule \ |
---|
107 | %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \ |
---|
108 | > /dev/null || : |
---|
109 | touch --no-create %{_datadir}/icons/hicolor |
---|
110 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
111 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
112 | fi |
---|
113 | |
---|
114 | %pre |
---|
115 | if [ "$1" -gt 1 ]; then |
---|
116 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
117 | gconftool-2 --makefile-uninstall-rule \ |
---|
118 | %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \ |
---|
119 | > /dev/null || : |
---|
120 | fi |
---|
121 | |
---|
122 | %preun |
---|
123 | if [ "$1" -eq 0 ]; then |
---|
124 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
125 | gconftool-2 --makefile-uninstall-rule \ |
---|
126 | %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \ |
---|
127 | > /dev/null || : |
---|
128 | fi |
---|
129 | |
---|
130 | %postun |
---|
131 | scrollkeeper-update -q || : |
---|
132 | /sbin/ldconfig |
---|
133 | touch --no-create %{_datadir}/icons/hicolor |
---|
134 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
135 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
136 | fi |
---|
137 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
138 | |
---|
139 | %posttrans |
---|
140 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
141 | |
---|
142 | |
---|
143 | %files -f %{name}.lang |
---|
144 | %defattr(-,root,root) |
---|
145 | %doc COPYING NEWS README |
---|
146 | %{_sysconfdir}/gconf/schemas/gnome-shell.schemas |
---|
147 | %{_bindir}/gnome-shell |
---|
148 | %{_bindir}/gnome-shell-extension-tool |
---|
149 | %{_libdir}/gnome-shell/* |
---|
150 | %{_libdir}/mozilla/plugins/libgnome-shell-browser-plugin.so |
---|
151 | %{_libexecdir}/gnome-shell-calendar-server |
---|
152 | %{_libexecdir}/gnome-shell-hotplug-sniffer |
---|
153 | %{_libexecdir}/gnome-shell-perf-helper |
---|
154 | %{_datadir}/applications/gnome-shell.desktop |
---|
155 | %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
---|
156 | %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
---|
157 | %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
---|
158 | %{_datadir}/gnome-shell/* |
---|
159 | %{_datadir}/man/man1/*.1.gz |
---|
160 | |
---|
161 | |
---|
162 | %changelog |
---|
163 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
164 | - new upstream release |
---|
165 | - update Patch101 |
---|
166 | - update Patch102 |
---|
167 | - update Patch103 (gnome-shell-3.1.91.1-ja.po.patch) |
---|
168 | - add BuildRequires: libgudev1-devel, openssl |
---|
169 | |
---|
170 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1 |
---|
171 | - new upstream release |
---|
172 | - add BuildRequires: folks-devel, NetworkManager-glib-devel |
---|
173 | - add Requires: caribou |
---|
174 | - remove Patch0 |
---|
175 | - update Patch101 |
---|
176 | - update Patch102 |
---|
177 | - update Patch103 (gnome-shell-3.1.90.1-ja.po.patch) |
---|
178 | |
---|
179 | * Mon Aug 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-2 |
---|
180 | - rebuild with gnome-menus-3.1.5 |
---|
181 | - add Patch0 (gnome-shell-git20110821.patch) |
---|
182 | |
---|
183 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
184 | - new upstream release |
---|
185 | - add BuildRequires: telepathy-logger-devel, polkit-devel, pulseaudio-libs-devel, evolution-data-server-devel |
---|
186 | - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel |
---|
187 | - remove BuildRequires: xulrunner-devel |
---|
188 | - add Patch101 (gnome-shell-vine-settings.patch) |
---|
189 | - add Patch102 (gnome-shell-vine-customize.patch) |
---|
190 | - add Patch103 (gnome-shell-3.1.4-ja.po.patch) |
---|
191 | |
---|
192 | * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2 |
---|
193 | - add Requires: mutter |
---|
194 | |
---|
195 | * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1 |
---|
196 | - new upstream release |
---|
197 | |
---|
198 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1 |
---|
199 | - initial build for Vine Linux |
---|
200 | |
---|