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 | |
---|
7 | License: GPLv2+, LGPLv2+ |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: https://projects.kde.org/projects/extragear/libs/libkgapi |
---|
10 | |
---|
11 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: kdelibs-devel >= 4.7.0 |
---|
16 | BuildRequires: libmusicbrainz3-devel |
---|
17 | BuildRequires: libkipi-devel |
---|
18 | |
---|
19 | Requires: kdelibs4 >= 4.7.0 |
---|
20 | |
---|
21 | |
---|
22 | %description |
---|
23 | CDDB retrieval library. |
---|
24 | |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development files for %{name} |
---|
28 | Summary(ja): %{name} の開発用ファイル |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: kdelibs4-devel |
---|
32 | |
---|
33 | %description devel |
---|
34 | %{summary}. |
---|
35 | |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q |
---|
39 | |
---|
40 | %build |
---|
41 | mkdir -p %{_target_platform} |
---|
42 | pushd %{_target_platform} |
---|
43 | %cmake \ |
---|
44 | -DCMAKE_BUILD_TYPE=release \ |
---|
45 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
46 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
47 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
48 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
49 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
50 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
51 | .. |
---|
52 | popd |
---|
53 | |
---|
54 | make %{?_smp_mflags} -C %{_target_platform} |
---|
55 | |
---|
56 | |
---|
57 | %install |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
61 | |
---|
62 | |
---|
63 | %check |
---|
64 | export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
65 | pkg-config --modversion libkipi |
---|
66 | |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | |
---|
73 | %files |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %doc COPYING COPYING.LIB |
---|
76 | %{_libdir}/libkcddb.so.* |
---|
77 | %{_libdir}/kde4/kcm_cddb.so |
---|
78 | %{_datadir}/kde4/services/libkcddb.desktop |
---|
79 | %{_docdir}/HTML/en/kcontrol/ |
---|
80 | |
---|
81 | %files devel |
---|
82 | %defattr(-,root,root,-) |
---|
83 | %{_includedir}/kde4/%{name} |
---|
84 | %{_libdir}/libkcddb.so |
---|
85 | %{_libdir}/cmake/%{name} |
---|
86 | %{_datadir}/config.kcfg/libkcddb.kcfg |
---|
87 | |
---|
88 | |
---|
89 | %changelog |
---|
90 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
91 | - new upstream release |
---|
92 | |
---|
93 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
109 | - initial build |
---|