]>
Commit | Line | Data |
---|---|---|
c7dcdf50 AF |
1 | # TODO: |
2 | # - add initscript | |
3 | # - create user for daemon (group audio) | |
4 | # - add dir to store playlists and songs DB | |
38f95112 | 5 | # - create default config |
c7dcdf50 AF |
6 | # - add logrotate |
7 | Summary: Music Player Daemon | |
6ae29a87 | 8 | Summary(pl.UTF-8): Music Player Daemon - demon odtwarzający muzykę |
c7dcdf50 | 9 | Name: mpd |
d6860d15 | 10 | Version: 0.13.1 |
85846d40 | 11 | Release: 1 |
c7dcdf50 AF |
12 | License: GPL |
13 | Group: Applications/Multimedia | |
38f95112 | 14 | Source0: http://musicpd.org/uploads/files/%{name}-%{version}.tar.bz2 |
d6860d15 | 15 | # Source0-md5: dbd219c8ba773bc9270e27bfafc798b5 |
c7dcdf50 AF |
16 | URL: http://www.musicpd.org/ |
17 | BuildRequires: alsa-lib-devel | |
18 | BuildRequires: audiofile-devel >= 0.1.7 | |
19 | BuildRequires: faad2-devel | |
20 | BuildRequires: flac-devel >= 1.1.0 | |
38f95112 | 21 | #BuildRequires: gcc-c++ |
c7dcdf50 | 22 | BuildRequires: libao-devel >= 0.8.3 |
d6860d15 | 23 | BuildRequires: libatomic_ops |
c7dcdf50 AF |
24 | BuildRequires: libid3tag-devel |
25 | BuildRequires: libmad-devel | |
26 | BuildRequires: libmikmod-devel | |
8f2c0c52 | 27 | BuildRequires: libmpcdec-devel |
c7dcdf50 | 28 | BuildRequires: libogg-devel |
38f95112 | 29 | BuildRequires: libshout-devel |
c7dcdf50 | 30 | BuildRequires: libvorbis-devel |
38f95112 | 31 | BuildRequires: pkgconfig >= 0.9.0 |
82d4bc97 | 32 | BuildRequires: pulseaudio-devel |
c7dcdf50 | 33 | BuildRequires: zlib-devel |
c7dcdf50 AF |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
87d7b893 JB |
37 | Music Player Daemon (MPD) allows remote access for playing music (MP3, |
38 | Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists. | |
39 | MPD is designed for integrating a computer into a stereo system that | |
40 | provides control for music playback over a local network. It is also | |
41 | makes a great desktop music player, especially if you are a console | |
42 | junkie, like frontend options, or restart X often. | |
43 | ||
f7293765 JR |
44 | %description -l pl.UTF-8 |
45 | Music Player Daemon (MPD) pozwala na zdalny dostęp do odtwarzania | |
46 | muzyki (plików MP3, Ogg Vorbis, FLAC, AAC, Mod i wave) oraz | |
47 | zarządzania playlistami. MPD jest zaprojektowany do integrowania | |
48 | komputera w system stereo umożliwiający sterowanie odtwarzaniem muzyki | |
49 | w sieci lokalnej. Służy także za dobry odtwarzacz muzyki dla | |
50 | komputerów biurkowych, zwłaszcza dla miłośników konsoli, różnych opcji | |
51 | frontendów albo często restartujących X. | |
c7dcdf50 AF |
52 | |
53 | %prep | |
38f95112 | 54 | %setup -q |
c7dcdf50 AF |
55 | |
56 | %build | |
d9401207 SS |
57 | %configure \ |
58 | --enable-ao | |
c7dcdf50 AF |
59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
c7dcdf50 AF |
63 | |
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
80d0dd8f | 73 | %doc AUTHORS ChangeLog README TODO doc/mpdconf.example UPGRADING doc/COMMANDS |
c7dcdf50 AF |
74 | %attr(755,root,root) %{_bindir}/* |
75 | %{_mandir}/man1/mpd.1* | |
80d0dd8f | 76 | %{_mandir}/man5/mpd.conf.5* |
c7dcdf50 AF |
77 | |
78 | #%{_datadir}/%{name} | |
79 | ||
87d7b893 | 80 | # initscript and its config |
c7dcdf50 AF |
81 | #%attr(754,root,root) /etc/rc.d/init.d/%{name} |
82 | #%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |