mate-control-center-vl.spec 8.1 KB

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