]> git.pld-linux.org Git - packages/mpd.git/blobdiff - mpd.spec
- reenabling support for libao
[packages/mpd.git] / mpd.spec
index a2965f7a7b86cc91b882778e763c9eb351b6eb1a..c77b7b30d02d22b5a2c09c9b8801f510841ea3d2 100644 (file)
--- a/mpd.spec
+++ b/mpd.spec
@@ -2,31 +2,34 @@
 # - add initscript
 # - create user for daemon (group audio)
 # - add dir to store playlists and songs DB
-# - create default config 
+# - create default config
 # - add logrotate
+# - add (?) support for pulseaudio, oggflac is disabled
 Summary:       Music Player Daemon
 Summary(pl):   Music Player Daemon - demon odtwarzaj±cy muzykê
 Name:          mpd
-Version:       0.11.5
-Release:       0.1
-Epoch:         0
+Version:       0.12.1
+Release:       2
 License:       GPL
 Group:         Applications/Multimedia
-Source0:       http://mercury.chem.pitt.edu/~shank/%{name}-%{version}.tar.gz
-# Source0-md5: 1a9a1a9d31f00a43838b3752024f7ebe
+Source0:       http://musicpd.org/uploads/files/%{name}-%{version}.tar.bz2
+# Source0-md5: c980cf373fafacdab6734f2ebfb13cbd
+Patch0:                %{name}-flac.patch
 URL:           http://www.musicpd.org/
 BuildRequires: alsa-lib-devel
 BuildRequires: audiofile-devel >= 0.1.7
 BuildRequires: faad2-devel
 BuildRequires: flac-devel >= 1.1.0
+#BuildRequires:        gcc-c++
 BuildRequires: libao-devel >= 0.8.3
 BuildRequires: libid3tag-devel
 BuildRequires: libmad-devel
 BuildRequires: libmikmod-devel
 BuildRequires: libogg-devel
+BuildRequires: libshout-devel
 BuildRequires: libvorbis-devel
+BuildRequires: pkgconfig >= 0.9.0
 BuildRequires: zlib-devel
-#BuildRequires:        gcc-c++
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,10 +50,12 @@ komputer
 frontendów albo czêsto restartuj±cych X.
 
 %prep
-%setup -q 
+%setup -q
+%patch0 -p1
 
 %build
-%configure
+%configure \
+       --enable-ao
 %{__make}
 
 %install
@@ -65,10 +70,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO UPGRADING doc/COMMANDS doc/mpdconf.example
-
+%doc AUTHORS ChangeLog README TODO doc/mpdconf.example UPGRADING doc/COMMANDS
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/mpd.1*
+%{_mandir}/man5/mpd.conf.5*
 
 #%{_datadir}/%{name}
 
This page took 0.07501 seconds and 4 git commands to generate.