mate-themes-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. %define use_gtk3 gtk3.18
  2. Summary: Desktop themes for MATE applications
  3. Name: mate-themes
  4. Version: 1.12.2
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{use_gtk3}-%{version}.tar.xz
  10. BuildArch: noarch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel >= 3.0.0
  13. BuildRequires: gtk2-devel >= 2.0.0
  14. Requires: vine-themes
  15. Requires: gtk-murrine-engine
  16. Requires(postun,posttrans): glib2
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. The mate-themes package contains the standard theme for the MATE
  22. desktop, which provides default appearance for cursors, desktop background,
  23. window borders and GTK+ applications.
  24. %prep
  25. %setup -q -n %{name}-%{use_gtk3}-%{version}
  26. %build
  27. %configure
  28. make %{?_smp_mflags}
  29. %install
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  32. %find_lang %{name}
  33. %post
  34. for t in mate ContrastHigh; do
  35. touch --no-create %{_datadir}/icons/$t &>/dev/null
  36. done
  37. %postun
  38. if [ $1 -eq 0 ] ; then
  39. for t in mate ContrastHigh; do
  40. touch --no-create %{_datadir}/icons/$t &>/dev/null
  41. gtk-update-icon-cache %{_datadir}/icons/$t &>/dev/null || :
  42. done
  43. fi
  44. %posttrans
  45. for t in mate ContrastHigh; do
  46. gtk-update-icon-cache %{_datadir}/icons/$t &>/dev/null || :
  47. done
  48. %files -f %{name}.lang
  49. %defattr(-,root,root,-)
  50. %doc COPYING NEWS ChangeLog
  51. %{_datadir}/icons/ContrastHigh/
  52. %{_datadir}/icons/mate/
  53. %{_datadir}/themes/BlackMATE/
  54. %{_datadir}/themes/BlueMenta/
  55. %{_datadir}/themes/Blue-Submarine
  56. %{_datadir}/themes/ContrastHigh/
  57. %{_datadir}/themes/ContrastHighInverse/
  58. %{_datadir}/themes/GreenLaguna/
  59. %{_datadir}/themes/Green-Submarine/
  60. %{_datadir}/themes/Menta/
  61. %{_datadir}/themes/Shiny/
  62. %{_datadir}/themes/TraditionalGreen/
  63. %{_datadir}/themes/TraditionalOk/
  64. %{_datadir}/themes/TraditionalOkTest/
  65. %changelog
  66. * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  67. - new upstream release
  68. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  69. - new upstream release
  70. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  71. - new upstream release
  72. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.5-2
  73. - replace gtk3.16 source with gtk3.18 source
  74. * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.5-1
  75. - new upstream release
  76. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
  77. - new upstream release
  78. * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1
  79. - new upstream release
  80. * Thu Jul 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  81. - fix typo
  82. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  83. - new upstream release
  84. * Mon Jun 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  85. - initial build