source: projects/specs/trunk/lib/libk/libkcompactdisc/libkcompactdisc-vl.spec @ 6725

Revision 6725, 1.8 KB checked in by Takemikaduchi, 12 years ago (diff)

KDE-4.9.0

Line 
1Name:    libkcompactdisc
2Summary: KDE compact disc library
3Summary(ja): KDE 向け CD 用ライブラリ
4Version: 4.9.0
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 >= %{version}
16BuildRequires: alsa-lib-devel
17
18Requires: kdelibs4 >= %{version}
19
20
21%description
22%{summary}
23
24
25%package devel
26Summary:  Development files for %{name}
27Summary(ja): %{name} の開発用ファイル
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30Requires: kdelibs4-devel
31
32%description devel
33%{summary}.
34
35
36%prep
37%setup -q
38
39%build
40mkdir -p %{_target_platform}
41pushd %{_target_platform}
42%cmake \
43    -DCMAKE_BUILD_TYPE=release \
44    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
45    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
46    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
47    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
48    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
49    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
50    ..
51popd
52
53make %{?_smp_mflags} -C %{_target_platform}
54
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
60
61
62%check
63export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
64
65
66%post -p /sbin/ldconfig
67
68%postun -p /sbin/ldconfig
69
70
71%files
72%defattr(-,root,root,-)
73%doc COPYING COPYING.LIB
74%{_libdir}/libkcompactdisc.so.*
75
76%files devel
77%defattr(-,root,root,-)
78%{_includedir}/kde4/%{name}
79%{_libdir}/libkcompactdisc.so
80%{_libdir}/cmake/%{name}
81
82
83%changelog
84* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
85- initial build
Note: See TracBrowser for help on using the repository browser.