Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > a5cc58b827451026114e64de6857e5e2 > files > 3

bpmdj-2.4-1mdk.src.rpm

%define name	bpmdj
%define version	2.4
%define release 1mdk

Name: 	 	%{name}
Summary: 	Semi-automated DJ utilities
Version: 	%{version}
Release: 	%{release}

Source:		%{name}-%{version}.source.tar.bz2
Patch:		%name-2.4-docfix.diff.bz2
URL:		http://bpmdj.sourceforge.net/
License:	GPL
Group:		Sound
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	qt3-devel

%description
BpmDj is a set of programs that can be used to DJ MP3's. The programs has all
kinds of interesting features such as a fully automatic BPM counter (works on
an algorithm invented by me). It can determine the sound color. It has a full
fledged QT (KDE) based interface. It will help you managing a large amount of
songs and above all it is very robust. The program itself requires the
availability of two DSP devices. This can be either by plugging two soundcards
in one machine or using two machines and playing remotely.

%prep
%setup -q
%patch

%build
export PATH=/usr/lib/qt3/bin:$PATH
%make CC="gcc $RPM_OPT_FLAGS" CPP="g++ $RPM_OPT_FLAGS" QT_INCLUDE_PATH="-I/usr/lib/qt3/include" QT_LIBRARY_PATH="-L/usr/lib/qt3/lib" QT_LIBS="-lqt-mt"
										
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
rm -fr $RPM_BUILD_ROOT/%_docdir

#menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}
?package(%{name}): command="kbpm-dj" icon="sound_section.png" needs="x11" title="BPMDJ" longtitle="DJ Software" section="Multimedia/Sound"
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_menus
		
%postun
%clean_menus

%files
%defattr(-,root,root)
%doc authors changelog copyright readme ripping todo
%{_bindir}/*
%{_menudir}/%name

%changelog
* Thu Jul 8 2004 Austin Acton <austin@mandrake.org> 2.4-1mdk
- 2.4

* Mon Feb 16 2004 Austin Acton <austin@mandrake.org> 2.3b-1mdk
- 2.3b

* Mon Oct 6 2003 Austin Acton <aacton@yorku.ca> 2.0-1mdk
- initial package