1 | %define major_ver 1.18 |
---|
2 | %define ver %{major_ver}.2 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: The Control Center for MATE |
---|
6 | Name: mate-control-center |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | |
---|
10 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | # Vine patch |
---|
13 | Patch1001: mate-control-center-1.14.0-accountsservice.patch |
---|
14 | |
---|
15 | License: GPLv2 |
---|
16 | Group: User Interface/Desktops |
---|
17 | URL: http://mate-desktop.org/ |
---|
18 | |
---|
19 | BuildRequires: mate-common |
---|
20 | BuildRequires: mate-desktop-devel >= 1.17.0 |
---|
21 | BuildRequires: mate-menus-devel |
---|
22 | BuildRequires: marco-devel |
---|
23 | BuildRequires: mate-settings-daemon-devel |
---|
24 | BuildRequires: libmatekbd-devel |
---|
25 | BuildRequires: libxklavier-devel >= 5.2 |
---|
26 | BuildRequires: librsvg2-devel |
---|
27 | BuildRequires: gtk3-devel >= 3.14 |
---|
28 | BuildRequires: dconf-devel |
---|
29 | BuildRequires: libxml2-devel |
---|
30 | BuildRequires: libSM-devel |
---|
31 | BuildRequires: libXScrnSaver-devel |
---|
32 | BuildRequires: libXext-devel |
---|
33 | BuildRequires: libXxf86misc-devel |
---|
34 | BuildRequires: libcanberra-gtk3-devel |
---|
35 | BuildRequires: dbus-glib-devel |
---|
36 | BuildRequires: accountsservice-devel |
---|
37 | BuildRequires: yelp-tools |
---|
38 | BuildRequires: desktop-file-utils |
---|
39 | BuildRequires: gtk-doc |
---|
40 | BuildRequires: itstool |
---|
41 | BuildRequires: autoconf |
---|
42 | BuildRequires: automake |
---|
43 | |
---|
44 | Requires: gsettings-desktop-schemas |
---|
45 | Requires: accountsservice |
---|
46 | |
---|
47 | Requires(posttrans,postun): glib2 |
---|
48 | Requires(post,postun): desktop-file-utils |
---|
49 | |
---|
50 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
51 | |
---|
52 | Vendor: Project Vine |
---|
53 | Distribution: Vine Linux |
---|
54 | Packager: Takemikaduchi, iwaim |
---|
55 | |
---|
56 | |
---|
57 | %description |
---|
58 | The control center is MATE's main interface for configuration of various |
---|
59 | aspects of your desktop. |
---|
60 | |
---|
61 | |
---|
62 | %package devel |
---|
63 | Summary: Development tools for mate-control-center |
---|
64 | Summary(ja): mate-control-center の開発環境 |
---|
65 | Group: Development/Libraries |
---|
66 | Requires: %{name} = %{version}-%{release} |
---|
67 | Requires: gtk2-devel |
---|
68 | Requires: librsvg2-devel |
---|
69 | Requires: pkgconfig |
---|
70 | |
---|
71 | %description devel |
---|
72 | Header files and libraries for building a extension library for the |
---|
73 | mate-control-center. |
---|
74 | |
---|
75 | |
---|
76 | %prep |
---|
77 | %setup -q |
---|
78 | %patch1001 -p1 -b .accountsservice |
---|
79 | |
---|
80 | %build |
---|
81 | NOCONFIGURE=1 ./autogen.sh |
---|
82 | %configure \ |
---|
83 | --disable-static \ |
---|
84 | --disable-update-mimedb |
---|
85 | |
---|
86 | %{__make} %{?_smp_mflags} |
---|
87 | |
---|
88 | |
---|
89 | %install |
---|
90 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
91 | |
---|
92 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
93 | |
---|
94 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
95 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
96 | |
---|
97 | %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/applications/mimeinfo.cache |
---|
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 | %files -f %{name}.lang |
---|
125 | %defattr(-,root,root,-) |
---|
126 | %doc COPYING ChangeLog NEWS README |
---|
127 | %{_sysconfdir}/xdg/menus/matecc.menu |
---|
128 | %{_bindir}/mate-about-me |
---|
129 | %{_bindir}/mate-appearance-properties |
---|
130 | %{_bindir}/mate-at-properties |
---|
131 | %{_bindir}/mate-control-center |
---|
132 | %{_bindir}/mate-default-applications-properties |
---|
133 | %{_bindir}/mate-display-properties |
---|
134 | %{_bindir}/mate-font-viewer |
---|
135 | %{_bindir}/mate-keybinding-properties |
---|
136 | %{_bindir}/mate-keyboard-properties |
---|
137 | %{_bindir}/mate-mouse-properties |
---|
138 | %{_bindir}/mate-network-properties |
---|
139 | %{_bindir}/mate-thumbnail-font |
---|
140 | %{_bindir}/mate-typing-monitor |
---|
141 | %{_bindir}/mate-window-properties |
---|
142 | %{_libdir}/libmate-window-settings.so.* |
---|
143 | %{_libdir}/libmate-slab.so.* |
---|
144 | %{_libdir}/window-manager-settings/libmarco.so |
---|
145 | %{_sbindir}/mate-display-properties-install-systemwide |
---|
146 | %{_datadir}/applications/*.desktop |
---|
147 | %{_datadir}/desktop-directories/matecc.directory |
---|
148 | %{_datadir}/glib-2.0/schemas/org.mate.control-center.gschema.xml |
---|
149 | %{_datadir}/glib-2.0/schemas/org.mate.control-center.keybinding.gschema.xml |
---|
150 | %{_datadir}/icons/hicolor/*/*/* |
---|
151 | #%{_datadir}/mate/cursor-fonts/* |
---|
152 | %{_datadir}/help/* |
---|
153 | %{_datadir}/%{name} |
---|
154 | %{_datadir}/mime/packages/mate-theme-package.xml |
---|
155 | %{_datadir}/polkit-1/actions/org.mate.randr.policy |
---|
156 | %{_datadir}/thumbnailers/mate-font-viewer.thumbnailer |
---|
157 | %{_mandir}/man1/mate-about-me.1.gz |
---|
158 | %{_mandir}/man1/mate-appearance-properties.1.gz |
---|
159 | %{_mandir}/man1/mate-at-properties.1.gz |
---|
160 | %{_mandir}/man1/mate-control-center.1.gz |
---|
161 | %{_mandir}/man1/mate-default-applications-properties.1.gz |
---|
162 | %{_mandir}/man1/mate-display-properties-install-systemwide.1.gz |
---|
163 | %{_mandir}/man1/mate-display-properties.1.gz |
---|
164 | %{_mandir}/man1/mate-font-viewer.1.gz |
---|
165 | %{_mandir}/man1/mate-keybinding-properties.1.gz |
---|
166 | %{_mandir}/man1/mate-keyboard-properties.1.gz |
---|
167 | %{_mandir}/man1/mate-mouse-properties.1.gz |
---|
168 | %{_mandir}/man1/mate-network-properties.1.gz |
---|
169 | %{_mandir}/man1/mate-thumbnail-font.1.gz |
---|
170 | %{_mandir}/man1/mate-typing-monitor.1.gz |
---|
171 | %{_mandir}/man1/mate-window-properties.1.gz |
---|
172 | |
---|
173 | %files devel |
---|
174 | %defattr(-,root,root,-) |
---|
175 | %{_includedir}/mate-window-settings-2.0 |
---|
176 | %{_includedir}/libmate-slab |
---|
177 | %{_libdir}/libmate-window-settings.so |
---|
178 | %{_libdir}/libmate-slab.so |
---|
179 | %{_libdir}/pkgconfig/mate-default-applications.pc |
---|
180 | %{_libdir}/pkgconfig/mate-keybindings.pc |
---|
181 | %{_libdir}/pkgconfig/mate-slab.pc |
---|
182 | %{_libdir}/pkgconfig/mate-window-settings-2.0.pc |
---|
183 | |
---|
184 | |
---|
185 | %changelog |
---|
186 | * Wed Jan 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
187 | - update to 1.18.2-1 |
---|
188 | |
---|
189 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
190 | - update to 1.18.1 |
---|
191 | - move to GTK3+ |
---|
192 | - add BuildRequires: libxklavier-devel, dbus-glib-devel |
---|
193 | - drop BuildRequires |
---|
194 | - mate-doc-utils |
---|
195 | - unique-devel |
---|
196 | - drop cursor fonts; upstream dropped |
---|
197 | |
---|
198 | * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
199 | - update to 1.16.1 |
---|
200 | |
---|
201 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
202 | - new upstream release |
---|
203 | - update Packager |
---|
204 | |
---|
205 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
206 | - new upstream release |
---|
207 | - update Patch1001 (mate-control-center-1.14.0-accountsservice.patch) |
---|
208 | |
---|
209 | * Sun Jan 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-2 |
---|
210 | - add BuildRequires: accountsservice-devel, yelp-tools |
---|
211 | - add Patch1001 (mate-control-center-1.12.1-accountsservice.patch) |
---|
212 | |
---|
213 | * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
214 | - new upstream release |
---|
215 | - remove Patch1000 (mate-control-center-1.10.1-ja.po.patch) |
---|
216 | |
---|
217 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
218 | - new upstream release |
---|
219 | |
---|
220 | * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
221 | - new upstream release |
---|
222 | |
---|
223 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
224 | - new upstream release |
---|
225 | - update Patch1000 (mate-control-center-1.10.1-ja.po.patch) |
---|
226 | |
---|
227 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-2 |
---|
228 | - add Requires: gsettings-desktop-schemas |
---|
229 | - add Patch1000 (mate-control-center-1.10.0-ja.po.patch) |
---|
230 | |
---|
231 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
232 | - new upstream release |
---|
233 | |
---|
234 | * Sun Feb 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-2 |
---|
235 | - add BuildRequires: librsvg2-devel |
---|
236 | - add Requires: gtk2-devel, librsvg2-devel (-devel subpackage) |
---|
237 | |
---|
238 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-1 |
---|
239 | - new upstream release |
---|
240 | - change BuildRequires: marco-devel instead of mate-window-manager-devel |
---|
241 | |
---|
242 | * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
243 | - new upstream release |
---|
244 | |
---|
245 | * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
246 | - new upstream release |
---|
247 | - add BuildRequires: itstool |
---|
248 | |
---|
249 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
250 | - rebuild with VineSeed environment |
---|
251 | |
---|
252 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
253 | - new upstream release |
---|
254 | |
---|
255 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
256 | - new upstream release |
---|
257 | - remove BuildRequires: mate-conf-devel |
---|
258 | - remove Patch0 (mate-control-center-1.2.1-configure.patch) |
---|
259 | - add BuildRequires: dconf-devel |
---|
260 | |
---|
261 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
262 | - new upstream release |
---|
263 | |
---|
264 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
265 | - new upstream release |
---|
266 | - add Patch0 (mate-control-center-1.2.1-configure.patch) |
---|
267 | |
---|
268 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
269 | - change category |
---|
270 | |
---|
271 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
272 | - initial build for Vine Linux |
---|
273 | |
---|