]> git.pld-linux.org Git - packages/cuberok.git/blob - cuberok.spec
- URL
[packages/cuberok.git] / cuberok.spec
1 Summary:        Cuberok music player and a collection manager
2 Name:           cuberok
3 Version:        0.0.11
4 Release:        0.3
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
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)
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
28 %package backend-audiere
29 Summary:        Audiere backend for Cuberok
30 Summary(pl.UTF-8):      Wtyczki Audiere dla Cuberok
31 Group:          Libraries
32 Requires:       %{name} = %{version}-%{release}
33
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.
37
38 This package contains Audiere backend for Cuberok.
39
40 %description backend-audiere -l pl.UTF-8
41 Wtyczki Audiere dla Cuberok.
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
50 FFmpeg is a complete solution to record, convert and stream audio and
51 video.
52
53 This package contains FFmpeg backend for Cuberok.
54
55 %description backend-ffmpeg -l pl.UTF-8
56 Wtyczki FFmpeg dla Cuberok.
57
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
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.
72
73 %description backend-gstreamer -l pl.UTF-8
74 Wtyczki GStreamera dla Cuberok.
75
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
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.
90
91 %description backend-phonon -l pl.UTF-8
92 Wtyczki Phonon dla Cuberok.
93
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
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
123
124 %files backend-audiere
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/%{name}/libplayer_audiere.so
127
128 %files backend-ffmpeg
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/%{name}/libplayer_ffmpeg.so
131
132 %files backend-gstreamer
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/%{name}/libplayer_gst.so
135
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)
This page took 0.076349 seconds and 3 git commands to generate.