]>
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 | 16 | URL: http://www.musicpd.org/ |
3523369e | 17 | BuildRequires: alsa-lib-devel >= 0.9.0 |
c7dcdf50 | 18 | BuildRequires: audiofile-devel >= 0.1.7 |
3523369e | 19 | BuildRequires: avahi-devel |
c7dcdf50 AF |
20 | BuildRequires: faad2-devel |
21 | BuildRequires: flac-devel >= 1.1.0 | |
3523369e | 22 | BuildRequires: jack-audio-connection-kit-devel >= 0.4 |
c7dcdf50 AF |
23 | BuildRequires: libao-devel >= 0.8.3 |
24 | BuildRequires: libid3tag-devel | |
25 | BuildRequires: libmad-devel | |
3523369e | 26 | BuildRequires: libmikmod-devel >= 3.1.7 |
8f2c0c52 | 27 | BuildRequires: libmpcdec-devel |
c7dcdf50 | 28 | BuildRequires: libogg-devel |
3523369e | 29 | BuildRequires: libsamplerate-devel >= 0.0.15 |
38f95112 | 30 | BuildRequires: libshout-devel |
c7dcdf50 | 31 | BuildRequires: libvorbis-devel |
3523369e | 32 | BuildRequires: pkgconfig >= 1:0.9.0 |
82d4bc97 | 33 | BuildRequires: pulseaudio-devel |
c7dcdf50 | 34 | BuildRequires: zlib-devel |
c7dcdf50 AF |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
87d7b893 JB |
38 | Music Player Daemon (MPD) allows remote access for playing music (MP3, |
39 | Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists. | |
40 | MPD is designed for integrating a computer into a stereo system that | |
41 | provides control for music playback over a local network. It is also | |
42 | makes a great desktop music player, especially if you are a console | |
43 | junkie, like frontend options, or restart X often. | |
44 | ||
f7293765 JR |
45 | %description -l pl.UTF-8 |
46 | Music Player Daemon (MPD) pozwala na zdalny dostęp do odtwarzania | |
47 | muzyki (plików MP3, Ogg Vorbis, FLAC, AAC, Mod i wave) oraz | |
48 | zarządzania playlistami. MPD jest zaprojektowany do integrowania | |
49 | komputera w system stereo umożliwiający sterowanie odtwarzaniem muzyki | |
50 | w sieci lokalnej. Służy także za dobry odtwarzacz muzyki dla | |
51 | komputerów biurkowych, zwłaszcza dla miłośników konsoli, różnych opcji | |
52 | frontendów albo często restartujących X. | |
c7dcdf50 AF |
53 | |
54 | %prep | |
38f95112 | 55 | %setup -q |
c7dcdf50 AF |
56 | |
57 | %build | |
3523369e | 58 | # ac_cv_* hacks to avoid unwanted linking |
d9401207 | 59 | %configure \ |
3523369e JB |
60 | ac_cv_lib_iconv_main=no \ |
61 | ac_cv_lib_nsl_gethostbyname=no \ | |
d9401207 | 62 | --enable-ao |
c7dcdf50 AF |
63 | %{__make} |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
c7dcdf50 AF |
67 | |
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
80d0dd8f | 77 | %doc AUTHORS ChangeLog README TODO doc/mpdconf.example UPGRADING doc/COMMANDS |
c7dcdf50 AF |
78 | %attr(755,root,root) %{_bindir}/* |
79 | %{_mandir}/man1/mpd.1* | |
80d0dd8f | 80 | %{_mandir}/man5/mpd.conf.5* |
c7dcdf50 AF |
81 | |
82 | #%{_datadir}/%{name} | |
83 | ||
87d7b893 | 84 | # initscript and its config |
c7dcdf50 AF |
85 | #%attr(754,root,root) /etc/rc.d/init.d/%{name} |
86 | #%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |