]>
Commit | Line | Data |
---|---|---|
1cf65df3 | 1 | %define orgname kdeplasma-addons |
57887d81 | 2 | %define _state stable |
28096eda | 3 | %define _qtver 4.4.3 |
1cf65df3 | 4 | |
5 | Summary: KDE4 Plasmoids | |
b4bc4746 | 6 | Summary(pl.UTF-8): Plazmoidy dla KDE4 |
1cf65df3 | 7 | Name: kde4-kdeplasma-addons |
f1ec62d6 | 8 | Version: 4.2.1 |
9 | Release: 1 | |
1cf65df3 | 10 | License: GPL v2 |
11 | Group: X11/Applications | |
12 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 | |
f1ec62d6 | 13 | # Source0-md5: 55219414d52924cb22ea2953cd2ae78b |
28096eda | 14 | Patch0: %{name}-pastebinpld.patch |
7ab2d436 | 15 | URL: http://www.kde.org/ |
22957f69 | 16 | BuildRequires: OpenGL-GLU-devel |
ae48935e | 17 | BuildRequires: OpenGL-devel |
1cf65df3 | 18 | BuildRequires: QtCore-devel >= %{_qtver} |
75f86cc0 | 19 | BuildRequires: QtNetwork-devel >= %{_qtver} |
ae48935e | 20 | BuildRequires: QtOpenGL-devel >= %{_qtver} |
28096eda | 21 | BuildRequires: QtScript-devel >= %{_qtver} |
75f86cc0 | 22 | BuildRequires: QtSvg-devel >= %{_qtver} |
28096eda | 23 | BuildRequires: QtWebKit-devel >= %{_qtver} |
24 | BuildRequires: automoc4 >= 0.9.88 | |
25 | BuildRequires: cmake >= 2.6.2 | |
1cf65df3 | 26 | BuildRequires: kde4-kdebase-workspace-devel >= %{version} |
27 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
28 | BuildRequires: kde4-kdepimlibs-devel >= %{version} | |
f1ec62d6 | 29 | BuildRequires: phonon-devel >= 4.3.1 |
1cf65df3 | 30 | BuildRequires: qt4-build >= %{_qtver} |
31 | BuildRequires: qt4-qmake >= %{_qtver} | |
32 | BuildRequires: rpmbuild(macros) >= 1.293 | |
28096eda | 33 | BuildRequires: strigi-devel >= 0.6.3 |
75f86cc0 | 34 | BuildRequires: xorg-lib-libXtst-devel |
1cf65df3 | 35 | Obsoletes: kde4-kdeplasmoids |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
37 | ||
38 | %description | |
b4bc4746 | 39 | KDE4 plasmoids. |
1cf65df3 | 40 | |
41 | %description -l pl.UTF-8 | |
b4bc4746 | 42 | Plazmoidy dla KDE4. |
1cf65df3 | 43 | |
28096eda | 44 | %package lancelot |
45 | Summary: Lancelot Desktop Theme | |
72db3ff2 | 46 | Summary(pl.UTF-8): Motyw pulpitu Lancelot |
28096eda | 47 | Group: X11/Applications |
48 | Requires: kde4-kdebase-workspace >= %{version} | |
49 | ||
50 | %description lancelot | |
51 | Lancelot Desktop Theme. | |
52 | ||
53 | %description lancelot -l pl.UTF-8 | |
72db3ff2 | 54 | Motyw pulpitu Lancelot. |
28096eda | 55 | |
1cf65df3 | 56 | %prep |
57 | %setup -q -n %{orgname}-%{version} | |
28096eda | 58 | %patch0 -p1 |
1cf65df3 | 59 | |
60 | %build | |
61 | install -d build | |
62 | cd build | |
63 | %cmake \ | |
64 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
3e988c31 | 65 | -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \ |
1cf65df3 | 66 | %if "%{_lib}" != "lib" |
67 | -DLIB_SUFFIX=64 \ | |
68 | %endif | |
69 | ../ | |
70 | ||
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} -C build install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %post -p /sbin/ldconfig | |
83 | %postun -p /sbin/ldconfig | |
84 | ||
28096eda | 85 | %post lancelot -p /sbin/ldconfig |
86 | %postun lancelot -p /sbin/ldconfig | |
87 | ||
1cf65df3 | 88 | %files |
89 | %defattr(644,root,root,755) | |
90 | %attr(755,root,root) %{_libdir}/kde4/krunner_*.so | |
28096eda | 91 | %attr(755,root,root) %{_libdir}/kde4/kcm_krunner_*.so |
1cf65df3 | 92 | %attr(755,root,root) %{_libdir}/kde4/plasma_applet_*.so |
93 | %attr(755,root,root) %{_libdir}/kde4/plasma_comic_*.so | |
94 | %attr(755,root,root) %{_libdir}/kde4/plasma_engine_*.so | |
28096eda | 95 | %attr(755,root,root) %{_libdir}/kde4/plasma_packagestructure_comic.so |
1cf65df3 | 96 | %attr(755,root,root) %ghost %{_libdir}/libplasmacomicprovidercore.so.? |
97 | %attr(755,root,root) %{_libdir}/libplasmacomicprovidercore.so.*.*.* | |
28096eda | 98 | %attr(755,root,root) %ghost %{_libdir}/libplasmaconverter.so.? |
99 | %attr(755,root,root) %{_libdir}/libplasmaconverter.so.*.*.* | |
1cf65df3 | 100 | %{_datadir}/apps/desktoptheme/Aya |
101 | %{_datadir}/apps/desktoptheme/Elegance | |
102 | %{_datadir}/apps/desktoptheme/Silicon | |
28096eda | 103 | %dir %{_datadir}/apps/desktoptheme/default/stylesheets |
104 | %{_datadir}/apps/desktoptheme/default/stylesheets/* | |
105 | %dir %{_datadir}/apps/desktoptheme/default/weatherstation | |
106 | %{_datadir}/apps/desktoptheme/default/weatherstation/* | |
1cf65df3 | 107 | %{_datadir}/apps/desktoptheme/default/widgets/* |
108 | %{_datadir}/apps/desktoptheme/heron | |
109 | %{_datadir}/apps/desktoptheme/slim-glow | |
1cf65df3 | 110 | %{_datadir}/kde4/services/*.desktop |
111 | %{_datadir}/kde4/servicetypes/plasma_comicprovider.desktop | |
28096eda | 112 | #%{_iconsdir}/hicolor/scalable/apps/fifteenpuzzle.svgz |
113 | %{_datadir}/config/comic.knsrc | |
114 | %dir %{_datadir}/apps/desktoptheme/default/rssnow | |
115 | %{_datadir}/apps/desktoptheme/default/rssnow/background.svgz | |
116 | %{_datadir}/apps/desktoptheme/default/rssnow/left.svgz | |
117 | %{_datadir}/apps/desktoptheme/default/rssnow/right.svgz | |
118 | %{_datadir}/apps/desktoptheme/default/rssnow/rssnow.svgz | |
119 | %dir %{_datadir}/apps/rssnow | |
120 | %{_datadir}/apps/rssnow/feeds | |
121 | %{_iconsdir}/*/*x*/apps/previewer.png | |
122 | #%{_iconsdir}/oxygen/scalable/apps/bball.svgz | |
123 | %{_datadir}/kde4/services/ServiceMenus/preview.desktop | |
124 | %dir %{_datadir}/apps/bball | |
125 | %{_datadir}/apps/bball/bball.svgz | |
126 | %{_datadir}/apps/bball/bounce.ogg | |
127 | %{_datadir}/apps/bball/football.svgz | |
f1ec62d6 | 128 | %{_datadir}/apps/plasma-bluemarble |
28096eda | 129 | %{_datadir}/apps/plasma/services/tweet.operations |
130 | ||
131 | %files lancelot | |
132 | %defattr(644,root,root,755) | |
133 | %attr(755,root,root) %{_bindir}/lancelot | |
134 | %attr(755,root,root) %ghost %{_libdir}/liblancelot.so.? | |
135 | %attr(755,root,root) %{_libdir}/liblancelot.so.*.*.* | |
136 | %{_datadir}/apps/desktoptheme/default/lancelot | |
137 | %{_datadir}/dbus-1/services/org.kde.lancelot.service | |
138 | %{_datadir}/mime/packages/lancelotpart-mime.xml | |
139 | %{_iconsdir}/hicolor/*x*/apps/lancelot.png | |
140 | %{_iconsdir}/hicolor/*x*/apps/lancelot-part.png |