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