]> git.pld-linux.org Git - packages/mate-icon-theme.git/blob - mate-icon-theme.spec
- up to 1.6.2
[packages/mate-icon-theme.git] / mate-icon-theme.spec
1 Summary:        Icon theme for MATE Desktop
2 Name:           mate-icon-theme
3 Version:        1.6.2
4 Release:        1
5 License:        GPL v2+ and LGPL v2+
6 Group:          Themes
7 Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
8 # Source0-md5:  7130d2554600bfd22bb8fa1f73fd5a2c
9 URL:            http://wiki.mate-desktop.org/mate-icon-theme
10 BuildRequires:  icon-naming-utils >= 0.8.7
11 BuildRequires:  intltool >= 0.40.0
12 BuildRequires:  mate-common
13 BuildRequires:  tar >= 1:1.22
14 BuildRequires:  xz
15 Requires:       gtk-update-icon-cache
16 Obsoletes:      mate-icon-theme-legacy < 1.5.0
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Icon theme for MATE Desktop.
22
23 %package menta
24 Summary:        Menta Icon theme for MATE Desktop
25 Group:          Themes
26 Requires:       %{name} = %{version}-%{release}
27
28 %description menta
29 Menta Icon theme for MATE Desktop.
30
31 %package devel
32 Summary:        Development files for mate-icon-theme
33 Group:          Development/Libraries
34
35 %description devel
36 Development files for mate-icon-theme.
37
38 %prep
39 %setup -q
40
41 %build
42 %configure \
43         --disable-silent-rules \
44         --enable-icon-mapping
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %{__make} install \
50         install_sh="install -p" \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 install -d $RPM_BUILD_ROOT%{_datadir}/icons/mate/scalable/{actions,apps,status}
54 > $RPM_BUILD_ROOT%{_iconsdir}/mate/icon-theme.cache
55 > $RPM_BUILD_ROOT%{_iconsdir}/menta/icon-theme.cache
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post
61 %update_icon_cache mate
62
63 %postun
64 %update_icon_cache mate
65
66 %post menta
67 %update_icon_cache menta
68
69 %postun menta
70 %update_icon_cache menta
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS README
75 %dir %{_iconsdir}/mate
76 %{_iconsdir}/mate/index.theme
77 %{_iconsdir}/mate/[0-9]*x*
78 %ghost %{_iconsdir}/mate/icon-theme.cache
79 %{_iconsdir}/mate/scalable
80
81 %files menta
82 %defattr(644,root,root,755)
83 %dir %{_iconsdir}/menta
84 %{_iconsdir}/menta/[0-9]*x*
85 %{_iconsdir}/menta/scalable
86 %{_iconsdir}/menta/index.theme
87 %ghost %{_iconsdir}/menta/icon-theme.cache
88
89 %files devel
90 %defattr(644,root,root,755)
91 %{_npkgconfigdir}/mate-icon-theme.pc
This page took 0.041773 seconds and 3 git commands to generate.