]> git.pld-linux.org Git - packages/qmmp.git/blame_incremental - qmmp.spec
- up to 0.7.1
[packages/qmmp.git] / qmmp.spec
... / ...
CommitLineData
1Summary: XMMS like audio player written in Qt
2Summary(hu.UTF-8): XMMS-szerű Qt alapú audio-lejátszó
3Summary(pl.UTF-8): Odtwarzacz muzyki w stylu XMMS napisany w Qt
4Name: qmmp
5Version: 0.7.1
6Release: 1
7License: GPL v2
8Group: X11/Applications/Multimedia
9Source0: http://qmmp.googlecode.com/files/%{name}-%{version}.tar.bz2
10# Source0-md5: d5ecc15134eefc1b8af4220540a65f19
11URL: http://code.google.com/p/qmmp/
12BuildRequires: Qt3Support-devel
13BuildRequires: QtCore-devel >= 4.6
14BuildRequires: QtGui-devel >= 4.6
15BuildRequires: QtNetwork-devel
16BuildRequires: QtOpenGL-devel
17BuildRequires: alsa-lib-devel >= 1.0.1
18BuildRequires: cmake
19BuildRequires: curl-devel >= 7.16
20BuildRequires: enca-devel >= 1.9
21BuildRequires: faad2-devel
22BuildRequires: ffmpeg-devel >= 0.4.9
23BuildRequires: flac-devel >= 1.1.3
24BuildRequires: game-music-emu-devel
25BuildRequires: gettext-devel
26BuildRequires: jack-audio-connection-kit-devel >= 0.102.5
27BuildRequires: libbs2b-devel >= 3.0.0
28BuildRequires: libcddb-devel
29BuildRequires: libcdio-devel
30BuildRequires: libcdio-devel
31BuildRequires: libmad-devel
32BuildRequires: libmms-devel >= 0.4
33BuildRequires: libmodplug-devel >= 0.8.4
34BuildRequires: libmpcdec-devel >= 1.2.6
35BuildRequires: libprojectM-devel >= 2.0.0
36BuildRequires: libsamplerate-devel >= 0.1.2
37BuildRequires: libsndfile-devel >= 1.0.17
38BuildRequires: libvorbis-devel
39BuildRequires: opusfile-devel >= 0.2
40BuildRequires: pulseaudio-devel >= 0.9.15
41BuildRequires: qt4-linguist
42BuildRequires: rpmbuild(macros) >= 1.129
43BuildRequires: sed >= 4.0
44BuildRequires: taglib-devel >= 1.4.0
45BuildRequires: wavpack-devel >= 4.41
46BuildRequires: wildmidi-devel
47Requires(post,postun): /sbin/ldconfig
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
51Audio player that supports:
52- file formats among: Vorbis, FLAC, MPEG1, WMA, WAV,
53- plugins,
54- Winamp and XMMS skins and more.
55
56%description -l hu.UTF-8
57A lejátszó a következőket támogatja:
58- fájlformátumok: Vorbis, FLAC, MPEG1, WMA, WAV
59- pluginok
60- Wnamp és XMMS szkinek és még sok mást.
61
62%description -l pl.UTF-8
63Odtwarzacz audio wspierający:
64- formaty plikow m.in.: Vorbis, Flac, MPEG1, WMA, WAW, i inne,
65- system wtyczek,
66- skórki z XMMS i Winampa, i więcej.
67
68%package devel
69Summary: Header files for qmmp
70Summary(pl.UTF-8): Pliki nagłówkowe qmmp
71License: GPL v2.1+
72Group: Development/Libraries
73
74%description devel
75Header files for qmmp
76
77%description devel -l pl.UTF-8
78Pliki nagłówkowe qmmp
79
80
81%prep
82%setup -q
83
84%build
85install -d build
86cd build
87%cmake \
88 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
89 -DLIB_INSTALL_DIR=%{_libdir} \
90 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
91%if "%{_lib}" == "lib64"
92 -DLIB_SUFFIX=64 \
93%endif
94 ..
95
96%{__make}
97
98%install
99rm -rf $RPM_BUILD_ROOT
100
101cd build
102%{__make} install \
103 DESTDIR=$RPM_BUILD_ROOT \
104 kde_htmldir=%{_kdedocdir} \
105 kde_libs_htmldir=%{_kdedocdir}
106
107
108%clean
109rm -rf $RPM_BUILD_ROOT
110
111%post -p /sbin/ldconfig
112%postun -p /sbin/ldconfig
113
114%files
115%defattr(644,root,root,755)
116%attr(755,root,root) %{_bindir}/*
117%attr(755,root,root) %{_libdir}/libqmmp.so.0.*.*
118%attr(755,root,root) %ghost %{_libdir}/libqmmp.so.0
119%attr(755,root,root) %{_libdir}/libqmmpui.so.0.*.*
120%attr(755,root,root) %ghost %{_libdir}/libqmmpui.so.0
121%attr(755,root,root) %{_libdir}/qmmp/
122%{_desktopdir}/qmmp.desktop
123%{_desktopdir}/qmmp_cue.desktop
124%{_desktopdir}/qmmp_enqueue.desktop
125%{_desktopdir}/qmmp_dir.desktop
126%dir %{_datadir}/qmmp
127%dir %{_datadir}/qmmp/images
128%{_datadir}/qmmp/images/*.png
129%{_iconsdir}/hicolor/*/apps/qmmp.png
130%{_iconsdir}/hicolor/scalable/apps/*.svgz
131
132%files devel
133%defattr(644,root,root,755)
134%{_includedir}/qmmp
135%{_includedir}/qmmpui
136%attr(755,root,root) %{_libdir}/libqmmp.so
137%attr(755,root,root) %{_libdir}/libqmmpui.so
138%{_pkgconfigdir}/qmmp.pc
139%{_pkgconfigdir}/qmmpui.pc
This page took 0.223016 seconds and 4 git commands to generate.