[9222] | 1 | Name: kfilemetadata |
---|
| 2 | Summary: A library for extracting file metadata |
---|
| 3 | Summary(ja): ファイルのメタデータ抽出ライブラリ |
---|
| 4 | Version: 4.14.3 |
---|
[10547] | 5 | Release: 2%{?_dist_release} |
---|
[9222] | 6 | |
---|
| 7 | License: LGPLv2,LGPLv2.1,LGPLv3 |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: https://www.kde.org/ |
---|
| 10 | |
---|
| 11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: kdelibs-devel |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: Takemikaduchi |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | %{name} |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Development files for kdepim |
---|
| 26 | Summary(ja): %{name} の開発用ファイル |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | Requires: kdelibs-devel |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | Development files for %{name}. |
---|
| 33 | Install %{name}-devel if you want to write or compile %{name} plugins. |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | mkdir -p %{_target_platform} |
---|
| 40 | pushd %{_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 | .. |
---|
| 51 | popd |
---|
| 52 | |
---|
| 53 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 58 | |
---|
| 59 | %post -p /sbin/ldconfig |
---|
| 60 | |
---|
| 61 | %postun -p /sbin/ldconfig |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -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 |
---|
[10547] | 81 | * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2 |
---|
| 82 | - rebuild with gcc-5.4.0 |
---|
| 83 | |
---|
[9222] | 84 | * Wed Dec 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
| 85 | - initial build |
---|