libkcompactdisc-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: libkcompactdisc
  2. Summary: KDE compact disc library
  3. Summary(ja): KDE 向け CD 用ライブラリ
  4. Version: 4.9.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+, LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: https://projects.kde.org/projects/extragear/libs/libkgapi
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs-devel >= %{version}
  12. BuildRequires: alsa-lib-devel
  13. Requires: kdelibs4 >= %{version}
  14. %description
  15. %{summary}
  16. %package devel
  17. Summary: Development files for %{name}
  18. Summary(ja): %{name} の開発用ファイル
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: kdelibs4-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 $RPM_BUILD_ROOT
  42. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  43. %check
  44. export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc COPYING COPYING.LIB
  50. %{_libdir}/libkcompactdisc.so.*
  51. %files devel
  52. %defattr(-,root,root,-)
  53. %{_includedir}/kde4/%{name}
  54. %{_libdir}/libkcompactdisc.so
  55. %{_libdir}/cmake/%{name}
  56. %changelog
  57. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  58. - new upstream release
  59. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  60. - new upstream release
  61. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  62. - new upstream release
  63. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  64. - new upstream release
  65. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  66. - initial build