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