kde-dev-utils-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: kde-dev-utils
  2. Summary: Development utilities for KDE
  3. Summary(ja): KDE 用開発ユーティリーティー集
  4. Version: 4.12.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Development
  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: desktop-file-utils
  12. BuildRequires: kdelibs-devel >= %{version}
  13. BuildRequires: soprano-devel
  14. Requires(posttrans,postun): desktop-file-utils
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. %{summary}
  20. %prep
  21. %setup -q
  22. %build
  23. mkdir -p %{_target_platform}
  24. pushd %{_target_platform}
  25. %cmake \
  26. -DCMAKE_BUILD_TYPE=release \
  27. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  28. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  29. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  30. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  31. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  32. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  33. ..
  34. popd
  35. make %{?_smp_mflags} -C %{_target_platform}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  39. rm -f $RPM_BUILD_ROOT%{_includedir}/kde4/kprofilemethod.h
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post
  43. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  44. %posttrans
  45. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  46. update-desktop-database -q &> /dev/null ||:
  47. %postun
  48. if [ $1 -eq 0 ] ; then
  49. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  50. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  51. update-desktop-database -q &> /dev/null ||:
  52. fi
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc COPYING COPYING.DOC COPYING.LIB
  56. %{_bindir}/kpartloader
  57. %{_bindir}/kuiviewer
  58. %{_libdir}/kde4/kuiviewerpart.so
  59. %{_libdir}/kde4/quithumbnail.so
  60. %{_datadir}/applications/kde4/kuiviewer.desktop
  61. %{_datadir}/icons/hicolor/*/*/*
  62. %{_datadir}/kde4/apps/kpartloader
  63. %{_datadir}/kde4/apps/kuiviewer
  64. %{_datadir}/kde4/apps/kuiviewerpart
  65. %{_datadir}/kde4/services/designerthumbnail.desktop
  66. %{_datadir}/kde4/services/kuiviewer_part.desktop
  67. %changelog
  68. * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  69. - new upstream release
  70. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  71. - new upstream release
  72. * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  73. - new upstream release
  74. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  75. - initial build