1 | Name: nepomukcontroller |
---|
2 | Summary: Applet to control the Nepomuk file indexer |
---|
3 | Version: 0.2 |
---|
4 | Release: 3%{?_dist_release} |
---|
5 | |
---|
6 | Group: Applications/System |
---|
7 | License: LGPLv2 |
---|
8 | URL: http://kde-apps.org/content/show.php?content=137088 |
---|
9 | |
---|
10 | Source0: http://kde-apps.org/CONTENT/content-files/137088-%{name}-%{version}.tar.bz2 |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: kdelibs-devel >= 4.5.80 |
---|
14 | BuildRequires: kdebase-runtime |
---|
15 | |
---|
16 | #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} } |
---|
17 | |
---|
18 | %description |
---|
19 | Nepomukcontroller is a small systray applet that allows you to |
---|
20 | suspend and resume the Nepomuk file indexer. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n %{name}-%{version} |
---|
24 | |
---|
25 | |
---|
26 | %build |
---|
27 | mkdir -p %{_target_platform} |
---|
28 | pushd %{_target_platform} |
---|
29 | %cmake \ |
---|
30 | -DCMAKE_BUILD_TYPE=release \ |
---|
31 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
32 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
33 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
34 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
35 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
36 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
37 | .. |
---|
38 | popd |
---|
39 | make %{?_smp_mflags} -C %{_target_platform} |
---|
40 | |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf %{buildroot} |
---|
44 | make install/fast -C %{_target_platform} DESTDIR=%{buildroot} |
---|
45 | |
---|
46 | desktop-file-validate %{buildroot}/%{_datadir}/applications/kde4/nepomukcontroller.desktop |
---|
47 | |
---|
48 | %clean |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %{_bindir}/nepomukcontroller |
---|
55 | %{_datadir}/applications/kde4/nepomukcontroller.desktop |
---|
56 | |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-3 |
---|
60 | - initial package for Vine |
---|
61 | |
---|
62 | * Tue Jan 18 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-2 |
---|
63 | - fix license to LGPLv2 only |
---|
64 | |
---|
65 | * Thu Jan 06 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-1 |
---|
66 | - initial package |
---|