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