[5311] | 1 | Summary: The MATE Session Handler |
---|
| 2 | Name: mate-session-manager |
---|
[7821] | 3 | Version: 1.6.1 |
---|
[8068] | 4 | Release: 2%{?_dist_release} |
---|
[7697] | 5 | Source0: http://pub.mate-desktop.org/releases/1.6/%{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: upower-devel |
---|
| 14 | BuildRequires: libSM-devel |
---|
| 15 | BuildRequires: libXtst-devel |
---|
| 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 \ |
---|
| 44 | --disable-scrollkeeper |
---|
| 45 | |
---|
| 46 | %{__make} %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 51 | |
---|
| 52 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 53 | |
---|
| 54 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 55 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 56 | |
---|
[6679] | 57 | %find_lang %{name} |
---|
[5311] | 58 | |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %post |
---|
| 65 | /sbin/ldconfig |
---|
| 66 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 67 | touch --no-create %{_datadir}/icons/hicolor |
---|
[7697] | 68 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 69 | |
---|
| 70 | %postun |
---|
| 71 | /sbin/ldconfig |
---|
[7697] | 72 | if [ $1 -eq 0 ]; then |
---|
| 73 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 74 | touch --no-create %{_datadir}/icons/hicolor |
---|
[5311] | 75 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[7697] | 76 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 77 | fi |
---|
| 78 | |
---|
[7697] | 79 | %posttrans |
---|
| 80 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 81 | |
---|
[7697] | 82 | |
---|
[6679] | 83 | %files -f %{name}.lang |
---|
[5311] | 84 | %defattr(-,root,root,-) |
---|
| 85 | %doc COPYING ChangeLog NEWS README |
---|
| 86 | %{_bindir}/mate-session |
---|
| 87 | %{_bindir}/mate-session-properties |
---|
| 88 | %{_bindir}/mate-session-save |
---|
| 89 | %{_bindir}/mate-wm |
---|
[7697] | 90 | %{_datadir}/MateConf/gsettings/mate-session.convert |
---|
[5311] | 91 | %{_datadir}/applications/mate-session-properties.desktop |
---|
[7697] | 92 | %{_datadir}/glib-2.0/schemas/org.mate.session.gschema.xml |
---|
[5311] | 93 | %{_datadir}/icons/hicolor/*/*/* |
---|
[7821] | 94 | %{_datadir}/mate-session-manager/gsm-inhibit-dialog.ui |
---|
| 95 | %{_datadir}/mate-session-manager/session-properties.ui |
---|
[5311] | 96 | %{_datadir}/xsessions/mate.desktop |
---|
| 97 | %{_mandir}/man1/*.1.gz |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %changelog |
---|
[8068] | 101 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 102 | - rebuild with VineSeed environment |
---|
| 103 | |
---|
[7821] | 104 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[7697] | 107 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 108 | - new upstream release |
---|
| 109 | - remove BuildRequires: mate-conf-devel |
---|
| 110 | |
---|
[6679] | 111 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[6172] | 114 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[5316] | 117 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 118 | - change category |
---|
| 119 | |
---|
[5311] | 120 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 121 | - initial build for Vine Linux |
---|
| 122 | |
---|