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