libkomparediff2-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Name: libkomparediff2
  2. Summary: The library for the KDE kompare
  3. Summary(ja): KDE kompare 用のライブラリ
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: GPLv2,LGPLv2,LGPLv2.1,GPLv3,LGPLv3
  7. URL: https://code.launchpad.net/~neon/kdegames/libkdegames
  8. Group: System Environment/Libraries
  9. Source0: ftp://ftp.kde.org/pub/kde/table/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs-devel >= %{version}
  12. BuildRequires: soprano-devel
  13. Requires: kdelibs >= %{version}
  14. %description
  15. This package contains the library for the kompare package.
  16. %package devel
  17. Summary: Development files for %{name}
  18. Summary(ja): %{name} の開発用ファイル
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: kdelibs-devel
  22. %description devel
  23. %{summary}.
  24. %prep
  25. %setup -q
  26. %build
  27. mkdir -p %{_target_platform}
  28. pushd %{_target_platform}
  29. %cmake \
  30. -DCMAKE_BUILD_TYPE=release \
  31. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  32. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  33. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  34. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  35. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  36. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  37. ..
  38. popd
  39. make %{?_smp_mflags} -C %{_target_platform}
  40. %install
  41. rm -rf %{buildroot}
  42. make install DESTDIR=%{buildroot} -C %{_target_platform}
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc COPYING COPYING-CMAKE-SCRIPTS
  48. %doc COPYING.GPL2 COPYING.GPL3
  49. %doc COPYING.LGPL2 COPYING.LGPL2.1 COPYING.LGPL3
  50. %{_libdir}/libkomparediff2.so.*
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_includedir}/kde4/%{name}
  54. %{_libdir}/libkomparediff2.so
  55. %{_libdir}/cmake/%{name}
  56. %changelog
  57. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  58. - rebuild with gcc-5.4.0
  59. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  60. - new upstream releease
  61. * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  62. - new upstream releease
  63. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  64. - initial build