Commit 19d6ba1b authored by Led's avatar Led

0.13.0-alt3

parent ebc906a6
......@@ -25,6 +25,7 @@
%define mpd_group audio
#----------------------------------------------------------------------
%define set_disable() %{expand:%%force_disable %{1}} %{expand:%%undefine _enable_%{1}}
%define rpmver_ge() %{expand:%%if %%(rpmvercmp %%{get_version %{1}} %{2}) >= 0}
%if_with tremor
%set_disable shout
......@@ -35,7 +36,7 @@
%define Name MPD
Name: mpd
Version: 0.13.0
Release: alt2
Release: alt3
Summary: Music Player Daemon (%Name) allows remote access for playing music and managing playlists.
License: %gpl2plus
Group: Sound
......@@ -45,6 +46,7 @@ Source1: %name.conf
Source2: %name.sys.conf.in
Source3: %name.init.in
Patch: %name-0.13.0-configure.patch
BuildPreReq: rpm-utils
# Automatically added by buildreq on Tue Sep 11 2007
#BuildRequires: gcc-c++ glibc-devel-static jackit-devel libalsa-devel libao-devel libaudiofile-devel libavahi-devel libfaad-devel libflac-devel libid3tag-devel libmad-devel libmikmod-devel libmpcdec-devel libpulseaudio-devel libsamplerate-devel libshout2-devel zlib-devel
......@@ -82,7 +84,7 @@ console junkie, like frontend options, or restart X often.
%prep
%setup
%patch -p1
%if "%{get_version libflac-devel}" >= "1.1.3"
%rpmver_ge libflac-devel 1.1.3
subst 's/AM_PATH_LIBOGGFLAC/AM_PATH_LIBFLAC/' configure.ac
%endif
......@@ -157,6 +159,9 @@ chmod 755 %buildroot%_initdir/%name
%changelog
* Fri Sep 14 2007 Led <led@altlinux.ru> 0.13.0-alt3
- libflac-devel version qualifing with rmpvercmp
* Thu Sep 13 2007 Led <led@altlinux.ru> 0.13.0-alt2
- added init script (fixed #12707)
- updated default %_sysconfdir/%name.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment