libkdegames-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: libkdegames
  2. Summary: The library for the KDE games
  3. Summary(ja): KDEゲーム用ライブラリ
  4. Version: 4.11.1
  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: libsndfile-devel
  13. BuildRequires: openal-soft-devel
  14. Requires: kdelibs >= %{version}
  15. %description
  16. This package contains the library for the kdegames package.
  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}/libkdegames.so.*
  50. %{_libdir}/libkdegamesprivate.so.*
  51. %{_libdir}/kde4/imports/org/kde/games/core
  52. %{_datadir}/kde4/apps/carddecks/
  53. %{_datadir}/kde4/apps/kconf_update/kgthemeprovider-migration.upd
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %{_includedir}/kde4/*
  57. %{_libdir}/libkdegames.so
  58. %{_libdir}/libkdegamesprivate.so
  59. %{_libdir}/cmake/KDEGames
  60. %changelog
  61. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  62. - new upstream release
  63. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  64. - initial build