summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adplay.spec20
1 files changed, 7 insertions, 13 deletions
diff --git a/adplay.spec b/adplay.spec
index 09cddc1..c0a623f 100644
--- a/adplay.spec
+++ b/adplay.spec
@@ -1,19 +1,14 @@
-# SPEC file for AdPlay, primary target is the Fedora Extras
-# RPM repository.
-
Name: adplay
Version: 1.6
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: An AdLib (OPL2) music player build on AdPlug
URL: http://adplug.sourceforge.net/
Group: Applications/Multimedia
Source: http://download.sourceforge.net/adplug/%{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildRequires: adplug-devel
BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel
-BuildRequires: esound-devel
%description
AdPlay is a command-line player for AdLib (OPL2) music utilizing
@@ -27,23 +22,22 @@ the AdPlug library.
# and I don't want to pull in the entire SDL library for this. We
# also explicitly forbid the QNX QSA driver, it won't hurt.
%configure --disable-static --disable-output-oss --disable-output-sdl \
- --disable-output-qsa
+ --disable-output-qsa --disable-output-esound -with-gnu-ld
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%make_install
%files
-%defattr(-, root, root)
%{_bindir}/adplay
%{_mandir}/man1/*
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%changelog
+* Tue Feb 12 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 1.6-10
+- disable esd support since esd is getting dropped in Fedora
+- clean up spec to follow current guidelines
+
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild