konsole-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: konsole
  2. Summary: KDE Terminal emulator
  3. Summary(ja): KDE 端末エミュレータ
  4. Version: 4.7.4
  5. Release: 1%{?_dist_release}
  6. # sources: MIT and LGPLv2 and LGPLv2+ and GPLv2+
  7. License: GPLv2
  8. Group: User Interface/Desktops
  9. URL: http://konsole.kde.org/
  10. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: desktop-file-utils
  13. BuildRequires: kdelibs4-devel >= %{version}
  14. BuildRequires: soprano-devel
  15. BuildRequires: libX11-devel
  16. BuildRequires: libXrender-devel
  17. Requires: kdelibs4%{?_kde4_version: >= %{_kde4_version}}
  18. # when split occurred
  19. Conflicts: kdebase4 < 4.6.95-10
  20. %description
  21. %{summary}.
  22. %prep
  23. %setup -q
  24. %build
  25. mkdir -p %{_target_platform}
  26. pushd %{_target_platform}
  27. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  28. %cmake \
  29. -DCMAKE_BUILD_TYPE=release \
  30. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  31. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  32. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  33. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  34. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  35. ..
  36. popd
  37. make %{?_smp_mflags} -C %{_target_platform}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  41. %check
  42. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/konsole.desktop
  43. %files
  44. %doc COPYING* README
  45. %{_bindir}/konsole
  46. %{_bindir}/konsoleprofile
  47. %{_datadir}/applications/kde4/konsole.desktop
  48. %{_libdir}/kde4/libkonsolepart.so
  49. %{_libdir}/libkdeinit4_konsole.so
  50. %{_libdir}/libkonsoleprivate.so
  51. %{_datadir}/kde4/apps/konsole/
  52. %{_datadir}/kde4/services/ServiceMenus/konsolehere.desktop
  53. %{_datadir}/kde4/services/konsolepart.desktop
  54. %{_datadir}/kde4/servicetypes/terminalemulator.desktop
  55. %{_datadir}/doc/HTML/en/konsole/
  56. %changelog
  57. * Sat Dec 24 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
  58. - new upstream release
  59. * Sat Oct 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  60. - new upstream release
  61. * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  62. - Initial build for Vine Linux
  63. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  64. - 4.7.0
  65. * Thu Jul 21 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-4
  66. - fix Conflicts: kdebase (wrong epoch)
  67. * Thu Jul 21 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-3
  68. - License: GPLv2 (per FAQ)
  69. * Thu Jul 21 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2
  70. - fix URL
  71. - drop Requires: kdebase-runtime (overkill)
  72. - License: +LGPLv2
  73. * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  74. - first try