[6725] | 1 | Name: libkcompactdisc |
---|
| 2 | Summary: KDE compact disc library |
---|
| 3 | Summary(ja): KDE 向け CD 用ライブラリ |
---|
[7801] | 4 | Version: 4.11.1 |
---|
[6725] | 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 >= %{version} |
---|
| 16 | BuildRequires: alsa-lib-devel |
---|
| 17 | |
---|
| 18 | Requires: kdelibs4 >= %{version} |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | %{summary} |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
| 27 | Summary(ja): %{name} の開発用ファイル |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | Requires: kdelibs4-devel |
---|
| 31 | |
---|
| 32 | %description devel |
---|
| 33 | %{summary}. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | mkdir -p %{_target_platform} |
---|
| 41 | pushd %{_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 | .. |
---|
| 51 | popd |
---|
| 52 | |
---|
| 53 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %check |
---|
| 63 | export 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 |
---|
[7801] | 84 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[7728] | 87 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[7294] | 90 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
[7105] | 93 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[6899] | 96 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
[6797] | 99 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
| 100 | - new upstream release |
---|
| 101 | |
---|
[6725] | 102 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
| 103 | - initial build |
---|