public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/clpeak] epel10: Initial import
@ 2026-10-21 19:53 Fabian Deutsch
  0 siblings, 0 replies; only message in thread
From: Fabian Deutsch @ 2026-10-21 19:53 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/clpeak
            Branch : epel10
            Commit : 3e71ea5289d3044aad3f32eff03f9a812d3a3e25
            Author : Fabian Deutsch <fabiand@fedoraproject.org>
            Date   : 2014-04-25T14:48:42+02:00
            Stats  : +60/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/clpeak/c/3e71ea5289d3044aad3f32eff03f9a812d3a3e25?branch=epel10

            Log:
            Initial import

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index e69de29..b051a6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/clpeak-0.1-c0b94f2.tar.gz

diff --git a/clpeak.spec b/clpeak.spec
new file mode 100644
index 0000000..3f1bd90
--- /dev/null
+++ b/clpeak.spec
@@ -0,0 +1,58 @@
+%global commit c0b94f2f232819eeccff7251d363b65b31fa391e
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global checkout .20140425git%{shortcommit}
+
+Summary:    Find peak OpenCL capacities like bandwidth & compute
+Name:       clpeak
+Version:    0.1
+Release:    2%{?checkout}%{?dist}
+License:    Public Domain
+Group:      Applications/System
+URL:        https://github.com/krrishnarraj/%{name}
+
+Source0:    %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
+BuildRequires: cmake >= 2.6
+BuildRequires: opencl-headers
+BuildRequires: ocl-icd-devel
+BuildRequires: mesa-libGL-devel
+
+# Issue with arch specific opencl-headers
+# https://bugzilla.redhat.com/show_bug.cgi?id=1027199
+ExcludeArch: armv7hl
+
+
+%description
+A tool which profiles OpenCL devices to find their peak capacities like
+bandwidth & compute.
+
+%prep
+%setup -q -n %{name}-%{commit}
+
+
+%build
+mkdir build
+cd build
+
+%cmake ..
+
+make %{?_smp_mflags}
+
+
+%install
+mkdir -p %{buildroot}/%{_bindir}/
+install -pm0755 build/clpeak %{buildroot}%{_bindir}/
+
+
+%files
+%doc README.md LICENSE STATUS
+%{_bindir}/clpeak
+
+
+%changelog
+* Fri Apr 25 2014 Fabian Deutsch <fabiand@fedoraproject.org> - 0.1-2.20140425gitc0b94f2
+- Improve installation
+- Drop gcc-c++ BR
+
+* Fri Apr 25 2014 Fabian Deutsch <fabiand@fedoraproject.org> - 0.1-1.20140425gitc0b94f2
+- Initial package

diff --git a/sources b/sources
index e69de29..c6e6d06 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+039c03fb1b581c02f0e42bf941c2834b  clpeak-0.1-c0b94f2.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-21 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 19:53 [rpms/clpeak] epel10: Initial import Fabian Deutsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox