[5038] | 1 | %define pkg_version 3.2.1 |
---|
[4704] | 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 | |
---|
| 10 | # settings for Vine |
---|
| 11 | Patch101: gnome-shell-vine-settings.patch |
---|
| 12 | Patch102: gnome-shell-vine-customize.patch |
---|
[4812] | 13 | Patch103: gnome-shell-3.1.91.1-ja.po.patch |
---|
[4616] | 14 | |
---|
[521] | 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 |
---|
[915] | 21 | Requires: mutter |
---|
[4704] | 22 | Requires: caribou |
---|
[4812] | 23 | Requires: openssl |
---|
[915] | 24 | |
---|
[521] | 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 |
---|
[4616] | 35 | BuildRequires: gnome-desktop3-devel |
---|
[521] | 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 |
---|
[4616] | 48 | BuildRequires: telepathy-logger-devel |
---|
| 49 | BuildRequires: polkit-devel |
---|
| 50 | BuildRequires: pulseaudio-libs-devel |
---|
| 51 | BuildRequires: evolution-data-server-devel |
---|
[4704] | 52 | BuildRequires: folks-devel |
---|
| 53 | BuildRequires: NetworkManager-glib-devel |
---|
[4812] | 54 | BuildRequires: libgudev1-devel |
---|
| 55 | BuildRequires: openssl |
---|
[521] | 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 |
---|
[4616] | 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. |
---|
[521] | 71 | |
---|
| 72 | |
---|
| 73 | %prep |
---|
| 74 | %setup -q |
---|
[4616] | 75 | %patch101 -p1 -b .vine |
---|
| 76 | %patch102 -p1 -b .vine |
---|
| 77 | %patch103 -p1 -b .old_po |
---|
[521] | 78 | |
---|
| 79 | %build |
---|
[4650] | 80 | libtoolize --copy --force |
---|
| 81 | autoreconf |
---|
[4812] | 82 | %configure \ |
---|
| 83 | --disable-static \ |
---|
| 84 | --with-ca-certificates=%{_datadir}/ssl/certs/ca-bundle.crt |
---|
| 85 | |
---|
[521] | 86 | %{__make} %{?_smp_mflags} |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %install |
---|
| 90 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 91 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 92 | |
---|
[4616] | 93 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 94 | |
---|
[521] | 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 \ |
---|
[4616] | 108 | > /dev/null || : |
---|
[521] | 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 | |
---|
[4616] | 114 | %pre |
---|
[521] | 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 | |
---|
[4616] | 122 | %preun |
---|
[521] | 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 |
---|
[4616] | 137 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 138 | |
---|
[4616] | 139 | %posttrans |
---|
| 140 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 141 | |
---|
[4616] | 142 | |
---|
[521] | 143 | %files -f %{name}.lang |
---|
| 144 | %defattr(-,root,root) |
---|
[4616] | 145 | %doc COPYING NEWS README |
---|
| 146 | %{_sysconfdir}/gconf/schemas/gnome-shell.schemas |
---|
[521] | 147 | %{_bindir}/gnome-shell |
---|
[4616] | 148 | %{_bindir}/gnome-shell-extension-tool |
---|
[521] | 149 | %{_libdir}/gnome-shell/* |
---|
[4812] | 150 | %{_libdir}/mozilla/plugins/libgnome-shell-browser-plugin.so |
---|
[4616] | 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 |
---|
[521] | 158 | %{_datadir}/gnome-shell/* |
---|
[915] | 159 | %{_datadir}/man/man1/*.1.gz |
---|
[521] | 160 | |
---|
| 161 | |
---|
| 162 | %changelog |
---|
[5038] | 163 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 164 | - new upstream release |
---|
| 165 | |
---|
[4850] | 166 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 167 | - new upstream release |
---|
| 168 | |
---|
[4812] | 169 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 170 | - new upstream release |
---|
| 171 | - update Patch101 |
---|
| 172 | - update Patch102 |
---|
| 173 | - update Patch103 (gnome-shell-3.1.91.1-ja.po.patch) |
---|
| 174 | - add BuildRequires: libgudev1-devel, openssl |
---|
| 175 | |
---|
[4704] | 176 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1 |
---|
| 177 | - new upstream release |
---|
| 178 | - add BuildRequires: folks-devel, NetworkManager-glib-devel |
---|
| 179 | - add Requires: caribou |
---|
| 180 | - remove Patch0 |
---|
| 181 | - update Patch101 |
---|
| 182 | - update Patch102 |
---|
| 183 | - update Patch103 (gnome-shell-3.1.90.1-ja.po.patch) |
---|
| 184 | |
---|
[4650] | 185 | * Mon Aug 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-2 |
---|
| 186 | - rebuild with gnome-menus-3.1.5 |
---|
| 187 | - add Patch0 (gnome-shell-git20110821.patch) |
---|
| 188 | |
---|
[4616] | 189 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
| 190 | - new upstream release |
---|
| 191 | - add BuildRequires: telepathy-logger-devel, polkit-devel, pulseaudio-libs-devel, evolution-data-server-devel |
---|
| 192 | - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel |
---|
| 193 | - remove BuildRequires: xulrunner-devel |
---|
| 194 | - add Patch101 (gnome-shell-vine-settings.patch) |
---|
| 195 | - add Patch102 (gnome-shell-vine-customize.patch) |
---|
| 196 | - add Patch103 (gnome-shell-3.1.4-ja.po.patch) |
---|
| 197 | |
---|
[915] | 198 | * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2 |
---|
| 199 | - add Requires: mutter |
---|
| 200 | |
---|
[914] | 201 | * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1 |
---|
| 202 | - new upstream release |
---|
| 203 | |
---|
[521] | 204 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1 |
---|
| 205 | - initial build for Vine Linux |
---|
| 206 | |
---|