source: projects/specs/trunk/lib/libk/libkcddb/libkcddb-vl.spec @ 6899

Revision 6899, 2.2 KB checked in by Takemikaduchi, 12 years ago (diff)

KDE-4.9.2

Line 
1Name:    libkcddb
2Summary: CDDB retrieval library for KDE
3Summary(ja): KDE 向け CDDB 検索用ライブラリ
4Version: 4.9.2
5Release: 1%{?_dist_release}
6
7License: GPLv2+, LGPLv2+
8Group:   System Environment/Libraries
9URL:     https://projects.kde.org/projects/extragear/libs/libkgapi
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs-devel >= 4.7.0
16BuildRequires: libmusicbrainz3-devel
17BuildRequires: libkipi-devel
18
19Requires: kdelibs4 >= 4.7.0
20
21
22%description
23CDDB retrieval library.
24
25
26%package devel
27Summary:  Development files for %{name}
28Summary(ja): %{name} の開発用ファイル
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: kdelibs4-devel
32
33%description devel
34%{summary}.
35
36
37%prep
38%setup -q
39
40%build
41mkdir -p %{_target_platform}
42pushd %{_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    ..
52popd
53
54make %{?_smp_mflags} -C %{_target_platform}
55
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
61
62
63%check
64export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
65pkg-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/apps/kconf_update/kcmcddb-emailsettings.upd
79%{_datadir}/kde4/services/libkcddb.desktop
80%{_docdir}/HTML/en/kcontrol/
81
82%files devel
83%defattr(-,root,root,-)
84%{_includedir}/kde4/%{name}
85%{_libdir}/libkcddb.so
86%{_libdir}/cmake/%{name}
87%{_datadir}/config.kcfg/libkcddb.kcfg
88
89
90%changelog
91* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
92- new upstream release
93
94* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
95- new upstream release
96
97* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
98- initial build
Note: See TracBrowser for help on using the repository browser.