mate-control-center-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. Summary: The Control Center for MATE
  2. Name: mate-control-center
  3. Version: 1.6.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{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: autoconf
  28. BuildRequires: automake
  29. Requires(posttrans,postun): glib2
  30. Requires(post,postun): desktop-file-utils
  31. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: Takemikaduchi
  35. %description
  36. The control center is MATE's main interface for configuration of various
  37. aspects of your desktop.
  38. %package devel
  39. Summary: Development tools for mate-control-center
  40. Summary(ja): mate-control-center の開発環境
  41. Group: Development/Libraries
  42. Requires: %{name} = %{version}-%{release}
  43. Requires: pkgconfig
  44. %description devel
  45. Header files and libraries for building a extension library for the
  46. mate-control-center.
  47. %prep
  48. %setup -q
  49. %build
  50. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  51. %configure \
  52. --disable-static \
  53. --disable-update-mimedb
  54. %{__make} %{?_smp_mflags}
  55. %install
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  58. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  59. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  60. %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/applications/mimeinfo.cache
  61. %find_lang %{name}
  62. %clean
  63. %{__rm} -rf ${RPM_BUILD_ROOT}
  64. %post
  65. /sbin/ldconfig
  66. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  67. touch --no-create %{_datadir}/icons/hicolor
  68. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  69. %postun
  70. /sbin/ldconfig
  71. if [ $1 -eq 0 ]; then
  72. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  73. touch --no-create %{_datadir}/icons/hicolor
  74. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  75. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  76. fi
  77. %posttrans
  78. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  79. %files -f %{name}.lang
  80. %defattr(-,root,root,-)
  81. %doc COPYING ChangeLog NEWS README
  82. %{_bindir}/mate-*
  83. %{_libdir}/libmate-window-settings.so.*
  84. %{_libdir}/window-manager-settings/libmarco.so
  85. %{_sbindir}/mate-display-properties-install-systemwide
  86. %{_datadir}/MateConf/gsettings/mate-control-center.convert
  87. %{_datadir}/applications/*.desktop
  88. %{_datadir}/glib-2.0/schemas/org.mate.control-center.gschema.xml
  89. %{_datadir}/glib-2.0/schemas/org.mate.control-center.keybinding.gschema.xml
  90. %{_datadir}/icons/hicolor/*/*/*
  91. %{_datadir}/mate/cursor-fonts/*
  92. %{_datadir}/mate/help/%{name}
  93. %{_datadir}/%{name}
  94. %{_datadir}/mime/packages/mate-theme-package.xml
  95. %{_datadir}/omf/%{name}
  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. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  110. - new upstream release
  111. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  112. - new upstream release
  113. - remove BuildRequires: mate-conf-devel
  114. - remove Patch0 (mate-control-center-1.2.1-configure.patch)
  115. - add BuildRequires: dconf-devel
  116. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  117. - new upstream release
  118. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  119. - new upstream release
  120. - add Patch0 (mate-control-center-1.2.1-configure.patch)
  121. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  122. - change category
  123. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  124. - initial build for Vine Linux