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

Revision 10888, 4.7 KB checked in by iwaim, 7 years ago (diff)

mate-session-manager 1.16.0

Line 
1Summary:        The MATE Session Handler
2Name:           mate-session-manager
3Version:        1.16.0
4Release:        1%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.16/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          User Interface/Desktops
8URL:            http://mate-desktop.org/
9
10# patch for Vine
11Patch1001:      mate-session-manager-1.12.2-use-vine-sleep-helper.patch
12Patch1002:      mate-session-manager-1.12.0-mate-wm.patch
13
14BuildRequires:  mate-common
15BuildRequires:  gtk3-devel
16BuildRequires:  dbus-glib-devel
17BuildRequires:  libSM-devel
18BuildRequires:  libXtst-devel
19BuildRequires:  mate-desktop-devel
20BuildRequires:  gtk-doc
21BuildRequires:  autoconf
22BuildRequires:  automake
23
24Requires:       vine-sleep-helper
25Requires(posttrans,postun):     glib2
26Requires(post,postun):  gtk2
27Requires(post,postun):  desktop-file-utils
28
29BuildRoot:      %{_tmppath}/%{name}-%{version}-root
30
31Vendor:         Project Vine
32Distribution:   Vine Linux
33Packager:       Takemikaduchi
34
35
36%description
37mate-session contains the MATE session manager, as well as a
38configuration program to choose applications starting on login.
39
40
41%prep
42%setup -q
43%patch1001 -p1 -b .vine
44%patch1002 -p1 -b .vine
45
46
47%build
48NOCONFIGURE=1 ./autogen.sh
49%configure \
50        --disable-static \
51        --disable-upower \
52        --with-default-wm=mate-wm
53
54%{__make} %{?_smp_mflags}
55
56
57%install
58%{__rm} -rf ${RPM_BUILD_ROOT}
59
60%{__make} install DESTDIR=${RPM_BUILD_ROOT}
61
62find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
63find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
64
65%find_lang %{name}
66
67
68%clean
69%{__rm} -rf ${RPM_BUILD_ROOT}
70
71
72%post
73/sbin/ldconfig
74update-desktop-database %{_datadir}/applications >& /dev/null ||:
75touch --no-create %{_datadir}/icons/hicolor
76/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
77
78%postun
79/sbin/ldconfig
80if [ $1 -eq 0 ]; then
81  update-desktop-database %{_datadir}/applications >& /dev/null ||:
82  touch --no-create %{_datadir}/icons/hicolor
83  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
84  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
85fi
86
87%posttrans
88glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
89
90
91%files -f %{name}.lang
92%defattr(-,root,root,-)
93%doc COPYING ChangeLog NEWS README
94%{_bindir}/mate-session
95%{_bindir}/mate-session-inhibit
96%{_bindir}/mate-session-properties
97%{_bindir}/mate-session-save
98%{_bindir}/mate-wm
99%{_datadir}/applications/mate-session-properties.desktop
100%{_datadir}/applications/mate-wm.desktop
101%{_datadir}/glib-2.0/schemas/org.mate.session.gschema.xml
102%{_datadir}/icons/hicolor/*/*/*
103%{_datadir}/mate-session-manager/gsm-inhibit-dialog.ui
104%{_datadir}/mate-session-manager/session-properties.ui
105%{_datadir}/xsessions/mate.desktop
106%{_mandir}/man1/*.1.gz
107
108
109%changelog
110* Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
111- new upstream release
112- update GTK+ version
113 - BR: gtk3-devel
114
115* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
116- new upstream release
117
118* Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
119- new upstream release
120- update Patch1001 (mate-session-manager-1.12.2-use-vine-sleep-helper.patch)
121
122* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
123- new upstream release
124
125* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
126- new upstream release
127- add Patch1002 (mate-session-manager-1.12.0-mate-wm.patch)
128
129* Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-3
130- add configure option (--with-default-wm=mate-wm)
131
132* Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
133- add Patch1001 (mate-session-manager-1.10.2-use-vine-sleep-helper.patch)
134- add Requires: vine-sleep-helper
135
136* Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
137- new upstream release
138
139* Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
140- new upstream release
141
142* Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
143- new upstream release
144- add BuildRequires: mate-desktop-devel
145
146* Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
147- remove BuildRequires: libupower09-devel
148
149* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
150- new upstream release
151- add BuildRequires: libupower09-devel
152- remove BuildRequires: upower-devel
153
154* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
155- rebuild with VineSeed environment
156
157* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
158- new upstream release
159
160* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
161- new upstream release
162- remove BuildRequires: mate-conf-devel
163
164* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
165- new upstream release
166
167* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
168- new upstream release
169
170* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
171- change category
172
173* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
174- initial build for Vine Linux
175
Note: See TracBrowser for help on using the repository browser.