1 | Name: nepomukcontroller |
---|
2 | Summary: Applet to control the Nepomuk file indexer |
---|
3 | Version: 0.2 |
---|
4 | Release: 4%{?_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 | BuildRequires: shared-desktop-ontologies-devel |
---|
16 | BuildRequires: soprano-devel |
---|
17 | |
---|
18 | #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} } |
---|
19 | |
---|
20 | %description |
---|
21 | Nepomukcontroller is a small systray applet that allows you to |
---|
22 | suspend and resume the Nepomuk file indexer. |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q -n %{name}-%{version} |
---|
26 | |
---|
27 | |
---|
28 | %build |
---|
29 | mkdir -p %{_target_platform} |
---|
30 | pushd %{_target_platform} |
---|
31 | %cmake \ |
---|
32 | -DCMAKE_BUILD_TYPE=release \ |
---|
33 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
34 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
35 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
36 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
37 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
38 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
39 | .. |
---|
40 | popd |
---|
41 | make %{?_smp_mflags} -C %{_target_platform} |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf %{buildroot} |
---|
46 | make install/fast -C %{_target_platform} DESTDIR=%{buildroot} |
---|
47 | |
---|
48 | desktop-file-validate %{buildroot}/%{_datadir}/applications/kde4/nepomukcontroller.desktop |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root,-) |
---|
56 | %{_bindir}/nepomukcontroller |
---|
57 | %{_datadir}/applications/kde4/nepomukcontroller.desktop |
---|
58 | |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-4 |
---|
62 | - added BR: shared-desktop-ontologies-devel, soprano-devel |
---|
63 | |
---|
64 | * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-3 |
---|
65 | - initial package for Vine |
---|
66 | |
---|
67 | * Tue Jan 18 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-2 |
---|
68 | - fix license to LGPLv2 only |
---|
69 | |
---|
70 | * Thu Jan 06 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-1 |
---|
71 | - initial package |
---|