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

Revision 10965, 4.9 KB checked in by iwaim, 7 years ago (diff)

mate-session-manager 1.16.1-1

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