source: projects/specs/trunk/k/kfilemetadata/kfilemetadata-vl.spec @ 9222

Revision 9222, 1.9 KB checked in by Takemikaduchi, 8 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

Line 
1Name: kfilemetadata
2Summary: A library for extracting file metadata
3Summary(ja): ファイルのメタデータ抽出ライブラリ
4Version: 4.14.3
5Release: 1%{?_dist_release}
6
7License: LGPLv2,LGPLv2.1,LGPLv3
8Group: System Environment/Libraries
9URL: https://www.kde.org/
10
11Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs-devel
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: Takemikaduchi
20
21%description
22%{name}
23
24%package devel
25Summary: Development files for kdepim
26Summary(ja): %{name} の開発用ファイル
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: kdelibs-devel
30
31%description devel
32Development files for %{name}.
33Install %{name}-devel if you want to write or compile %{name} plugins.
34
35%prep
36%setup -q
37
38%build
39mkdir -p %{_target_platform}
40pushd %{_target_platform}
41%cmake \
42    -DCMAKE_BUILD_TYPE=release \
43    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
44    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
45    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
46    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
47    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
48    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
49    -DKDEPIM_BUILD_MOBILE:BOOL=OFF \
50    ..
51popd
52
53make %{?_smp_mflags} -C %{_target_platform}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
58
59%post -p /sbin/ldconfig
60
61%postun -p /sbin/ldconfig
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(-,root,root,-)
68%doc COPYING-CMAKE-SCRIPTS COPYING.LGPL-2 COPYING.LGPL-2.1 COPYING.LGPL-3
69%{_libdir}/libkfilemetadata.so.*
70%{_libdir}/kde4/*.so
71%{_datadir}/kde4/services/*.desktop
72%{_datadir}/kde4/servicetypes//*.desktop
73
74%files devel
75%defattr(-,root,root)
76%{_includedir}/kde4/%{name}
77%{_libdir}/libkfilemetadata.so
78%{_libdir}/cmake/KFileMetaData/*.cmake
79
80%changelog
81* Wed Dec 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
82- initial build
Note: See TracBrowser for help on using the repository browser.