]>
Commit | Line | Data |
---|---|---|
24d104bf ER |
1 | Summary: Cuberok music player and a collection manager |
2 | Name: cuberok | |
3 | Version: 0.0.11 | |
3c1fc6cf | 4 | Release: 0.3 |
24d104bf ER |
5 | License: GPL v3+ |
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 | |
b40bef6d | 10 | URL: https://sites.google.com/site/cuberok/ |
24d104bf ER |
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 | |
69329de5 ER |
19 | # for Amarok 1.4 import |
20 | Suggests: QtSql-sqlite3 | |
24d104bf ER |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
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. | |
27 | ||
3c1fc6cf ER |
28 | %package backend-audiere |
29 | Summary: Audiere backend for Cuberok | |
30 | Summary(pl.UTF-8): Wtyczki Audiere dla Cuberok | |
69329de5 ER |
31 | Group: Libraries |
32 | Requires: %{name} = %{version}-%{release} | |
69329de5 | 33 | |
3c1fc6cf | 34 | %description backend-audiere |
7fbc28e9 ER |
35 | The Audiere Audio System is a portable audio library which supports |
36 | playing MP3, Ogg Vorbis, WAV, IT, XM, S3M, and MOD files. | |
37 | ||
38 | This package contains Audiere backend for Cuberok. | |
69329de5 | 39 | |
3c1fc6cf ER |
40 | %description backend-audiere -l pl.UTF-8 |
41 | Wtyczki Audiere dla Cuberok. | |
69329de5 ER |
42 | |
43 | %package backend-ffmpeg | |
44 | Summary: FFmpeg backend for Cuberok | |
45 | Summary(pl.UTF-8): Wtyczki FFmpeg dla Cuberok | |
46 | Group: Libraries | |
47 | Requires: %{name} = %{version}-%{release} | |
48 | ||
49 | %description backend-ffmpeg | |
7fbc28e9 ER |
50 | FFmpeg is a complete solution to record, convert and stream audio and |
51 | video. | |
52 | ||
53 | This package contains FFmpeg backend for Cuberok. | |
69329de5 | 54 | |
3c1fc6cf | 55 | %description backend-ffmpeg -l pl.UTF-8 |
69329de5 ER |
56 | Wtyczki FFmpeg dla Cuberok. |
57 | ||
3c1fc6cf ER |
58 | %package backend-gstreamer |
59 | Summary: GStreamer backend for Cuberok | |
60 | Summary(pl.UTF-8): Wtyczki GStreamera dla Cuberok | |
61 | Group: Libraries | |
62 | Requires: %{name} = %{version}-%{release} | |
63 | Requires: gstreamer-plugins-good >= 0.10 | |
64 | ||
65 | %description backend-gstreamer | |
7fbc28e9 ER |
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. | |
70 | ||
71 | This package contains GStreamer backend for Cuberok. | |
3c1fc6cf ER |
72 | |
73 | %description backend-gstreamer -l pl.UTF-8 | |
74 | Wtyczki GStreamera dla Cuberok. | |
75 | ||
69329de5 ER |
76 | %package backend-phonon |
77 | Summary: Phonon backend for Cuberok | |
78 | Summary(pl.UTF-8): Wtyczki Phonon dla Cuberok | |
79 | Group: Libraries | |
80 | Requires: %{name} = %{version}-%{release} | |
81 | ||
82 | %description backend-phonon | |
7fbc28e9 ER |
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. | |
88 | ||
89 | This package contains Phonon backend for Cuberok. | |
69329de5 | 90 | |
3c1fc6cf | 91 | %description backend-phonon -l pl.UTF-8 |
69329de5 ER |
92 | Wtyczki Phonon dla Cuberok. |
93 | ||
24d104bf ER |
94 | %prep |
95 | %setup -q | |
96 | %patch0 -p1 | |
97 | ||
98 | %build | |
99 | qmake-qt4 Cuberok.pro \ | |
100 | CONFIG+=player_phonon | |
101 | %{__make} | |
102 | ||
103 | %install | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | %{__make} install \ | |
106 | DESTDIR=$RPM_BUILD_ROOT \ | |
107 | INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix} | |
108 | ||
109 | %clean | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %files | |
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 | |
24d104bf ER |
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 | |
69329de5 | 123 | |
3c1fc6cf | 124 | %files backend-audiere |
69329de5 | 125 | %defattr(644,root,root,755) |
3c1fc6cf | 126 | %attr(755,root,root) %{_libdir}/%{name}/libplayer_audiere.so |
69329de5 ER |
127 | |
128 | %files backend-ffmpeg | |
129 | %defattr(644,root,root,755) | |
130 | %attr(755,root,root) %{_libdir}/%{name}/libplayer_ffmpeg.so | |
131 | ||
3c1fc6cf ER |
132 | %files backend-gstreamer |
133 | %defattr(644,root,root,755) | |
134 | %attr(755,root,root) %{_libdir}/%{name}/libplayer_gst.so | |
135 | ||
69329de5 ER |
136 | %files backend-phonon |
137 | %defattr(644,root,root,755) | |
138 | %attr(755,root,root) %{_libdir}/%{name}/libplayer_phonon.so | |
3c1fc6cf | 139 | %defattr(644,root,root,755) |