1 | Name: kscd |
---|
2 | Summary: KDE cd player |
---|
3 | Summary(ja): KDE CD プレイヤー |
---|
4 | Version: 4.12.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
8 | |
---|
9 | License: GPLv2+ |
---|
10 | Group: Applications/Multimedia |
---|
11 | URL: http://www.kde.org/ |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: kdelibs-devel >= %{version} |
---|
16 | BuildRequires: alsa-lib-devel |
---|
17 | BuildRequires: libmusicbrainz3-devel |
---|
18 | |
---|
19 | Requires: kdelibs >= %{version} |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | |
---|
24 | %description |
---|
25 | KsCD is a small, fast, CDDB enabled audio CD player which supports multiple platforms. |
---|
26 | |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q |
---|
30 | |
---|
31 | |
---|
32 | %build |
---|
33 | mkdir -p %{_target_platform} |
---|
34 | pushd %{_target_platform} |
---|
35 | %cmake \ |
---|
36 | -DCMAKE_BUILD_TYPE=release \ |
---|
37 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
38 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
39 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
40 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
41 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
42 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
43 | .. |
---|
44 | popd |
---|
45 | |
---|
46 | make %{?_smp_mflags} -C %{_target_platform} |
---|
47 | |
---|
48 | %install |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
51 | |
---|
52 | %clean |
---|
53 | rm -rf $RPM_BUILD_ROOT |
---|
54 | |
---|
55 | %post |
---|
56 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
57 | touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||: |
---|
58 | |
---|
59 | %posttrans |
---|
60 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
61 | gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||: |
---|
62 | update-desktop-database -q &> /dev/null ||: |
---|
63 | |
---|
64 | %postun |
---|
65 | if [ $1 -eq 0 ] ; then |
---|
66 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
67 | touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||: |
---|
68 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
69 | gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||: |
---|
70 | update-desktop-database -q &> /dev/null ||: |
---|
71 | fi |
---|
72 | |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-,root,root) |
---|
76 | %{_bindir}/kscd |
---|
77 | %{_datadir}/applications/kde4/kscd.desktop |
---|
78 | %{_datadir}/config.kcfg/kscd.kcfg |
---|
79 | %{_datadir}/dbus-1/interfaces/org.kde.kscd.cdplayer.xml |
---|
80 | %{_datadir}/icons/hicolor/*/*/* |
---|
81 | %{_datadir}/kde4/apps/kscd |
---|
82 | %{_datadir}/kde4/apps/solid/actions/kscd-play-audiocd.desktop |
---|
83 | |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
90 | - new upstream release |
---|
91 | |
---|
92 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
111 | - initial build |
---|