kfilemetadata-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Name: kfilemetadata
  2. Summary: A library for extracting file metadata
  3. Summary(ja): ファイルのメタデータ抽出ライブラリ
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: LGPLv2,LGPLv2.1,LGPLv3
  7. Group: System Environment/Libraries
  8. URL: https://www.kde.org/
  9. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs-devel
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: Takemikaduchi
  15. %description
  16. %{name}
  17. %package devel
  18. Summary: Development files for kdepim
  19. Summary(ja): %{name} の開発用ファイル
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: kdelibs-devel
  23. %description devel
  24. Development files for %{name}.
  25. Install %{name}-devel if you want to write or compile %{name} plugins.
  26. %prep
  27. %setup -q
  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. -DKDEPIM_BUILD_MOBILE:BOOL=OFF \
  40. ..
  41. popd
  42. make %{?_smp_mflags} -C %{_target_platform}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %defattr(-,root,root,-)
  52. %doc COPYING-CMAKE-SCRIPTS COPYING.LGPL-2 COPYING.LGPL-2.1 COPYING.LGPL-3
  53. %{_libdir}/libkfilemetadata.so.*
  54. %{_libdir}/kde4/*.so
  55. %{_datadir}/kde4/services/*.desktop
  56. %{_datadir}/kde4/servicetypes//*.desktop
  57. %files devel
  58. %defattr(-,root,root)
  59. %{_includedir}/kde4/%{name}
  60. %{_libdir}/libkfilemetadata.so
  61. %{_libdir}/cmake/KFileMetaData/*.cmake
  62. %changelog
  63. * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  64. - rebuild with gcc-5.4.0
  65. * Wed Dec 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  66. - initial build