source: projects/specs/trunk/j/juk/juk-vl.spec @ 7294

Revision 7294, 2.4 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

Line 
1Name: juk
2Summary: KDE music manager and player
3Summary(ja): KDE ミュージックマネージャ及びプレイヤー
4Version: 4.9.5
5Release: 1%{?_dist_release}
6
7Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
8
9License: GPLv2+
10Group: Applications/Multimedia
11URL: http://www.kde.org/
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: soprano-devel
17BuildRequires: taglib-devel
18
19Requires: kdelibs4 >= %{version}
20
21%description
22JuK is an audio jukebox application, supporting collections of MP3, Ogg Vorbis,
23and FLAC audio files. It allows you to edit the "tags" of your audio files,
24and manage your collection and playlists. It's main focus, in fact, is on music management.
25
26
27%prep
28%setup -q
29
30
31%build
32mkdir -p %{_target_platform}
33pushd %{_target_platform}
34%cmake \
35    -DCMAKE_BUILD_TYPE=release \
36    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
37    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
38    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
39    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
40    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
41    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
42    ..
43popd
44
45make %{?_smp_mflags} -C %{_target_platform}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post
55touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
56
57%posttrans
58gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
59update-desktop-database -q &> /dev/null ||:
60
61%postun
62if [ $1 -eq 0 ] ; then
63  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
64  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
65  update-desktop-database -q &> /dev/null ||:
66fi
67
68%files
69%defattr(-,root,root)
70%{_bindir}/juk
71%{_datadir}/applications/kde4/juk.desktop
72%{_datadir}/dbus-1/interfaces/*
73%{_datadir}/icons/hicolor/*/*/*
74%{_datadir}/kde4/apps/juk
75%{_datadir}/kde4/services/ServiceMenus/jukservicemenu.desktop
76%{_docdir}/HTML/en/juk/
77
78
79%changelog
80* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
81- new upstream release
82
83* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
84- new upstream release
85
86* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
87- new upstream release
88
89* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
90- new upstream release
91
92* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
93- initial build
Note: See TracBrowser for help on using the repository browser.