libkcddb-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: libkcddb
  2. Summary: CDDB retrieval library for KDE
  3. Summary(ja): KDE 向け CDDB 検索用ライブラリ
  4. Version: 4.11.1
  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 >= 4.7.0
  12. BuildRequires: libmusicbrainz3-devel
  13. BuildRequires: libkipi-devel
  14. Requires: kdelibs4 >= 4.7.0
  15. %description
  16. CDDB retrieval library.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Summary(ja): %{name} の開発用ファイル
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  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=$RPM_BUILD_ROOT -C %{_target_platform}
  44. %check
  45. export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
  46. pkg-config --modversion libkipi
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc COPYING COPYING.LIB
  52. %{_libdir}/libkcddb.so.*
  53. %{_libdir}/kde4/kcm_cddb.so
  54. %{_datadir}/kde4/services/libkcddb.desktop
  55. %{_docdir}/HTML/en/kcontrol/
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/kde4/%{name}
  59. %{_libdir}/libkcddb.so
  60. %{_libdir}/cmake/%{name}
  61. %{_datadir}/config.kcfg/libkcddb.kcfg
  62. %changelog
  63. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  64. - new upstream release
  65. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  66. - new upstream release
  67. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  68. - new upstream release
  69. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  70. - new upstream release
  71. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  72. - new upstream release
  73. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  74. - new upstream release
  75. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  76. - initial build