5 %define orgname oxygen-icons
8 Summary: KDE4 - Oxygen icons
9 Summary(pl.UTF-8): Ikony Oxygen dla KDE4
10 Name: kde4-oxygen-icons
15 #Source0: ftp://ftp.kde.org/pub/kde/%{state}/%{version}/src/%{orgname}-%{version}svn%{svn}.tar.bz2
16 Source0: ftp://ftp.kde.org/pub/kde/%{state}/%{version}/src/%{orgname}-%{version}.tar.bz2
17 # Source0-md5: 95fd0245065f27c8a1f47337310fe9cf
18 URL: http://www.kde.org/
19 BuildRequires: cmake >= 2.6.1-2
20 BuildRequires: rpmbuild(macros) >= 1.293
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %description -l pl.UTF-8
28 Ikony Oxygen dla KDE4.
30 %package -n kde4-icons-oxygen
31 Summary: KDE icons - oxygen
32 Summary(pl.UTF-8): Motyw ikon do KDE - oxygen
35 Obsoletes: kde-icons-oxygen
37 %description -n kde4-icons-oxygen
40 %description -n kde4-icons-oxygen -l pl.UTF-8
41 Motyw ikon do KDE - oxygen.
43 %package -n kde4-icons-oxygen-svg
44 Summary: KDE SVG icons - oxygen
45 Summary(pl.UTF-8): Motyw ikon SVG do KDE - oxygen
49 %description -n kde4-icons-oxygen-svg
50 KDE icons - oxygen. This package contains SVG icons.
52 %description -n kde4-icons-oxygen-svg -l pl.UTF-8
53 Motyw ikon do KDE - oxygen. Ten pakiet zawiera ikony SVG.
57 %setup -q -n %{orgname}-%{version}
58 #%setup -q -n %{orgname}-%{version}svn%{svn}
64 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
65 -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
66 %if "%{_lib}" == "lib64"
71 rm -rf $RPM_BUILD_ROOT
73 %{__make} -C build install \
74 DESTDIR=$RPM_BUILD_ROOT
76 cp -r scalable $RPM_BUILD_ROOT%{_iconsdir}/oxygen/
77 install -d $RPM_BUILD_ROOT%{_iconsdir}/oxygen/42x42/{apps,devices,mimetypes,places}
80 rm -rf $RPM_BUILD_ROOT
82 %files -n kde4-icons-oxygen
83 %defattr(644,root,root,755)
84 # digikam has it's own icon in digikam.spec
85 %dir %{_iconsdir}/oxygen/256x256
86 %dir %{_iconsdir}/oxygen/256x256/apps
87 %dir %{_iconsdir}/oxygen/256x256/categories
88 %dir %{_iconsdir}/oxygen/256x256/devices
89 %dir %{_iconsdir}/oxygen/256x256/mimetypes
90 %dir %{_iconsdir}/oxygen/256x256/places
91 %dir %{_iconsdir}/oxygen/256x256/status
92 %dir %{_iconsdir}/oxygen/42x42
93 %dir %{_iconsdir}/oxygen/42x42/apps
94 %dir %{_iconsdir}/oxygen/42x42/devices
95 %dir %{_iconsdir}/oxygen/42x42/mimetypes
96 %dir %{_iconsdir}/oxygen/42x42/places
97 %exclude %{_iconsdir}/oxygen/*x*/apps/digikam.*
98 %exclude %{_iconsdir}/oxygen/*x*/apps/showfoto.*
99 %{_iconsdir}/oxygen/*x*/actions/*
100 %{_iconsdir}/oxygen/*x*/apps/*
101 %{_iconsdir}/oxygen/*x*/categories/*
102 %{_iconsdir}/oxygen/*x*/devices/*
103 %{_iconsdir}/oxygen/*x*/mimetypes/*
104 %{_iconsdir}/oxygen/*x*/places/*
105 %{_iconsdir}/oxygen/*x*/status/*
106 %{_iconsdir}/oxygen/*x*/animations/*
107 %{_iconsdir}/oxygen/*x*/emblems/*
108 %{_iconsdir}/oxygen/*x*/emotes/*
109 %{_iconsdir}/oxygen/index.theme
111 %files -n kde4-icons-oxygen-svg
112 %defattr(644,root,root,755)
113 %dir %{_iconsdir}/oxygen/scalable
114 # digikam has it's own icon in digikam.spec
115 %exclude %{_iconsdir}/oxygen/scalable/apps/digikam.*
116 %{_iconsdir}/oxygen/scalable/text-formatting.svg
117 %{_iconsdir}/oxygen/scalable/actions
118 %{_iconsdir}/oxygen/scalable/apps
119 %{_iconsdir}/oxygen/scalable/categories
120 %{_iconsdir}/oxygen/scalable/devices
121 %{_iconsdir}/oxygen/scalable/emblems
122 %{_iconsdir}/oxygen/scalable/emotes
123 %{_iconsdir}/oxygen/scalable/mimetypes
124 %{_iconsdir}/oxygen/scalable/places
125 %{_iconsdir}/oxygen/scalable/status