]> git.pld-linux.org Git - packages/kde4-nepomuk-widgets.git/blob - kde4-nepomuk-widgets.spec
97c64e92892e0a3fdcb3591fd2183df2d691965c
[packages/kde4-nepomuk-widgets.git] / kde4-nepomuk-widgets.spec
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
8 Version:        4.12.0
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
14 # Source0-md5:  ba1076f5db4c8f76a24a09c9ce551f8c
15 BuildRequires:  kde4-nepomuk-core-devel >= %{version}
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
This page took 0.059982 seconds and 2 git commands to generate.