1 | %define major_ver 1.20 |
---|
2 | %define ver %{major_ver}.0 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: Screensaver for MATE |
---|
6 | Name: mate-screensaver |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
10 | Source1: %{name}.pam |
---|
11 | |
---|
12 | License: GPLv2 and LGPLv2 |
---|
13 | Group: User Interface/Desktops |
---|
14 | URL: http://mate-desktop.org/ |
---|
15 | |
---|
16 | # for Vine Linux |
---|
17 | Patch1001: mate-screensaver-1.12.0-accountsservice.patch |
---|
18 | |
---|
19 | BuildRequires: mate-common |
---|
20 | BuildRequires: mate-desktop-devel >= 1.17.0 |
---|
21 | BuildRequires: mate-menus-devel |
---|
22 | BuildRequires: libmatekbd-devel |
---|
23 | BuildRequires: libnotify-devel |
---|
24 | BuildRequires: gtk3-devel |
---|
25 | BuildRequires: dbus-glib-devel |
---|
26 | BuildRequires: libSM-devel |
---|
27 | BuildRequires: libXScrnSaver-devel |
---|
28 | BuildRequires: libXxf86misc-devel |
---|
29 | BuildRequires: pam-devel |
---|
30 | BuildRequires: accountsservice-devel |
---|
31 | BuildRequires: gtk-doc |
---|
32 | BuildRequires: autoconf |
---|
33 | BuildRequires: automake |
---|
34 | |
---|
35 | Requires(posttrans,postun): glib2 |
---|
36 | Requires(post,postun): gtk2 |
---|
37 | Requires(post,postun): desktop-file-utils |
---|
38 | Requires: accountsservice |
---|
39 | |
---|
40 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
41 | |
---|
42 | Vendor: Project Vine |
---|
43 | Distribution: Vine Linux |
---|
44 | Packager: Takemikaduchi, iwaim |
---|
45 | |
---|
46 | |
---|
47 | %description |
---|
48 | mate-screensaver is a screen saver and locker that aims to have |
---|
49 | simple, sane, secure defaults and be well integrated with the desktop. |
---|
50 | It is designed to support: |
---|
51 | |
---|
52 | * the ability to lock down configuration settings |
---|
53 | * translation into many languages |
---|
54 | * user switching |
---|
55 | |
---|
56 | |
---|
57 | %package devel |
---|
58 | Summary: Development tools for mate-screensaver |
---|
59 | Summary(ja): mate-screensaver の開発環境 |
---|
60 | Group: Development/Libraries |
---|
61 | Requires: %{name} = %{version}-%{release} |
---|
62 | Requires: pkgconfig |
---|
63 | |
---|
64 | %description devel |
---|
65 | Header files and libraries for building a extension library for the |
---|
66 | mate-screensaver. |
---|
67 | |
---|
68 | |
---|
69 | %prep |
---|
70 | %setup -q |
---|
71 | %patch1001 -p1 -b .vine |
---|
72 | |
---|
73 | %build |
---|
74 | NOCONFIGURE=1 ./autogen.sh |
---|
75 | %configure \ |
---|
76 | --libexecdir=%{_libexecdir}/mate \ |
---|
77 | --disable-static \ |
---|
78 | --without-systemd \ |
---|
79 | --enable-pam=yes |
---|
80 | |
---|
81 | %{__make} %{?_smp_mflags} |
---|
82 | |
---|
83 | |
---|
84 | %install |
---|
85 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
86 | |
---|
87 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
88 | |
---|
89 | mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d |
---|
90 | install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/mate-screensaver |
---|
91 | |
---|
92 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
93 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
94 | |
---|
95 | # conflict with gnome-screensaver |
---|
96 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/backgrounds/cosmos |
---|
97 | %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/gnome-logo-white.svg |
---|
98 | |
---|
99 | %find_lang %{name} |
---|
100 | |
---|
101 | |
---|
102 | %clean |
---|
103 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
104 | |
---|
105 | %post |
---|
106 | /sbin/ldconfig |
---|
107 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
108 | touch --no-create %{_datadir}/icons/hicolor |
---|
109 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
110 | |
---|
111 | %postun |
---|
112 | /sbin/ldconfig |
---|
113 | if [ $1 -eq 0 ]; then |
---|
114 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
115 | touch --no-create %{_datadir}/icons/hicolor |
---|
116 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
117 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
118 | fi |
---|
119 | |
---|
120 | %posttrans |
---|
121 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
122 | |
---|
123 | |
---|
124 | |
---|
125 | %files -f %{name}.lang |
---|
126 | %defattr(-,root,root,-) |
---|
127 | %doc COPYING* ChangeLog NEWS README |
---|
128 | %{_sysconfdir}/pam.d/mate-screensaver |
---|
129 | %{_sysconfdir}/xdg/autostart/mate-screensaver.desktop |
---|
130 | %{_sysconfdir}/xdg/menus/mate-screensavers.menu |
---|
131 | %{_bindir}/mate-screensaver |
---|
132 | %{_bindir}/mate-screensaver-command |
---|
133 | %{_bindir}/mate-screensaver-preferences |
---|
134 | %{_libexecdir}/mate/mate-screensaver |
---|
135 | %{_libexecdir}/mate/mate-screensaver-dialog |
---|
136 | %{_libexecdir}/mate/mate-screensaver-gl-helper |
---|
137 | %{_datadir}/applications/mate-screensaver-preferences.desktop |
---|
138 | %{_datadir}/applications/screensavers/*.desktop |
---|
139 | %{_datadir}/dbus-1/services/org.mate.ScreenSaver.service |
---|
140 | %{_datadir}/desktop-directories/mate-screensaver.directory |
---|
141 | %{_datadir}/glib-2.0/schemas/org.mate.screensaver.gschema.xml |
---|
142 | %{_datadir}/mate-background-properties/cosmos.xml |
---|
143 | %{_datadir}/%{name} |
---|
144 | %{_datadir}/pixmaps/mate-logo-white.svg |
---|
145 | %{_mandir}/man1/*.1.gz |
---|
146 | |
---|
147 | %files devel |
---|
148 | %defattr(-,root,root,-) |
---|
149 | %{_libdir}/pkgconfig/mate-screensaver.pc |
---|
150 | |
---|
151 | |
---|
152 | %changelog |
---|
153 | * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1 |
---|
154 | - update to 1.20.0 |
---|
155 | |
---|
156 | * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
157 | - update to 1.18.2 |
---|
158 | |
---|
159 | * Fri May 05 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
160 | - update to 1.18.1 |
---|
161 | |
---|
162 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
163 | - update to 1.18.0 |
---|
164 | - move to GTK3+ |
---|
165 | - drop BR: mate-doc-utils |
---|
166 | |
---|
167 | * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
168 | - update to 1.16.1 |
---|
169 | |
---|
170 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
171 | - new upstream release |
---|
172 | - update License |
---|
173 | - update Packager |
---|
174 | |
---|
175 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
182 | - add BuildRequires: accountsservice-devel |
---|
183 | - add Patch1001 (mate-screensaver-1.12.0-accountsservice.patch) |
---|
184 | |
---|
185 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
186 | - new upstream release |
---|
187 | |
---|
188 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
189 | - new upstream release |
---|
190 | |
---|
191 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
192 | - new upstream release |
---|
193 | |
---|
194 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
195 | - new upstream release |
---|
196 | - remove Patch1000 (mate-screensaver-1.8.0-ja.po.patch) |
---|
197 | |
---|
198 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
199 | - new upstream release |
---|
200 | |
---|
201 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
202 | - add Patch1000 (mate-screensaver-1.8.0-ja.po.patch) |
---|
203 | |
---|
204 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
205 | - new upstream release |
---|
206 | |
---|
207 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
208 | - rebuild with VineSeed environment |
---|
209 | |
---|
210 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
211 | - new upstream release |
---|
212 | |
---|
213 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
214 | - new upstream release |
---|
215 | - remove BuildRequires: mate-conf-devel, libmatenotify-devel |
---|
216 | - add BuildRequires: libnotify-devel, pam-devel |
---|
217 | |
---|
218 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
219 | - new upstream release |
---|
220 | |
---|
221 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
222 | - new upstream release |
---|
223 | |
---|
224 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
225 | - change category |
---|
226 | |
---|
227 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
228 | - initial build for Vine Linux |
---|
229 | |
---|