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