libkcddb-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: libkcddb
  2. Summary: CDDB retrieval library for KDE
  3. Summary(ja): KDE 向け CDDB 検索用ライブラリ
  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 >= 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/apps/kconf_update/kcmcddb-emailsettings.upd
  55. %{_datadir}/kde4/services/libkcddb.desktop
  56. %{_docdir}/HTML/en/kcontrol/
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_includedir}/kde4/%{name}
  60. %{_libdir}/libkcddb.so
  61. %{_libdir}/cmake/%{name}
  62. %{_datadir}/config.kcfg/libkcddb.kcfg
  63. %changelog
  64. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  65. - new upstream release
  66. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  67. - new upstream release
  68. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  69. - new upstream release
  70. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  71. - new upstream release
  72. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  73. - initial build