libkdegames-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Name: libkdegames
  2. Summary: The library for the KDE games
  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: libsndfile-devel
  13. BuildRequires: openal-soft-devel
  14. Requires: kdelibs >= %{version}
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. This package contains the library for the kdegames package.
  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}/libkdegames.so.*
  52. %{_libdir}/libkdegamesprivate.so.*
  53. %{_libdir}/kde4/imports/org/kde/games/core
  54. %{_datadir}/kde4/apps/carddecks/
  55. %{_datadir}/kde4/apps/kconf_update/kgthemeprovider-migration.upd
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/kde4/*
  59. %{_libdir}/libkdegames.so
  60. %{_libdir}/libkdegamesprivate.so
  61. %{_libdir}/cmake/KDEGames
  62. %changelog
  63. * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  64. - new upstream release
  65. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  66. - new upstream release
  67. * Sun Dec 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  68. - new upstream release
  69. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  70. - new upstream release
  71. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  72. - initial build