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