]>
Commit | Line | Data |
---|---|---|
4aae17ae | 1 | # |
2 | # Conditional build: | |
3 | # | |
221fd55f | 4 | %define _state stable |
4aae17ae | 5 | %define orgname oxygen-icons |
6 | ||
7 | Summary: KDE4 - Oxygen icons | |
8 | Summary(pl.UTF-8): Ikony Oxygen dla KDE4 | |
9 | Name: kde4-oxygen-icons | |
5e6c5875 | 10 | Version: 4.14.3 |
2d5a9fee | 11 | Release: 2 |
4aae17ae | 12 | License: GPL v2 |
13 | Group: X11/Libraries | |
258d89b1 | 14 | Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
5e6c5875 | 15 | # Source0-md5: 9eff228b329830b06a5a20fc8e6804a8 |
7c8a436e | 16 | Source1: %{name}-pld_czarny.png |
a726b83a | 17 | Source2: kpld.tar.gz |
18 | # Source2-md5: 1111e8a60b33ad694e91d574233dde0e | |
4aae17ae | 19 | URL: http://www.kde.org/ |
221fd55f | 20 | BuildRequires: cmake >= 2.8.0 |
7a62b6f7 | 21 | BuildRequires: rpmbuild(macros) >= 1.600 |
4aae17ae | 22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | KDE4 - Oxygen Icons. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Ikony Oxygen dla KDE4. | |
30 | ||
31 | %package -n kde4-icons-oxygen | |
2f5c1238 | 32 | Summary: KDE icons - oxygen |
33 | Summary(pl.UTF-8): Motyw ikon do KDE - oxygen | |
34 | Group: Themes | |
35 | Provides: kde4-icons | |
36 | Obsoletes: kde-icons-oxygen | |
4aae17ae | 37 | |
38 | %description -n kde4-icons-oxygen | |
39 | KDE icons - oxygen. | |
40 | ||
41 | %description -n kde4-icons-oxygen -l pl.UTF-8 | |
42 | Motyw ikon do KDE - oxygen. | |
43 | ||
44 | %package -n kde4-icons-oxygen-svg | |
2f5c1238 | 45 | Summary: KDE SVG icons - oxygen |
46 | Summary(pl.UTF-8): Motyw ikon SVG do KDE - oxygen | |
47 | Group: Themes | |
48 | Provides: kde4-icons | |
4aae17ae | 49 | |
50 | %description -n kde4-icons-oxygen-svg | |
51 | KDE icons - oxygen. This package contains SVG icons. | |
52 | ||
53 | %description -n kde4-icons-oxygen-svg -l pl.UTF-8 | |
54 | Motyw ikon do KDE - oxygen. Ten pakiet zawiera ikony SVG. | |
55 | ||
56 | %prep | |
a726b83a | 57 | %setup -q -n %{orgname}-%{version} -a2 |
4aae17ae | 58 | |
59 | %build | |
60 | install -d build | |
61 | cd build | |
7a62b6f7 | 62 | %cmake \ |
63060fa7 | 63 | -DCMAKE_CXX_COMPILER_WORKS=1 \ |
ae0d121e | 64 | -DCMAKE_CXX_COMPILER="%{__cc}" \ |
221fd55f | 65 | -DCMAKE_C_COMPILER_WORKS=1 \ |
7a62b6f7 | 66 | ../ |
4aae17ae | 67 | |
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %{__make} -C build install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
7edac23a | 74 | cp -r scalable $RPM_BUILD_ROOT%{_iconsdir}/oxygen |
2f5c1238 | 75 | install -d $RPM_BUILD_ROOT%{_iconsdir}/oxygen/42x42/{apps,devices,mimetypes,places} |
4aae17ae | 76 | |
7edac23a | 77 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_iconsdir}/oxygen/48x48/apps/pld_czarny.png |
7c8a436e | 78 | |
a726b83a | 79 | # install PLD KMenu icon |
f4ad0f24 | 80 | install kpld/kde16x16.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/16x16/apps/kde-pld.png |
81 | install kpld/kde22x22.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/22x22/apps/kde-pld.png | |
82 | install kpld/kde32x32.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/32x32/apps/kde-pld.png | |
83 | install kpld/kde48x48.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/48x48/apps/kde-pld.png | |
84 | install kpld/kde64x64.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/64x64/apps/kde-pld.png | |
85 | install kpld/kde128x128.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/128x128/apps/kde-pld.png | |
86 | install kpld/kde256x256.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/256x256/apps/kde-pld.png | |
a726b83a | 87 | install kpld/kde.svg $RPM_BUILD_ROOT%{_iconsdir}/oxygen/scalable/apps/kde-pld.svg |
f4ad0f24 | 88 | install kpld/kde16x16.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/16x16/places/start-here-kde.png |
89 | install kpld/kde22x22.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/22x22/places/start-here-kde.png | |
90 | install kpld/kde32x32.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/32x32/places/start-here-kde.png | |
91 | install kpld/kde48x48.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/48x48/places/start-here-kde.png | |
92 | install kpld/kde64x64.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/64x64/places/start-here-kde.png | |
93 | install kpld/kde128x128.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/128x128/places/start-here-kde.png | |
94 | install kpld/kde256x256.png $RPM_BUILD_ROOT%{_iconsdir}/oxygen/256x256/places/start-here-kde.png | |
a726b83a | 95 | |
4aae17ae | 96 | %clean |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %files -n kde4-icons-oxygen | |
100 | %defattr(644,root,root,755) | |
38a4eacc | 101 | %dir %{_iconsdir}/oxygen/256x256 |
221fd55f | 102 | %dir %{_iconsdir}/oxygen/256x256/actions |
38a4eacc | 103 | %dir %{_iconsdir}/oxygen/256x256/apps |
fd969b09 | 104 | %dir %{_iconsdir}/oxygen/256x256/categories |
105 | %dir %{_iconsdir}/oxygen/256x256/devices | |
38a4eacc | 106 | %dir %{_iconsdir}/oxygen/256x256/mimetypes |
107 | %dir %{_iconsdir}/oxygen/256x256/places | |
108 | %dir %{_iconsdir}/oxygen/256x256/status | |
2f5c1238 | 109 | %dir %{_iconsdir}/oxygen/42x42 |
110 | %dir %{_iconsdir}/oxygen/42x42/apps | |
111 | %dir %{_iconsdir}/oxygen/42x42/devices | |
112 | %dir %{_iconsdir}/oxygen/42x42/mimetypes | |
113 | %dir %{_iconsdir}/oxygen/42x42/places | |
7edac23a | 114 | # digikam has it's own icon in digikam.spec |
2f5c1238 | 115 | %exclude %{_iconsdir}/oxygen/*x*/apps/digikam.* |
116 | %exclude %{_iconsdir}/oxygen/*x*/apps/showfoto.* | |
4aae17ae | 117 | %{_iconsdir}/oxygen/*x*/actions/* |
118 | %{_iconsdir}/oxygen/*x*/apps/* | |
119 | %{_iconsdir}/oxygen/*x*/categories/* | |
120 | %{_iconsdir}/oxygen/*x*/devices/* | |
121 | %{_iconsdir}/oxygen/*x*/mimetypes/* | |
122 | %{_iconsdir}/oxygen/*x*/places/* | |
55fb8081 | 123 | %{_iconsdir}/oxygen/*x*/special/* |
4aae17ae | 124 | %{_iconsdir}/oxygen/*x*/status/* |
125 | %{_iconsdir}/oxygen/*x*/animations/* | |
126 | %{_iconsdir}/oxygen/*x*/emblems/* | |
127 | %{_iconsdir}/oxygen/*x*/emotes/* | |
128 | %{_iconsdir}/oxygen/index.theme | |
129 | ||
130 | %files -n kde4-icons-oxygen-svg | |
131 | %defattr(644,root,root,755) | |
132 | %dir %{_iconsdir}/oxygen/scalable | |
133 | # digikam has it's own icon in digikam.spec | |
134 | %exclude %{_iconsdir}/oxygen/scalable/apps/digikam.* | |
1750f68e | 135 | %{_iconsdir}/oxygen/scalable/object-rotate.svgz |
4aae17ae | 136 | %{_iconsdir}/oxygen/scalable/text-formatting.svg |
137 | %{_iconsdir}/oxygen/scalable/actions | |
138 | %{_iconsdir}/oxygen/scalable/apps | |
139 | %{_iconsdir}/oxygen/scalable/categories | |
140 | %{_iconsdir}/oxygen/scalable/devices | |
141 | %{_iconsdir}/oxygen/scalable/emblems | |
142 | %{_iconsdir}/oxygen/scalable/emotes | |
143 | %{_iconsdir}/oxygen/scalable/mimetypes | |
144 | %{_iconsdir}/oxygen/scalable/places | |
55fb8081 | 145 | %{_iconsdir}/oxygen/scalable/special |
4aae17ae | 146 | %{_iconsdir}/oxygen/scalable/status |