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

Revision 10548, 3.0 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:    libkcddb
2Summary: CDDB retrieval library for KDE
3Summary(ja): KDE 向け CDDB 検索用ライブラリ
4Version: 4.14.3
5Release: 2%{?_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: kdelibs >= 4.7.0
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25CDDB retrieval library.
26
27
28%package devel
29Summary:  Development files for %{name}
30Summary(ja): %{name} の開発用ファイル
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: kdelibs-devel
34
35%description devel
36%{summary}.
37
38
39%prep
40%setup -q
41
42%build
43mkdir -p %{_target_platform}
44pushd %{_target_platform}
45%cmake \
46    -DCMAKE_BUILD_TYPE=release \
47    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
48    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
49    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
50    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
51    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
52    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
53    ..
54popd
55
56make %{?_smp_mflags} -C %{_target_platform}
57
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
63
64
65%check
66export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
67pkg-config --modversion libkipi
68
69
70%post -p /sbin/ldconfig
71
72%postun -p /sbin/ldconfig
73
74
75%files
76%defattr(-,root,root,-)
77%doc COPYING COPYING.LIB
78%{_libdir}/libkcddb.so.*
79%{_libdir}/kde4/kcm_cddb.so
80%{_datadir}/kde4/services/libkcddb.desktop
81%{_docdir}/HTML/en/kcontrol/
82
83%files devel
84%defattr(-,root,root,-)
85%{_includedir}/kde4/%{name}
86%{_libdir}/libkcddb.so
87%{_libdir}/cmake/%{name}
88%{_datadir}/config.kcfg/libkcddb.kcfg
89
90
91%changelog
92* Wed Jul 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
93- rebuild with gcc-5.4.0
94
95* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
96- new upstream release
97
98* Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
99- new upstream release
100
101* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
102- new upstream release
103
104* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
105- new upstream release
106
107* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
108- new upstream release
109
110* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
111- new upstream release
112
113* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
114- new upstream release
115
116* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
117- new upstream release
118
119* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
120- new upstream release
121
122* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
123- new upstream release
124
125* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
126- initial build
Note: See TracBrowser for help on using the repository browser.