libkmahjongg-vl.spec 2.3 KB

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