source: projects/specs/branches/6/n/nepomukcontroller/nepomukcontroller-vl.spec @ 2791

Revision 2791, 1.9 KB checked in by inagaki, 13 years ago (diff)

update: nepomukcontroller

Line 
1Name:           nepomukcontroller
2Summary:        Applet to control the Nepomuk file indexer
3Version:        0.2
4Release:        4%{?_dist_release}
5
6Group:          Applications/System
7License:        LGPLv2
8URL:            http://kde-apps.org/content/show.php?content=137088
9
10Source0:        http://kde-apps.org/CONTENT/content-files/137088-%{name}-%{version}.tar.bz2
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  kdelibs-devel >= 4.5.80
14BuildRequires:  kdebase-runtime
15BuildRequires:  shared-desktop-ontologies-devel
16BuildRequires:  soprano-devel
17
18#{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
19
20%description
21Nepomukcontroller is a small systray applet that allows you to
22suspend and resume the Nepomuk file indexer.
23
24%prep
25%setup -q -n %{name}-%{version}
26
27
28%build
29mkdir -p %{_target_platform}
30pushd %{_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    ..
40popd
41make %{?_smp_mflags} -C %{_target_platform}
42
43
44%install
45rm -rf %{buildroot}
46make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
47
48desktop-file-validate %{buildroot}/%{_datadir}/applications/kde4/nepomukcontroller.desktop
49
50%clean
51rm -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
Note: See TracBrowser for help on using the repository browser.