nepomuk-widgets-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: nepomuk-widgets
  2. Summary: Nepomuk Widgets library
  3. Summary(ja): Nepomuk widget ライブラリ
  4. Version: 4.12.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2,LGPLv2
  7. Group: User Interface/Desktops
  8. URL: http://nepomuk.kde.org/
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs-devel >= %{version}
  12. BuildRequires: nepomuk-core-devel >= %{version}
  13. BuildRequires: soprano-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. The Library containing the Nepomuk Widgets.
  18. %package devel
  19. Summary: Developer files for %{name}
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: nepomuk-core-devel >= %{version}-%{release}
  24. %description devel
  25. %{summary}.
  26. %description -l ja devel
  27. %{name} の開発用ファイルです.
  28. %prep
  29. %setup -q
  30. %build
  31. mkdir -p %{_target_platform}
  32. pushd %{_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. ..
  42. popd
  43. make %{?_smp_mflags} -C %{_target_platform}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc COPYING COPYING.LIB COPYING.README
  54. %{_libdir}/libnepomukwidgets.so.*
  55. %files devel
  56. %defattr(-,root,root,-)
  57. %{_includedir}/kde4/nepomuk2
  58. %{_libdir}/libnepomukwidgets.so
  59. %{_libdir}/cmake/NepomukWidgets
  60. %changelog
  61. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  62. - new upstream release
  63. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  64. - new upstream release
  65. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  66. - new upstream release
  67. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  68. - initial build for Vine Linux