]>
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 |
28096eda | 8 | Version: 4.2.0 |
9 | Release: 3 | |
1cf65df3 | 10 | License: GPL v2 |
11 | Group: X11/Applications | |
12 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 | |
28096eda | 13 | # Source0-md5: d98f805f4c9b7af7278067f9e544b2ec |
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} | |
28096eda | 29 | BuildRequires: phonon-devel >= 4.3.0 |
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 | |
46 | Summary(pl.UTF-8): Motyw dla pulpitu Lancelot | |
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 | |
54 | Motyw dla pulpitu Lancelot. | |
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} \ | |
65 | %if "%{_lib}" != "lib" | |
66 | -DLIB_SUFFIX=64 \ | |
67 | %endif | |
68 | ../ | |
69 | ||
70 | %{__make} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} -C build install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post -p /sbin/ldconfig | |
82 | %postun -p /sbin/ldconfig | |
83 | ||
28096eda | 84 | %post lancelot -p /sbin/ldconfig |
85 | %postun lancelot -p /sbin/ldconfig | |
86 | ||
1cf65df3 | 87 | %files |
88 | %defattr(644,root,root,755) | |
89 | %attr(755,root,root) %{_libdir}/kde4/krunner_*.so | |
28096eda | 90 | %attr(755,root,root) %{_libdir}/kde4/kcm_krunner_*.so |
1cf65df3 | 91 | %attr(755,root,root) %{_libdir}/kde4/plasma_applet_*.so |
92 | %attr(755,root,root) %{_libdir}/kde4/plasma_comic_*.so | |
93 | %attr(755,root,root) %{_libdir}/kde4/plasma_engine_*.so | |
28096eda | 94 | %attr(755,root,root) %{_libdir}/kde4/plasma_packagestructure_comic.so |
1cf65df3 | 95 | %attr(755,root,root) %ghost %{_libdir}/libplasmacomicprovidercore.so.? |
96 | %attr(755,root,root) %{_libdir}/libplasmacomicprovidercore.so.*.*.* | |
28096eda | 97 | %attr(755,root,root) %ghost %{_libdir}/libplasmaconverter.so.? |
98 | %attr(755,root,root) %{_libdir}/libplasmaconverter.so.*.*.* | |
1cf65df3 | 99 | %{_datadir}/apps/desktoptheme/Aya |
100 | %{_datadir}/apps/desktoptheme/Elegance | |
101 | %{_datadir}/apps/desktoptheme/Silicon | |
28096eda | 102 | %dir %{_datadir}/apps/desktoptheme/default/stylesheets |
103 | %{_datadir}/apps/desktoptheme/default/stylesheets/* | |
104 | %dir %{_datadir}/apps/desktoptheme/default/weatherstation | |
105 | %{_datadir}/apps/desktoptheme/default/weatherstation/* | |
1cf65df3 | 106 | %{_datadir}/apps/desktoptheme/default/widgets/* |
107 | %{_datadir}/apps/desktoptheme/heron | |
108 | %{_datadir}/apps/desktoptheme/slim-glow | |
1cf65df3 | 109 | %{_datadir}/kde4/services/*.desktop |
110 | %{_datadir}/kde4/servicetypes/plasma_comicprovider.desktop | |
28096eda | 111 | #%{_iconsdir}/hicolor/scalable/apps/fifteenpuzzle.svgz |
112 | %{_datadir}/config/comic.knsrc | |
113 | %dir %{_datadir}/apps/desktoptheme/default/rssnow | |
114 | %{_datadir}/apps/desktoptheme/default/rssnow/background.svgz | |
115 | %{_datadir}/apps/desktoptheme/default/rssnow/left.svgz | |
116 | %{_datadir}/apps/desktoptheme/default/rssnow/right.svgz | |
117 | %{_datadir}/apps/desktoptheme/default/rssnow/rssnow.svgz | |
118 | %dir %{_datadir}/apps/rssnow | |
119 | %{_datadir}/apps/rssnow/feeds | |
120 | %{_iconsdir}/*/*x*/apps/previewer.png | |
121 | #%{_iconsdir}/oxygen/scalable/apps/bball.svgz | |
122 | %{_datadir}/kde4/services/ServiceMenus/preview.desktop | |
123 | %dir %{_datadir}/apps/bball | |
124 | %{_datadir}/apps/bball/bball.svgz | |
125 | %{_datadir}/apps/bball/bounce.ogg | |
126 | %{_datadir}/apps/bball/football.svgz | |
127 | %{_datadir}/apps/plasma/services/tweet.operations | |
128 | ||
129 | %files lancelot | |
130 | %defattr(644,root,root,755) | |
131 | %attr(755,root,root) %{_bindir}/lancelot | |
132 | %attr(755,root,root) %ghost %{_libdir}/liblancelot.so.? | |
133 | %attr(755,root,root) %{_libdir}/liblancelot.so.*.*.* | |
134 | %{_datadir}/apps/desktoptheme/default/lancelot | |
135 | %{_datadir}/dbus-1/services/org.kde.lancelot.service | |
136 | %{_datadir}/mime/packages/lancelotpart-mime.xml | |
137 | %{_iconsdir}/hicolor/*x*/apps/lancelot.png | |
138 | %{_iconsdir}/hicolor/*x*/apps/lancelot-part.png |