baloo-widgets-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Name: baloo-widgets
  2. Summary: Widget library for baloo
  3. Summary(ja): baloo 用ウィジェットライブラリ
  4. Version: 4.14.3
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://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: baloo-devel
  12. BuildRequires: kfilemetadata-devel
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: Takemikaduchi
  16. %description
  17. %{summary}.
  18. %package devel
  19. Summary: Development files for kdepim
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  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. %doc COPYING COPYING.LIB COPYING.README
  52. %defattr(-,root,root,-)
  53. %{_libdir}/libbaloowidgets.so.*
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %{_includedir}/kde4/baloo/*
  57. %{_libdir}/libbaloowidgets.so
  58. %{_libdir}/cmake/BalooWidgets/*.cmake
  59. %changelog
  60. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  61. - initial build