1 Summary: Cuberok music player and a collection manager
6 Group: X11/Applications/Multimedia
7 Source0: http://cuberok.googlecode.com/files/%{name}-%{version}.tar.gz
8 # Source0-md5: 0b09935acbf8e94645680b5a51081820
9 Patch0: ffmpeg-headers.patch
10 URL: https://sites.google.com/site/cuberok/
11 BuildRequires: audiere-devel
12 BuildRequires: ffmpeg-devel
13 BuildRequires: gstreamer-devel
14 BuildRequires: gstreamer-plugins-base-devel
15 BuildRequires: libstdc++-devel
16 BuildRequires: phonon-devel
17 BuildRequires: qt4-build
18 BuildRequires: taglib-devel
19 # for Amarok 1.4 import
20 Suggests: QtSql-sqlite3
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Cuberok is a music player and a collection manager based on Qt4. It
25 has lightweight interface, music collection support and many features,
26 e.g. music autorating and Last.FM scrobbler.
28 %package backend-audiere
29 Summary: Audiere backend for Cuberok
30 Summary(pl.UTF-8): Wtyczki Audiere dla Cuberok
32 Requires: %{name} = %{version}-%{release}
34 %description backend-audiere
35 The Audiere Audio System is a portable audio library which supports
36 playing MP3, Ogg Vorbis, WAV, IT, XM, S3M, and MOD files.
38 This package contains Audiere backend for Cuberok.
40 %description backend-audiere -l pl.UTF-8
41 Wtyczki Audiere dla Cuberok.
43 %package backend-ffmpeg
44 Summary: FFmpeg backend for Cuberok
45 Summary(pl.UTF-8): Wtyczki FFmpeg dla Cuberok
47 Requires: %{name} = %{version}-%{release}
49 %description backend-ffmpeg
50 FFmpeg is a complete solution to record, convert and stream audio and
53 This package contains FFmpeg backend for Cuberok.
55 %description backend-ffmpeg -l pl.UTF-8
56 Wtyczki FFmpeg dla Cuberok.
58 %package backend-gstreamer
59 Summary: GStreamer backend for Cuberok
60 Summary(pl.UTF-8): Wtyczki GStreamera dla Cuberok
62 Requires: %{name} = %{version}-%{release}
63 Requires: gstreamer-plugins-good >= 0.10
65 %description backend-gstreamer
66 GStreamer is a streaming-media framework, based on graphs of filters
67 which operate on media data. Applications using this library can do
68 anything from real-time sound processing to playing videos, and just
69 about anything else media-related.
71 This package contains GStreamer backend for Cuberok.
73 %description backend-gstreamer -l pl.UTF-8
74 Wtyczki GStreamera dla Cuberok.
76 %package backend-phonon
77 Summary: Phonon backend for Cuberok
78 Summary(pl.UTF-8): Wtyczki Phonon dla Cuberok
80 Requires: %{name} = %{version}-%{release}
82 %description backend-phonon
83 Phonon is the multimedia API for Qt4/KDE4. Phonon was created to allow
84 KDE4 to be independent of any single multimedia framework such as
85 GStreamer or Xine and to provide a stable API for KDE4's lifetime. It
86 was done to fix problems of frameworks becoming unmaintained, API
87 instability, and to create a simple multimedia API.
89 This package contains Phonon backend for Cuberok.
91 %description backend-phonon -l pl.UTF-8
92 Wtyczki Phonon dla Cuberok.
99 qmake-qt4 Cuberok.pro \
100 CONFIG+=player_phonon
104 rm -rf $RPM_BUILD_ROOT
106 DESTDIR=$RPM_BUILD_ROOT \
107 INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix}
110 rm -rf $RPM_BUILD_ROOT
113 %defattr(644,root,root,755)
114 %doc ChangeLog README license.txt
115 %attr(755,root,root) %{_bindir}/cuberok
116 %dir %{_libdir}/cuberok
117 %attr(755,root,root) %{_libdir}/%{name}/libcuberok_style.so
118 %dir %{_datadir}/%{name}
119 %dir %{_datadir}/%{name}/locale
120 %lang(ru) %{_datadir}/%{name}/locale/%{name}_ru.qm
121 %{_desktopdir}/%{name}.desktop
122 %{_pixmapsdir}/%{name}.xpm
124 %files backend-audiere
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/%{name}/libplayer_audiere.so
128 %files backend-ffmpeg
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/%{name}/libplayer_ffmpeg.so
132 %files backend-gstreamer
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/%{name}/libplayer_gst.so
136 %files backend-phonon
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/%{name}/libplayer_phonon.so
139 %defattr(644,root,root,755)