]> git.pld-linux.org Git - packages/kde4-oxygen-icons.git/blame - kde4-oxygen-icons.spec
- merged from DEVEL
[packages/kde4-oxygen-icons.git] / kde4-oxygen-icons.spec
CommitLineData
4aae17ae 1#
2# Conditional build:
3#
221fd55f 4%define _state stable
5%define snap svn1048496
4aae17ae 6%define orgname oxygen-icons
7
8Summary: KDE4 - Oxygen icons
9Summary(pl.UTF-8): Ikony Oxygen dla KDE4
10Name: kde4-oxygen-icons
221fd55f 11Version: 4.4.0
4aae17ae 12Release: 1
13License: GPL v2
14Group: X11/Libraries
221fd55f 15Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2
16# Source0-md5: fbcd429cc822cb88a815d97a4e66be4d
4aae17ae 17URL: http://www.kde.org/
221fd55f 18BuildRequires: cmake >= 2.8.0
4aae17ae 19BuildRequires: rpmbuild(macros) >= 1.293
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24KDE4 - Oxygen Icons.
25
26%description -l pl.UTF-8
27Ikony Oxygen dla KDE4.
28
29%package -n kde4-icons-oxygen
2f5c1238 30Summary: KDE icons - oxygen
31Summary(pl.UTF-8): Motyw ikon do KDE - oxygen
32Group: Themes
33Provides: kde4-icons
34Obsoletes: kde-icons-oxygen
4aae17ae 35
36%description -n kde4-icons-oxygen
37KDE icons - oxygen.
38
39%description -n kde4-icons-oxygen -l pl.UTF-8
40Motyw ikon do KDE - oxygen.
41
42%package -n kde4-icons-oxygen-svg
2f5c1238 43Summary: KDE SVG icons - oxygen
44Summary(pl.UTF-8): Motyw ikon SVG do KDE - oxygen
45Group: Themes
46Provides: kde4-icons
4aae17ae 47
48%description -n kde4-icons-oxygen-svg
49KDE icons - oxygen. This package contains SVG icons.
50
51%description -n kde4-icons-oxygen-svg -l pl.UTF-8
52Motyw ikon do KDE - oxygen. Ten pakiet zawiera ikony SVG.
53
54%prep
55%setup -q -n %{orgname}-%{version}
56
57%build
58install -d build
59cd build
60%cmake .. \
61 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
c4ddae80 62 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
63060fa7 63 -DCMAKE_CXX_COMPILER_WORKS=1 \
221fd55f 64 -DCMAKE_C_COMPILER_WORKS=1 \
4aae17ae 65%if "%{_lib}" == "lib64"
66 -DLIB_SUFFIX=64
67%endif
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
72%{__make} -C build install \
73 DESTDIR=$RPM_BUILD_ROOT
74
75cp -r scalable $RPM_BUILD_ROOT%{_iconsdir}/oxygen/
2f5c1238 76install -d $RPM_BUILD_ROOT%{_iconsdir}/oxygen/42x42/{apps,devices,mimetypes,places}
4aae17ae 77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%files -n kde4-icons-oxygen
82%defattr(644,root,root,755)
83# digikam has it's own icon in digikam.spec
38a4eacc 84%dir %{_iconsdir}/oxygen/256x256
221fd55f 85%dir %{_iconsdir}/oxygen/256x256/actions
38a4eacc 86%dir %{_iconsdir}/oxygen/256x256/apps
fd969b09 87%dir %{_iconsdir}/oxygen/256x256/categories
88%dir %{_iconsdir}/oxygen/256x256/devices
38a4eacc 89%dir %{_iconsdir}/oxygen/256x256/mimetypes
90%dir %{_iconsdir}/oxygen/256x256/places
91%dir %{_iconsdir}/oxygen/256x256/status
2f5c1238 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.*
4aae17ae 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
110
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
This page took 0.135287 seconds and 4 git commands to generate.