libkmahjongg-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Name: libkmahjongg
  2. Summary: The library for KDE mahjongg game
  3. Summary(ja): KDE麻雀系ゲーム用ライブラリ
  4. Version: 4.11.4
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+, LGPLv2 and FDL
  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: libkdegames-devel >= %{version}
  13. Requires: kdelibs >= %{version}
  14. Requires: libkdegames >= %{version}
  15. %description
  16. This package contains the library used for loading and rendering of Mahjongg tilesets and associated backgrounds, used by KMahjongg and KShisen.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Summary(ja): %{name} の開発用ファイル
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: kdelibs-devel
  23. %description devel
  24. %{summary}.
  25. %prep
  26. %setup -q
  27. %build
  28. mkdir -p %{_target_platform}
  29. pushd %{_target_platform}
  30. %cmake \
  31. -DCMAKE_BUILD_TYPE=release \
  32. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  33. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  34. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  35. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  36. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  37. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  38. ..
  39. popd
  40. make %{?_smp_mflags} -C %{_target_platform}
  41. %install
  42. rm -rf %{buildroot}
  43. make install DESTDIR=%{buildroot} -C %{_target_platform}
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc COPYING COPYING.DOC README
  49. %{_libdir}/libkmahjongglib.so.*
  50. %{_datadir}/kde4/apps/kmahjongglib/
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_includedir}/kde4/*
  54. %{_libdir}/libkmahjongglib.so
  55. %changelog
  56. * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  57. - new upstream release
  58. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  59. - new upstream release
  60. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  61. - initial build