mate-control-center-vl.spec 6.8 KB

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