]>
Commit | Line | Data |
---|---|---|
1cf65df3 | 1 | %define orgname kdeplasma-addons |
2 | %define _state unstable | |
3 | %define _qtver 4.4.0 | |
4 | ||
5 | Summary: KDE4 Plasmoids | |
6 | Summary(pl.UTF-8): KDE4 Plasmoids | |
7 | Name: kde4-kdeplasma-addons | |
8 | Version: 4.0.98 | |
7bfd1f89 | 9 | Release: 2 |
1cf65df3 | 10 | License: GPL v2 |
11 | Group: X11/Applications | |
12 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 | |
13 | # Source0-md5: 26f22c591af158c4f4d716f0be904089 | |
14 | BuildRequires: QtCore-devel >= %{_qtver} | |
7bfd1f89 | 15 | BuildRequires: QtOpenGL-devel >= %{_qtver} |
1cf65df3 | 16 | BuildRequires: automoc4 >= 0.9.83 |
17 | BuildRequires: cmake | |
18 | BuildRequires: kde4-kdebase-workspace-devel >= %{version} | |
19 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
20 | BuildRequires: kde4-kdepimlibs-devel >= %{version} | |
21 | BuildRequires: phonon-devel >= 4.1.83 | |
22 | BuildRequires: qt4-build >= %{_qtver} | |
23 | BuildRequires: qt4-qmake >= %{_qtver} | |
24 | BuildRequires: rpmbuild(macros) >= 1.293 | |
25 | Obsoletes: kde4-kdeplasmoids | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Kde4 plasmoids. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Kde4 Plasmoids. | |
33 | ||
34 | %prep | |
35 | %setup -q -n %{orgname}-%{version} | |
36 | ||
37 | %build | |
38 | install -d build | |
39 | cd build | |
40 | %cmake \ | |
41 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
42 | %if "%{_lib}" != "lib" | |
43 | -DLIB_SUFFIX=64 \ | |
44 | %endif | |
45 | ../ | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} -C build install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post -p /sbin/ldconfig | |
59 | %postun -p /sbin/ldconfig | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %attr(755,root,root) %{_libdir}/kde4/krunner_*.so | |
64 | %attr(755,root,root) %{_libdir}/kde4/plasma_applet_*.so | |
65 | %attr(755,root,root) %{_libdir}/kde4/plasma_comic_*.so | |
66 | %attr(755,root,root) %{_libdir}/kde4/plasma_engine_*.so | |
67 | %attr(755,root,root) %ghost %{_libdir}/libplasmaappletdialog.so.? | |
68 | %attr(755,root,root) %{_libdir}/libplasmaappletdialog.so.*.*.* | |
69 | %attr(755,root,root) %ghost %{_libdir}/libplasmacomicprovidercore.so.? | |
70 | %attr(755,root,root) %{_libdir}/libplasmacomicprovidercore.so.*.*.* | |
71 | %{_datadir}/apps/desktoptheme/Aya | |
72 | %{_datadir}/apps/desktoptheme/Elegance | |
73 | %{_datadir}/apps/desktoptheme/Silicon | |
74 | %{_datadir}/apps/desktoptheme/default/widgets/* | |
75 | %{_datadir}/apps/desktoptheme/heron | |
76 | %{_datadir}/apps/desktoptheme/slim-glow | |
77 | %{_datadir}/apps/plasma-bluemarble | |
78 | %{_datadir}/apps/plasma-comic | |
79 | %{_datadir}/kde4/services/*.desktop | |
80 | %{_datadir}/kde4/servicetypes/plasma_comicprovider.desktop | |
81 | %{_iconsdir}/hicolor/scalable/apps/fifteenpuzzle.svgz |