[5311] | 1 | Summary: The MATE Session Handler |
---|
| 2 | Name: mate-session-manager |
---|
[9842] | 3 | Version: 1.12.1 |
---|
[9797] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
[5316] | 7 | Group: User Interface/Desktops |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
[9724] | 10 | # patch for Vine |
---|
| 11 | Patch1001: mate-session-manager-1.10.2-use-vine-sleep-helper.patch |
---|
[9797] | 12 | Patch1002: mate-session-manager-1.12.0-mate-wm.patch |
---|
[9724] | 13 | |
---|
[5311] | 14 | BuildRequires: mate-common |
---|
| 15 | BuildRequires: gtk2-devel |
---|
| 16 | BuildRequires: dbus-glib-devel |
---|
| 17 | BuildRequires: libSM-devel |
---|
| 18 | BuildRequires: libXtst-devel |
---|
[9552] | 19 | BuildRequires: mate-desktop-devel |
---|
[5311] | 20 | BuildRequires: gtk-doc |
---|
| 21 | BuildRequires: autoconf |
---|
| 22 | BuildRequires: automake |
---|
| 23 | |
---|
[9724] | 24 | Requires: vine-sleep-helper |
---|
[7697] | 25 | Requires(posttrans,postun): glib2 |
---|
| 26 | Requires(post,postun): gtk2 |
---|
[5311] | 27 | Requires(post,postun): desktop-file-utils |
---|
| 28 | |
---|
| 29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 30 | |
---|
| 31 | Vendor: Project Vine |
---|
| 32 | Distribution: Vine Linux |
---|
| 33 | Packager: Takemikaduchi |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | mate-session contains the MATE session manager, as well as a |
---|
| 38 | configuration program to choose applications starting on login. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
[9724] | 43 | %patch1001 -p1 -b .vine |
---|
[9797] | 44 | %patch1002 -p1 -b .vine |
---|
[5311] | 45 | |
---|
| 46 | |
---|
| 47 | %build |
---|
[9724] | 48 | NOCONFIGURE=1 ./autogen.sh |
---|
[5311] | 49 | %configure \ |
---|
| 50 | --disable-static \ |
---|
[9726] | 51 | --disable-upower \ |
---|
| 52 | --with-default-wm=mate-wm |
---|
[5311] | 53 | |
---|
| 54 | %{__make} %{?_smp_mflags} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 59 | |
---|
| 60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 61 | |
---|
| 62 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 64 | |
---|
[6679] | 65 | %find_lang %{name} |
---|
[5311] | 66 | |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %post |
---|
| 73 | /sbin/ldconfig |
---|
| 74 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 75 | touch --no-create %{_datadir}/icons/hicolor |
---|
[7697] | 76 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 77 | |
---|
| 78 | %postun |
---|
| 79 | /sbin/ldconfig |
---|
[7697] | 80 | if [ $1 -eq 0 ]; then |
---|
| 81 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 82 | touch --no-create %{_datadir}/icons/hicolor |
---|
[5311] | 83 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[7697] | 84 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 85 | fi |
---|
| 86 | |
---|
[7697] | 87 | %posttrans |
---|
| 88 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 89 | |
---|
[7697] | 90 | |
---|
[6679] | 91 | %files -f %{name}.lang |
---|
[5311] | 92 | %defattr(-,root,root,-) |
---|
| 93 | %doc COPYING ChangeLog NEWS README |
---|
| 94 | %{_bindir}/mate-session |
---|
[9552] | 95 | %{_bindir}/mate-session-inhibit |
---|
[5311] | 96 | %{_bindir}/mate-session-properties |
---|
| 97 | %{_bindir}/mate-session-save |
---|
| 98 | %{_bindir}/mate-wm |
---|
[7697] | 99 | %{_datadir}/MateConf/gsettings/mate-session.convert |
---|
[5311] | 100 | %{_datadir}/applications/mate-session-properties.desktop |
---|
[9726] | 101 | %{_datadir}/applications/mate-wm.desktop |
---|
[7697] | 102 | %{_datadir}/glib-2.0/schemas/org.mate.session.gschema.xml |
---|
[5311] | 103 | %{_datadir}/icons/hicolor/*/*/* |
---|
[7821] | 104 | %{_datadir}/mate-session-manager/gsm-inhibit-dialog.ui |
---|
| 105 | %{_datadir}/mate-session-manager/session-properties.ui |
---|
[5311] | 106 | %{_datadir}/xsessions/mate.desktop |
---|
| 107 | %{_mandir}/man1/*.1.gz |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | %changelog |
---|
[9842] | 111 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[9797] | 114 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 115 | - new upstream release |
---|
| 116 | - add Patch1002 (mate-session-manager-1.12.0-mate-wm.patch) |
---|
| 117 | |
---|
[9726] | 118 | * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-3 |
---|
| 119 | - add configure option (--with-default-wm=mate-wm) |
---|
| 120 | |
---|
[9724] | 121 | * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2 |
---|
| 122 | - add Patch1001 (mate-session-manager-1.10.2-use-vine-sleep-helper.patch) |
---|
| 123 | - add Requires: vine-sleep-helper |
---|
| 124 | |
---|
[9667] | 125 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[9601] | 128 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
[9552] | 131 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 132 | - new upstream release |
---|
| 133 | - add BuildRequires: mate-desktop-devel |
---|
| 134 | |
---|
[8962] | 135 | * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 136 | - remove BuildRequires: libupower09-devel |
---|
| 137 | |
---|
[8359] | 138 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 139 | - new upstream release |
---|
| 140 | - add BuildRequires: libupower09-devel |
---|
| 141 | - remove BuildRequires: upower-devel |
---|
| 142 | |
---|
[8068] | 143 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 144 | - rebuild with VineSeed environment |
---|
| 145 | |
---|
[7821] | 146 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 147 | - new upstream release |
---|
| 148 | |
---|
[7697] | 149 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 150 | - new upstream release |
---|
| 151 | - remove BuildRequires: mate-conf-devel |
---|
| 152 | |
---|
[6679] | 153 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[6172] | 156 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[5316] | 159 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 160 | - change category |
---|
| 161 | |
---|
[5311] | 162 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 163 | - initial build for Vine Linux |
---|
| 164 | |
---|