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

Revision 7801, 2.5 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.11.1

Line 
1Name:    libkcddb
2Summary: CDDB retrieval library for KDE
3Summary(ja): KDE 向け CDDB 検索用ライブラリ
4Version: 4.11.1
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/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
Note: See TracBrowser for help on using the repository browser.