source: projects/specs/trunk/k/kdenetwork-strigi-analyzers/kdenetwork-strigi-analyzers-vl.spec @ 7801

Revision 7801, 1.3 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.11.1

Line 
1Name: kdenetwork-strigi-analyzers
2Summary: A meta information plugin for BitTorrent files
3Version: 4.11.1
4Release: 1%{?_dist_release}
5
6License: GPLv2
7Group: Applications/Internet
8URL: http://www.kde.org/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: kdelibs-devel >= %{version}
15BuildRequires: strigi-devel
16BuildRequires: libboost-devel
17
18Vendor: Project Vine
19Distribution: Vine Linux
20Packager: Takemikaduchi
21
22
23%description
24This is a meta information plugin for BitTorrent files (*.torrent).
25
26
27%prep
28%setup -q
29
30%build
31mkdir -p %{_target_platform}
32pushd %{_target_platform}
33%cmake \
34    -DCMAKE_BUILD_TYPE=release \
35    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
36    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
37    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
38    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
39    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
40    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
41    ..
42popd
43
44make %{?_smp_mflags} -C %{_target_platform}
45
46
47%install
48rm -rf $RPM_BUILD_ROOT
49make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
50
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55
56%files
57%defattr(-,root,root)
58%{_libdir}/strigi/strigita_torrent_analyzer.so
59
60
61%changelog
62* Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
63- initial build
64
Note: See TracBrowser for help on using the repository browser.