]>
Commit | Line | Data |
---|---|---|
6dd2e643 AM |
1 | # $Revision:$, $Date:$ |
2 | %define _state stable | |
3 | %define orgname nepomuk-widgets | |
4 | %define qtver 4.8.3 | |
5 | ||
6 | Summary: Nepomuk Widgets utilities and libraries | |
7 | Name: kde4-nepomuk-widgets | |
e627f91b | 8 | Version: 4.13.1 |
6dd2e643 AM |
9 | Release: 1 |
10 | License: LGPLv2 or LGPLv3 | |
11 | Group: X11/Applications | |
12 | URL: http://www.kde.org/ | |
13 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz | |
e627f91b | 14 | # Source0-md5: a605f5908dd186f9372f94ac8034e52e |
9485f880 | 15 | BuildRequires: kde4-nepomuk-core-devel >= %{version} |
6dd2e643 AM |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | Nepomuk Widgets utilities. | |
20 | ||
21 | %package devel | |
22 | Summary: Developer files for %{name} | |
23 | Group: X11/Development/Libraries | |
24 | Requires: %{name} = %{version}-%{release} | |
25 | ||
26 | %description devel | |
27 | Nepomuk Widgets development files and libraries. | |
28 | ||
29 | %prep | |
30 | %setup -q -n %{orgname}-%{version} | |
31 | ||
32 | %build | |
33 | install -d build | |
34 | cd build | |
35 | %cmake \ | |
36 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ | |
37 | -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \ | |
38 | -DKDE4_ENABLE_FINAL=OFF \ | |
39 | ../ | |
40 | ||
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} -C build install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %post -p /sbin/ldconfig | |
53 | %postun -p /sbin/ldconfig | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %attr(755,root,root) %{_libdir}/libnepomukwidgets.so.*.*.* | |
58 | %attr(755,root,root) %ghost %{_libdir}/libnepomukwidgets.so.? | |
59 | ||
60 | %files devel | |
61 | %defattr(644,root,root,755) | |
62 | %{_includedir}/nepomuk2 | |
63 | %{_libdir}/cmake/NepomukWidgets | |
64 | %attr(755,root,root) %{_libdir}/libnepomukwidgets.so |