From: Jan Palus Date: Thu, 15 Feb 2018 17:49:20 +0000 (+0100) Subject: new (version 1.4) X-Git-Tag: auto/th/accuraterip-checksum-1.4-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Faccuraterip-checksum.git;a=commitdiff_plain;h=ece0b80d07afc15cd11321811be457f7899b4d8a new (version 1.4) --- ece0b80d07afc15cd11321811be457f7899b4d8a diff --git a/accuraterip-checksum.spec b/accuraterip-checksum.spec new file mode 100644 index 0000000..df0a2e7 --- /dev/null +++ b/accuraterip-checksum.spec @@ -0,0 +1,35 @@ +Summary: A C99 commandline program to compute the AccurateRip checksum +Name: accuraterip-checksum +Version: 1.4 +Release: 1 +License: GPL v3 +Group: Applications +Source0: https://github.com/leo-bogert/accuraterip-checksum/archive/version%{version}.tar.gz +# Source0-md5: a5a1ac13ed4f16266f972918e21bd095 +URL: https://github.com/leo-bogert/accuraterip-checksum +BuildRequires: libsndfile-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +A C99 commandline program to compute the AccurateRip checksum of +singletrack WAV files. Implemented according to +http://www.hydrogenaudio.org/forums/index.php?showtopic=97603 + +%prep +%setup -q -n %{name}-version%{version} + +%build +%{__cc} %{rpmcflags} accuraterip-checksum.c -o %{name} %{rpmldflags} -lsndfile + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/%{_bindir} +cp -p %{name} $RPM_BUILD_ROOT/%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.md +%attr(755,root,root) %{_bindir}/%{name}