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)

Line 
1%define major_ver 1.20
2%define ver %{major_ver}.2
3%define rel 1
4
5Summary:        The MATE Session Handler
6Name:           mate-session-manager
7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
10License:        GPLv2
11Group:          User Interface/Desktops
12URL:            https://mate-desktop.org/
13
14# patch for Vine
15Patch1000:      0001-add-elogind-support.patch
16Patch1001:      mate-session-manager-1.18.0-use-vine-sleep-helper.patch
17Patch1002:      mate-session-manager-1.12.0-mate-wm.patch
18
19BuildRequires:  mate-common
20BuildRequires:  mate-desktop-devel >= 1.17.0
21BuildRequires:  gtk3-devel
22BuildRequires:  dbus-glib-devel
23BuildRequires:  libSM-devel
24BuildRequires:  libXtst-devel
25BuildRequires:  gtk-doc
26BuildRequires:  autoconf
27BuildRequires:  automake
28BuildRequires:  xorg-x11-xtrans-devel
29BuildRequires:  elogind-devel
30
31Requires:       vine-sleep-helper
32Requires(posttrans,postun):     glib2
33Requires(post,postun):  gtk2
34Requires(post,postun):  desktop-file-utils
35
36BuildRoot:      %{_tmppath}/%{name}-%{version}-root
37
38Vendor:         Project Vine
39Distribution:   Vine Linux
40Packager:       Takemikaduchi, iwaim
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
50%patch1000 -p1 -b .elogind
51%patch1001 -p1 -b .vine
52%patch1002 -p1 -b .vine
53
54
55%build
56NOCONFIGURE=1 ./autogen.sh
57%configure \
58        --disable-static \
59        --disable-upower \
60        --with-default-wm=mate-wm
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
73%find_lang %{name}
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
84/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
85
86%postun
87/sbin/ldconfig
88if [ $1 -eq 0 ]; then
89  update-desktop-database %{_datadir}/applications >& /dev/null ||:
90  touch --no-create %{_datadir}/icons/hicolor
91  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
92  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
93fi
94
95%posttrans
96glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
97
98
99%files -f %{name}.lang
100%defattr(-,root,root,-)
101%doc COPYING ChangeLog NEWS README
102%{_bindir}/mate-session
103%{_bindir}/mate-session-inhibit
104%{_bindir}/mate-session-properties
105%{_bindir}/mate-session-save
106%{_bindir}/mate-wm
107%{_datadir}/applications/mate-session-properties.desktop
108%{_datadir}/applications/mate-wm.desktop
109%{_datadir}/glib-2.0/schemas/org.mate.session.gschema.xml
110%{_datadir}/icons/hicolor/*/*/*
111%{_datadir}/mate-session-manager/gsm-inhibit-dialog.ui
112%{_datadir}/mate-session-manager/session-properties.ui
113%{_datadir}/xsessions/mate.desktop
114%{_mandir}/man1/*.1.gz
115
116
117%changelog
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
122* Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
123- update to 1.20.0
124
125* Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
126- update to 1.18.2
127
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
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
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
142* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
143- new upstream release
144
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
149* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
150- new upstream release
151
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
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
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
163* Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
164- new upstream release
165
166* Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
167- new upstream release
168
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
173* Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
174- remove BuildRequires: libupower09-devel
175
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
181* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
182- rebuild with VineSeed environment
183
184* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
185- new upstream release
186
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
191* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
192- new upstream release
193
194* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
195- new upstream release
196
197* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
198- change category
199
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.