5 %define orgname oxygen-icons
7 Summary: KDE4 - Oxygen icons
8 Summary(pl.UTF-8): Ikony Oxygen dla KDE4
9 Name: kde4-oxygen-icons
14 Source0: ftp://ftp.kde.org/pub/kde/%{state}/%{version}/src/%{orgname}-%{version}.tar.bz2
15 # Source0-md5: 8029e49f68f38f808e4aff16e491c3cb
16 URL: http://www.kde.org/
17 BuildRequires: cmake >= 2.6.1-2
18 BuildRequires: libstdc++-devel
19 BuildRequires: rpmbuild(macros) >= 1.293
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %description -l pl.UTF-8
27 Ikony Oxygen dla KDE4.
29 %package -n kde4-icons-oxygen
30 Summary: KDE icons - oxygen
31 Summary(pl.UTF-8): Motyw ikon do KDE - oxygen
34 Obsoletes: kde-icons-oxygen
36 %description -n kde4-icons-oxygen
39 %description -n kde4-icons-oxygen -l pl.UTF-8
40 Motyw ikon do KDE - oxygen.
42 %package -n kde4-icons-oxygen-svg
43 Summary: KDE SVG icons - oxygen
44 Summary(pl.UTF-8): Motyw ikon SVG do KDE - oxygen
48 %description -n kde4-icons-oxygen-svg
49 KDE icons - oxygen. This package contains SVG icons.
51 %description -n kde4-icons-oxygen-svg -l pl.UTF-8
52 Motyw ikon do KDE - oxygen. Ten pakiet zawiera ikony SVG.
56 %setup -q -n %{orgname}-%{version}
62 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
63 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
64 %if "%{_lib}" == "lib64"
69 rm -rf $RPM_BUILD_ROOT
71 %{__make} -C build install \
72 DESTDIR=$RPM_BUILD_ROOT
74 cp -r scalable $RPM_BUILD_ROOT%{_iconsdir}/oxygen/
75 install -d $RPM_BUILD_ROOT%{_iconsdir}/oxygen/42x42/{apps,devices,mimetypes,places}
78 rm -rf $RPM_BUILD_ROOT
80 %files -n kde4-icons-oxygen
81 %defattr(644,root,root,755)
82 # digikam has it's own icon in digikam.spec
83 %dir %{_iconsdir}/oxygen/256x256
84 %dir %{_iconsdir}/oxygen/256x256/apps
85 %dir %{_iconsdir}/oxygen/256x256/categories
86 %dir %{_iconsdir}/oxygen/256x256/devices
87 %dir %{_iconsdir}/oxygen/256x256/mimetypes
88 %dir %{_iconsdir}/oxygen/256x256/places
89 %dir %{_iconsdir}/oxygen/256x256/status
90 %dir %{_iconsdir}/oxygen/42x42
91 %dir %{_iconsdir}/oxygen/42x42/apps
92 %dir %{_iconsdir}/oxygen/42x42/devices
93 %dir %{_iconsdir}/oxygen/42x42/mimetypes
94 %dir %{_iconsdir}/oxygen/42x42/places
95 %exclude %{_iconsdir}/oxygen/*x*/apps/digikam.*
96 %exclude %{_iconsdir}/oxygen/*x*/apps/showfoto.*
97 %{_iconsdir}/oxygen/*x*/actions/*
98 %{_iconsdir}/oxygen/*x*/apps/*
99 %{_iconsdir}/oxygen/*x*/categories/*
100 %{_iconsdir}/oxygen/*x*/devices/*
101 %{_iconsdir}/oxygen/*x*/mimetypes/*
102 %{_iconsdir}/oxygen/*x*/places/*
103 %{_iconsdir}/oxygen/*x*/status/*
104 %{_iconsdir}/oxygen/*x*/animations/*
105 %{_iconsdir}/oxygen/*x*/emblems/*
106 %{_iconsdir}/oxygen/*x*/emotes/*
107 %{_iconsdir}/oxygen/index.theme
109 %files -n kde4-icons-oxygen-svg
110 %defattr(644,root,root,755)
111 %dir %{_iconsdir}/oxygen/scalable
112 # digikam has it's own icon in digikam.spec
113 %exclude %{_iconsdir}/oxygen/scalable/apps/digikam.*
114 %{_iconsdir}/oxygen/scalable/text-formatting.svg
115 %{_iconsdir}/oxygen/scalable/actions
116 %{_iconsdir}/oxygen/scalable/apps
117 %{_iconsdir}/oxygen/scalable/categories
118 %{_iconsdir}/oxygen/scalable/devices
119 %{_iconsdir}/oxygen/scalable/emblems
120 %{_iconsdir}/oxygen/scalable/emotes
121 %{_iconsdir}/oxygen/scalable/mimetypes
122 %{_iconsdir}/oxygen/scalable/places
123 %{_iconsdir}/oxygen/scalable/status