nepomuk-core-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Name: nepomuk-core
  2. Summary: Nepomuk core utilities and libraries
  3. Summary(ja): Nepomuk core ユーティリティーとライブラリ
  4. Version: 4.9.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv2,GPLv3,LGPLv2,LGPLv3
  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: kdebase-workspace-devel >= %{version}
  13. BuildRequires: soprano-devel >= 2.7.56
  14. BuildRequires: strigi-devel >= 0.7.3
  15. Requires: %{name}-libs = %{version}-%{release}
  16. %description
  17. The core Nepomuk system contains of the central services like file indexing,
  18. file system monitoring, query, and of course storage, as well as the corresponding
  19. client libraries.
  20. %package devel
  21. Summary: Developer files for %{name}
  22. Summary(ja): %{name} の開発用ファイル
  23. Group: Development/Libraries
  24. Requires: %{name}-libs = %{version}-%{release}
  25. %description devel
  26. %{summary}.
  27. %description -l ja devel
  28. %{name} の開発用ファイルです.
  29. %package libs
  30. Summary: Runtime libraries for %{name}
  31. Summary(ja): %{name} のランタイムライブラリ
  32. Group: System Environment/Libraries
  33. Requires: kdelibs4 >= %{version}
  34. Requires: kdepimlibs >= %{version}
  35. # cagibi is runtime dep, a dbus service
  36. Requires: cagibi
  37. %description libs
  38. %{summary}.
  39. %description -l ja libs
  40. %{name} のランタイムライブラリです.
  41. %prep
  42. %setup -q
  43. %build
  44. mkdir -p %{_target_platform}
  45. pushd %{_target_platform}
  46. %cmake \
  47. -DCMAKE_BUILD_TYPE=release \
  48. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  49. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  50. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  51. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  52. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  53. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  54. ..
  55. popd
  56. make %{?_smp_mflags} -C %{_target_platform}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %posttrans
  63. update-desktop-database -q &> /dev/null ||:
  64. %postun
  65. if [ $1 -eq 0 ] ; then
  66. update-desktop-database -q &> /dev/null ||:
  67. fi
  68. %post libs -p /sbin/ldconfig
  69. %postun libs -p /sbin/ldconfig
  70. %files
  71. %defattr(-,root,root,-)
  72. %{_bindir}/nepomuk-simpleresource-rcgen
  73. %{_bindir}/nepomukbackup
  74. %{_bindir}/nepomukindexer
  75. %{_bindir}/nepomukserver
  76. %{_bindir}/nepomukservicestub
  77. %{_libdir}/libkdeinit4_nepomukserver.so
  78. %{_datadir}/applications/kde4/nepomukbackup.desktop
  79. %{_datadir}/autostart/nepomukserver.desktop
  80. %{_datadir}/dbus-1/interfaces/*
  81. %{_datadir}/kde4/apps/*
  82. %{_datadir}/kde4/services/*
  83. %{_datadir}/kde4/servicetypes/*
  84. %{_datadir}/ontology/kde/
  85. %files devel
  86. %defattr(-,root,root,-)
  87. %{_includedir}/kde4/Nepomuk2
  88. %{_includedir}/kde4/nepomuk2
  89. %{_libdir}/libnepomukcore.so
  90. %{_libdir}/libnepomuksync.so
  91. %{_libdir}/cmake/NepomukCore
  92. %files libs
  93. %defattr(-,root,root,-)
  94. %{_libdir}/libnepomukcore.so.*
  95. %{_libdir}/libnepomuksync.so.*
  96. %{_libdir}/libnepomukcommon.so
  97. %{_libdir}/kde4/*.so
  98. %changelog
  99. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  100. - new upstream release
  101. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  102. - new upstream release
  103. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  104. - new upstream release
  105. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  106. - new upstream release
  107. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  108. - initial build