libkcddb-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Name: libkcddb
  2. Summary: CDDB retrieval library for KDE
  3. Summary(ja): KDE 向け CDDB 検索用ライブラリ
  4. Version: 4.14.3
  5. Release: 2%{?_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: kdelibs >= 4.7.0
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. CDDB retrieval library.
  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 $RPM_BUILD_ROOT
  45. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  46. %check
  47. export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
  48. pkg-config --modversion libkipi
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc COPYING COPYING.LIB
  54. %{_libdir}/libkcddb.so.*
  55. %{_libdir}/kde4/kcm_cddb.so
  56. %{_datadir}/kde4/services/libkcddb.desktop
  57. %{_docdir}/HTML/en/kcontrol/
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %{_includedir}/kde4/%{name}
  61. %{_libdir}/libkcddb.so
  62. %{_libdir}/cmake/%{name}
  63. %{_datadir}/config.kcfg/libkcddb.kcfg
  64. %changelog
  65. * Wed Jul 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  66. - rebuild with gcc-5.4.0
  67. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  68. - new upstream release
  69. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  70. - new upstream release
  71. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  72. - new upstream release
  73. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  74. - new upstream release
  75. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  76. - new upstream release
  77. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  78. - new upstream release
  79. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  80. - new upstream release
  81. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  82. - new upstream release
  83. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  84. - new upstream release
  85. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  86. - new upstream release
  87. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  88. - initial build