audiocd-kio-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Name: audiocd-kio
  2. Summary: AudioCD KIOSlave
  3. Version: 4.9.1
  4. Release: 1%{?_dist_release}
  5. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  6. License: GPLv2+
  7. Group: Applications/Multimedia
  8. URL: http://www.kde.org/
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs4-devel
  11. BuildRequires: cdparanoia-devel
  12. BuildRequires: libkcddb-devel
  13. BuildRequires: libkcompactdisc-devel
  14. Requires: kdelibs4 >= %{version}
  15. Conflicts: kdemultimedia-libs < 4.9.0
  16. %description
  17. %{summary}
  18. %package devel
  19. Summary: Developer files for %{name}
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: kdelibs4-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 $RPM_BUILD_ROOT
  43. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root)
  50. %{_libdir}/libaudiocdplugins.so.*
  51. %{_libdir}/kde4/*.so
  52. %{_datadir}/config.kcfg/audiocd_lame_encoder.kcfg
  53. %{_datadir}/kde4/apps/kconf_update
  54. %{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services/audiocd.desktop
  55. %{_datadir}/kde4/apps/solid/actions/solid_audiocd.desktop
  56. %{_datadir}/kde4/services/audiocd.*
  57. %{_docdir}/HTML/en/kioslave
  58. %files devel
  59. %defattr(-,root,root)
  60. %{_includedir}/kde4/audiocdencoder.h
  61. %{_libdir}/libaudiocdplugins.so
  62. %changelog
  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