mate-control-center-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Summary: The Control Center for MATE
  2. Name: mate-control-center
  3. Version: 1.8.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-desktop-devel
  12. BuildRequires: mate-menus-devel
  13. BuildRequires: mate-window-manager-devel
  14. BuildRequires: mate-settings-daemon-devel
  15. BuildRequires: libmatekbd-devel
  16. BuildRequires: gtk2-devel
  17. BuildRequires: dconf-devel
  18. BuildRequires: libxml2-devel
  19. BuildRequires: libSM-devel
  20. BuildRequires: libXScrnSaver-devel
  21. BuildRequires: libXext-devel
  22. BuildRequires: libXxf86misc-devel
  23. BuildRequires: libcanberra-devel
  24. BuildRequires: unique-devel
  25. BuildRequires: desktop-file-utils
  26. BuildRequires: gtk-doc
  27. BuildRequires: itstool
  28. BuildRequires: autoconf
  29. BuildRequires: automake
  30. Requires(posttrans,postun): glib2
  31. Requires(post,postun): desktop-file-utils
  32. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. Packager: Takemikaduchi
  36. %description
  37. The control center is MATE's main interface for configuration of various
  38. aspects of your desktop.
  39. %package devel
  40. Summary: Development tools for mate-control-center
  41. Summary(ja): mate-control-center の開発環境
  42. Group: Development/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. Requires: pkgconfig
  45. %description devel
  46. Header files and libraries for building a extension library for the
  47. mate-control-center.
  48. %prep
  49. %setup -q
  50. %build
  51. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  52. %configure \
  53. --disable-static \
  54. --disable-update-mimedb
  55. %{__make} %{?_smp_mflags}
  56. %install
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  59. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  60. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  61. %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/applications/mimeinfo.cache
  62. %find_lang %{name}
  63. %clean
  64. %{__rm} -rf ${RPM_BUILD_ROOT}
  65. %post
  66. /sbin/ldconfig
  67. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  68. touch --no-create %{_datadir}/icons/hicolor
  69. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  70. %postun
  71. /sbin/ldconfig
  72. if [ $1 -eq 0 ]; then
  73. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  74. touch --no-create %{_datadir}/icons/hicolor
  75. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  76. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  77. fi
  78. %posttrans
  79. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  80. %files -f %{name}.lang
  81. %defattr(-,root,root,-)
  82. %doc COPYING ChangeLog NEWS README
  83. %{_bindir}/mate-*
  84. %{_libdir}/libmate-window-settings.so.*
  85. %{_libdir}/window-manager-settings/libmarco.so
  86. %{_sbindir}/mate-display-properties-install-systemwide
  87. %{_datadir}/MateConf/gsettings/mate-control-center.convert
  88. %{_datadir}/applications/*.desktop
  89. %{_datadir}/glib-2.0/schemas/org.mate.control-center.gschema.xml
  90. %{_datadir}/glib-2.0/schemas/org.mate.control-center.keybinding.gschema.xml
  91. %{_datadir}/icons/hicolor/*/*/*
  92. %{_datadir}/mate/cursor-fonts/*
  93. %{_datadir}/help/*
  94. %{_datadir}/%{name}
  95. %{_datadir}/mime/packages/mate-theme-package.xml
  96. %{_datadir}/polkit-1/actions/org.mate.randr.policy
  97. %{_datadir}/thumbnailers/mate-font-viewer.thumbnailer
  98. %{_mandir}/man1/mate-about-me.1.gz
  99. %{_mandir}/man1/mate-appearance-properties.1.gz
  100. %{_mandir}/man1/mate-default-applications-properties.1.gz
  101. %files devel
  102. %defattr(-,root,root,-)
  103. %{_includedir}/mate-window-settings-2.0
  104. %{_libdir}/libmate-window-settings.so
  105. %{_libdir}/pkgconfig/mate-default-applications.pc
  106. %{_libdir}/pkgconfig/mate-keybindings.pc
  107. %{_libdir}/pkgconfig/mate-window-settings-2.0.pc
  108. %changelog
  109. * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  110. - new upstream release
  111. - add BuildRequires: itstool
  112. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  113. - rebuild with VineSeed environment
  114. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  115. - new upstream release
  116. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  117. - new upstream release
  118. - remove BuildRequires: mate-conf-devel
  119. - remove Patch0 (mate-control-center-1.2.1-configure.patch)
  120. - add BuildRequires: dconf-devel
  121. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  122. - new upstream release
  123. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  124. - new upstream release
  125. - add Patch0 (mate-control-center-1.2.1-configure.patch)
  126. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  127. - change category
  128. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  129. - initial build for Vine Linux