]> git.pld-linux.org Git - packages/accuraterip-checksum.git/commitdiff
new (version 1.4) auto/th/accuraterip-checksum-1.4-1
authorJan Palus <atler@pld-linux.org>
Thu, 15 Feb 2018 17:49:20 +0000 (18:49 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 15 Feb 2018 17:49:42 +0000 (18:49 +0100)
accuraterip-checksum.spec [new file with mode: 0644]

diff --git a/accuraterip-checksum.spec b/accuraterip-checksum.spec
new file mode 100644 (file)
index 0000000..df0a2e7
--- /dev/null
@@ -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}
This page took 0.491497 seconds and 4 git commands to generate.