diff --git a/.cvsignore b/.cvsignore index e69de29..7341f31 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +adplay-1.5.tar.bz2 diff --git a/adplay.spec b/adplay.spec new file mode 100644 index 0000000..b8a9dc2 --- /dev/null +++ b/adplay.spec @@ -0,0 +1,60 @@ +# SPEC file for AdPlay, primary target is the Fedora Extras +# RPM repository. + +Name: adplay +Version: 1.5 +Release: 1%{?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: GPL +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 +the AdPlug library. + +%prep +%setup -q + +%build +# I intentionally disable OSS and SDL: Fedora installs ALSA by default +# 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 +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%{_bindir}/adplay +%{_mandir}/man1/* +%doc AUTHORS ChangeLog COPYING NEWS README TODO + +%changelog +* Sat May 6 2006 Linus Walleij 1.5-1 +- Upstream release a new version. + +* Wed Feb 1 2006 Linus Walleij 1.4-4 +- RM unnecessary BR, fixup CXXFLAGS. + +* Tue Jan 24 2006 Linus Walleij 1.4-3 +- Download address. + +* Mon Jan 23 2006 Linus Walleij 1.4-2 +- Happy dist-tag. + +* Sun Jan 15 2006 Linus Walleij 1.4-1 +- First try at an AdPlay RPM. diff --git a/sources b/sources index e69de29..742882b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +18e1ac84b6f07d0388902a083f400da7 adplay-1.5.tar.bz2