]>
Commit | Line | Data |
---|---|---|
7727a64d AM |
1 | %define _state stable |
2 | %define orgname parley | |
3 | ||
4 | Summary: K Desktop Environment - program to help you memorize things | |
5 | Summary(pl.UTF-8): K Desktop Environment - program pomagający w zapamiętywaniu | |
13a84c80 | 6 | Name: kde4-parley |
c25d84f9 | 7 | Version: 4.10.0 |
b2669c15 | 8 | Release: 1 |
7727a64d AM |
9 | License: GPL |
10 | Group: X11/Applications/Graphics | |
4c58db2d | 11 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
c25d84f9 | 12 | # Source0-md5: ce1c5072926d0b324a729247e231acd2 |
7727a64d AM |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: attica-devel | |
4c58db2d PS |
15 | BuildRequires: automoc4 |
16 | BuildRequires: docbook-style-xsl | |
7727a64d | 17 | BuildRequires: kde4-kdelibs-devel >= %{version} |
13a84c80 | 18 | BuildRequires: kde4-libkdeedu-devel >= %{version} |
7727a64d AM |
19 | BuildRequires: libxml2-devel |
20 | BuildRequires: libxslt-devel | |
4c58db2d | 21 | BuildRequires: qt4-build |
7727a64d | 22 | Obsoletes: kde4-kdeedu-parley < 4.7.0 |
13a84c80 | 23 | Obsoletes: parley <= 4.8.0 |
7727a64d AM |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | Parley is a KDE program to help you memorize things. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Parley to program dla KDE pomagający w zapamiętywaniu. | |
31 | ||
32 | %prep | |
33 | %setup -q -n %{orgname}-%{version} | |
34 | ||
35 | %build | |
36 | install -d build | |
37 | cd build | |
38 | %cmake \ | |
39 | .. | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} -C build/ install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT \ | |
47 | kde_htmldir=%{_kdedocdir} | |
48 | ||
13a84c80 | 49 | %find_lang %{orgname} --with-kde |
7727a64d AM |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
13a84c80 | 54 | %files -f %{orgname}.lang |
7727a64d AM |
55 | %defattr(644,root,root,755) |
56 | %attr(755,root,root) %{_bindir}/parley | |
57 | %attr(755,root,root) %{_libdir}/kde4/plasma_applet_parley.so | |
58 | %attr(755,root,root) %{_libdir}/kde4/plasma_engine_parley.so | |
59 | %{_desktopdir}/kde4/parley.desktop | |
60 | %{_datadir}/apps/desktoptheme/default/widgets/parley_plasma_card.svg | |
61 | %{_datadir}/apps/parley | |
62 | %{_datadir}/config.kcfg/*.kcfg | |
63 | %{_datadir}/config/*.knsrc | |
64 | %{_iconsdir}/hicolor/*x*/apps/parley.png | |
65 | %{_iconsdir}/hicolor/scalable/apps/parley*.svgz | |
66 | %{_datadir}/kde4/services/plasma-dataengine-parley.desktop | |
67 | %{_datadir}/kde4/services/plasma_parley.desktop |