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