1 Summary: A C99 commandline program to compute the AccurateRip checksum
2 Name: accuraterip-checksum
7 Source0: https://github.com/leo-bogert/accuraterip-checksum/archive/version%{version}.tar.gz
8 # Source0-md5: e189ef0a849923facb46ef82d22c1f4d
9 URL: https://github.com/leo-bogert/accuraterip-checksum
10 BuildRequires: libsndfile-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 A C99 commandline program to compute the AccurateRip checksum of
15 singletrack WAV files. Implemented according to
16 http://www.hydrogenaudio.org/forums/index.php?showtopic=97603
19 %setup -q -n %{name}-version%{version}
22 %{__cc} %{rpmcflags} accuraterip-checksum.c -o %{name} %{rpmldflags} -lsndfile
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT/%{_bindir}
27 cp -p %{name} $RPM_BUILD_ROOT/%{_bindir}
30 rm -rf $RPM_BUILD_ROOT
33 %defattr(644,root,root,755)
35 %attr(755,root,root) %{_bindir}/%{name}