source: projects/specs/trunk/m/mate-session-manager/mate-session-manager-vl.spec @ 12000

Revision 12000, 5.5 KB checked in by tomop, 5 years ago (diff)

new: elogind-239.3 (and packages that depends on elogind)

RevLine 
[11658]1%define major_ver 1.20
[12000]2%define ver %{major_ver}.2
[11002]3%define rel 1
4
[5311]5Summary:        The MATE Session Handler
6Name:           mate-session-manager
[11002]7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
[5311]10License:        GPLv2
[5316]11Group:          User Interface/Desktops
[12000]12URL:            https://mate-desktop.org/
[5311]13
[9724]14# patch for Vine
[12000]15Patch1000:      0001-add-elogind-support.patch
[11002]16Patch1001:      mate-session-manager-1.18.0-use-vine-sleep-helper.patch
[9797]17Patch1002:      mate-session-manager-1.12.0-mate-wm.patch
[9724]18
[5311]19BuildRequires:  mate-common
[11002]20BuildRequires:  mate-desktop-devel >= 1.17.0
[10888]21BuildRequires:  gtk3-devel
[5311]22BuildRequires:  dbus-glib-devel
23BuildRequires:  libSM-devel
24BuildRequires:  libXtst-devel
25BuildRequires:  gtk-doc
26BuildRequires:  autoconf
27BuildRequires:  automake
[10965]28BuildRequires:  xorg-x11-xtrans-devel
[12000]29BuildRequires:  elogind-devel
[5311]30
[9724]31Requires:       vine-sleep-helper
[7697]32Requires(posttrans,postun):     glib2
33Requires(post,postun):  gtk2
[5311]34Requires(post,postun):  desktop-file-utils
35
36BuildRoot:      %{_tmppath}/%{name}-%{version}-root
37
38Vendor:         Project Vine
39Distribution:   Vine Linux
[11002]40Packager:       Takemikaduchi, iwaim
[5311]41
42
43%description
44mate-session contains the MATE session manager, as well as a
45configuration 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]56NOCONFIGURE=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
70find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
71find $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
82update-desktop-database %{_datadir}/applications >& /dev/null ||:
83touch --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]88if [ $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]93fi
94
[7697]95%posttrans
96glib-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
Note: See TracBrowser for help on using the repository browser.