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