]>
Commit | Line | Data |
---|---|---|
737070e9 | 1 | %define kdeappsver 21.04.1 |
c0b1fe52 | 2 | %define kframever 5.56.0 |
33354500 | 3 | %define qtver 5.9.0 |
d51b1711 WF |
4 | %define kaname juk |
5 | Summary: Juk | |
6 | Name: ka5-%{kaname} | |
737070e9 | 7 | Version: 21.04.1 |
d51b1711 WF |
8 | Release: 1 |
9 | License: GPL v2+/LGPL v2.1+ | |
33354500 | 10 | Group: X11/Multimedia |
eb1fa177 | 11 | Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz |
737070e9 | 12 | # Source0-md5: 3189e43b7594fec23d1153d018de56c0 |
d51b1711 WF |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
15 | BuildRequires: cmake >= 2.8.12 | |
c0b1fe52 | 16 | BuildRequires: kf5-extra-cmake-modules >= %{kframever} |
a9d1214a | 17 | BuildRequires: ninja |
d51b1711 | 18 | BuildRequires: qt5-build >= %{qtver} |
1d4d1140 | 19 | BuildRequires: qt5-phonon-devel |
d51b1711 WF |
20 | BuildRequires: rpmbuild(macros) >= 1.164 |
21 | BuildRequires: shared-mime-info | |
22 | BuildRequires: tar >= 1:1.22 | |
23 | BuildRequires: xz | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
33354500 WF |
27 | JuK is an audio jukebox application, supporting collections of MP3, |
28 | Ogg Vorbis, and FLAC audio files. It allows you to edit the "tags" of | |
29 | your audio files, and manage your collection and playlists. It's main | |
30 | focus, in fact, is on music management. | |
31 | ||
32 | Features | |
33 | ||
34 | • Collection list and multiple user defined playlists | |
35 | • Ability to scan directories to automatically import playlists and | |
36 | music files on start up | |
37 | • Dynamic Search Playlists that are automatically updated as fields in | |
38 | the collection change. | |
39 | • A Tree View mode where playlists are automatically generated for | |
40 | sets of albums, artists and genres. | |
41 | • Playlist history to indicate which files have been played and when. | |
42 | • Inline search for filtering the list of visible items. | |
43 | • The ability to guess tag information from the file name or using | |
44 | MusicBrainz online lookup. | |
45 | • File renamer that can rename files based on the tag content. | |
46 | • ID3v1, ID3v2 and Ogg Vorbis tag reading and editing support (via | |
47 | TagLib). | |
d51b1711 WF |
48 | |
49 | %prep | |
50 | %setup -q -n %{kaname}-%{version} | |
51 | ||
52 | %build | |
53 | install -d build | |
54 | cd build | |
55 | %cmake \ | |
a9d1214a | 56 | -G Ninja \ |
c0b1fe52 | 57 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ |
d51b1711 WF |
58 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
59 | .. | |
a9d1214a | 60 | %ninja_build |
d51b1711 WF |
61 | |
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
a9d1214a | 64 | %ninja_install -C build |
d51b1711 | 65 | |
c0b1fe52 | 66 | rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr |
d51b1711 WF |
67 | %find_lang %{kaname} --all-name --with-kde |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files -f %{kaname}.lang | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_bindir}/juk | |
d51b1711 WF |
78 | %{_datadir}/dbus-1/interfaces/org.kde.juk.collection.xml |
79 | %{_datadir}/dbus-1/interfaces/org.kde.juk.player.xml | |
80 | %{_datadir}/dbus-1/interfaces/org.kde.juk.search.xml | |
81 | %{_iconsdir}/hicolor/128x128/apps/juk.png | |
82 | %{_iconsdir}/hicolor/16x16/apps/juk.png | |
83 | %{_iconsdir}/hicolor/32x32/apps/juk.png | |
84 | %{_iconsdir}/hicolor/48x48/apps/juk.png | |
85 | %{_iconsdir}/hicolor/64x64/apps/juk.png | |
d51b1711 | 86 | %{_datadir}/metainfo/org.kde.juk.appdata.xml |
bb08e31d WF |
87 | %{_desktopdir}/org.kde.juk.desktop |
88 | %{_datadir}/juk | |
89 | %{_datadir}/kservices5/ServiceMenus/jukservicemenu.desktop | |
90 | %{_datadir}/kxmlgui5/juk | |
eb1fa177 | 91 | %{_datadir}/knotifications5/juk.notifyrc |