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