[4812] | 1 | %define pkg_version 3.1.92 |
---|
[4616] | 2 | %define pkg_release 1%{?_dist_release} |
---|
[521] | 3 | |
---|
| 4 | Summary: Window and compositing manager based on Clutter |
---|
| 5 | Name: mutter |
---|
| 6 | Version: %{pkg_version} |
---|
| 7 | Release: %{pkg_release} |
---|
[4616] | 8 | Source0: %{name}-%{version}.tar.xz |
---|
| 9 | |
---|
| 10 | Patch101: mutter-vine-customize.patch |
---|
| 11 | |
---|
[521] | 12 | License: GPLv2+ |
---|
| 13 | Group: User Interface/Desktops |
---|
| 14 | URL: http://git.gnome.org/browse/mutter |
---|
| 15 | |
---|
| 16 | Requires(post,postun): scrollkeeper >= 0.1.4 |
---|
| 17 | Requires(post,pre,preun): GConf2 >= 2.14 |
---|
| 18 | BuildRequires: pkgconfig |
---|
[4616] | 19 | BuildRequires: gtk3-devel |
---|
[521] | 20 | BuildRequires: clutter-devel |
---|
| 21 | BuildRequires: libSM-devel |
---|
| 22 | BuildRequires: GConf2-devel |
---|
[4616] | 23 | BuildRequires: gobject-introspection-devel |
---|
[521] | 24 | BuildRequires: python-devel |
---|
| 25 | BuildRequires: startup-notification-devel |
---|
[4616] | 26 | BuildRequires: libcanberra-gtk3-devel |
---|
[521] | 27 | BuildRequires: gnome-doc-utils |
---|
| 28 | BuildRequires: desktop-file-utils |
---|
[4704] | 29 | BuildRequires: zenity |
---|
[521] | 30 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 31 | |
---|
| 32 | Vendor: Project Vine |
---|
| 33 | Distribution: Vine Linux |
---|
| 34 | Packager: Takemikaduchi |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | Mutter is a minimal X window manager aimed at nontechnical users and is designed to integrate well with the GNOME desktop. Mutter lacks some features that may be expected by traditional UNIX or other technical users; these users may want to investigate other available window managers for use with GNOME or standalone. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %package devel |
---|
| 42 | Summary: Development files of the mutter library. |
---|
| 43 | Group: Development/Libraries |
---|
| 44 | |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | Requires: pkgconfig |
---|
| 47 | Requires: gtk-doc |
---|
[4812] | 48 | Requires: gtk3-devel |
---|
[914] | 49 | Requires: clutter-devel |
---|
[4812] | 50 | Requires: libX11-devel |
---|
[521] | 51 | |
---|
| 52 | %description devel |
---|
| 53 | Development files of the mutter library. |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q |
---|
[4616] | 58 | %patch101 -p1 -b .vine |
---|
[521] | 59 | |
---|
| 60 | |
---|
| 61 | %build |
---|
| 62 | %configure --disable-static |
---|
| 63 | %{__make} %{?_smp_mflags} |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %install |
---|
| 67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 68 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 69 | |
---|
| 70 | %find_lang %{name} |
---|
| 71 | |
---|
[4616] | 72 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
[521] | 73 | |
---|
| 74 | |
---|
| 75 | %clean |
---|
| 76 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %post |
---|
| 80 | /sbin/ldconfig |
---|
| 81 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 82 | gconftool-2 --makefile-install-rule \ |
---|
| 83 | %{_sysconfdir}/gconf/schemas/mutter.schemas \ |
---|
| 84 | > /dev/null || : |
---|
| 85 | /sbin/ldconfig |
---|
| 86 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 87 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 88 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 89 | fi |
---|
| 90 | |
---|
| 91 | %pre |
---|
| 92 | if [ "$1" -gt 1 ]; then |
---|
| 93 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 94 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 95 | %{_sysconfdir}/gconf/schemas/mutter.schemas \ |
---|
| 96 | > /dev/null || : |
---|
| 97 | fi |
---|
| 98 | |
---|
| 99 | %preun |
---|
| 100 | if [ "$1" -eq 0 ]; then |
---|
| 101 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 102 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 103 | %{_sysconfdir}/gconf/schemas/mutter.schemas \ |
---|
| 104 | > /dev/null || : |
---|
| 105 | fi |
---|
| 106 | |
---|
| 107 | %postun |
---|
| 108 | scrollkeeper-update -q || : |
---|
| 109 | /sbin/ldconfig |
---|
| 110 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 111 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 112 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 113 | fi |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | %files -f %{name}.lang |
---|
| 117 | %defattr(-,root,root) |
---|
| 118 | %doc COPYING ChangeLog NEWS README |
---|
| 119 | %{_bindir}/mutter |
---|
| 120 | %{_bindir}/mutter-message |
---|
| 121 | %{_libdir}/lib*.so.* |
---|
| 122 | %{_libdir}/mutter/* |
---|
| 123 | %{_datadir}/applications/* |
---|
| 124 | %{_datadir}/gnome/wm-properties/* |
---|
| 125 | %{_datadir}/mutter/* |
---|
| 126 | %{_sysconfdir}/gconf/schemas/* |
---|
| 127 | %{_mandir}/man1/mutter.1.gz |
---|
| 128 | %{_mandir}/man1/mutter-message.1.gz |
---|
| 129 | |
---|
| 130 | %files devel |
---|
| 131 | %defattr(-,root,root,-) |
---|
| 132 | %{_bindir}/mutter-theme-viewer |
---|
| 133 | %{_bindir}/mutter-window-demo |
---|
| 134 | %{_includedir}/mutter/* |
---|
| 135 | %{_libdir}/lib*.so |
---|
| 136 | %{_libdir}/pkgconfig/* |
---|
| 137 | %{_mandir}/man1/mutter-theme-viewer.1.gz |
---|
| 138 | %{_mandir}/man1/mutter-window-demo.1.gz |
---|
| 139 | |
---|
| 140 | %changelog |
---|
[4812] | 141 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
| 144 | * Sun Sep 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91.1-1 |
---|
| 145 | - new upstream release |
---|
| 146 | - add Requires: gtk3-devel, libX11-devel (-devel package) |
---|
| 147 | |
---|
[4704] | 148 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1 |
---|
| 149 | - new upstream release |
---|
| 150 | - add BuildRequires: zenity |
---|
| 151 | |
---|
[4616] | 152 | * Fri Aug 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
| 153 | - new upstream release |
---|
| 154 | - change BuildRequires: gobject-introspection-devel instead of gir-repository-devel |
---|
| 155 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 156 | - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel |
---|
| 157 | - add Patch101 (mutter-vine-customize.patch) |
---|
| 158 | |
---|
[1886] | 159 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2 |
---|
| 160 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 161 | |
---|
[914] | 162 | * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1 |
---|
| 163 | - new upstream release |
---|
| 164 | - add BuildRequires: libcanberra-devel |
---|
| 165 | - Requires: clutter-devel (devel package) |
---|
| 166 | |
---|
[521] | 167 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1 |
---|
| 168 | - initial build for Vine Linux |
---|
| 169 | |
---|