[gnome-battery-bench] Initial import
Owen Taylor
otaylor at fedoraproject.org
Thu Mar 12 18:03:29 UTC 2015
commit 8824566d8c3ac504b93de1a969e30bfe765410d2
Author: Owen W. Taylor <otaylor at fishsoup.net>
Date: Thu Mar 12 14:00:24 2015 -0400
Initial import
.gitignore | 1 +
gnome-battery-bench.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 68 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ad5d04d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-battery-bench-3.15.4.tar.xz
diff --git a/gnome-battery-bench.spec b/gnome-battery-bench.spec
new file mode 100644
index 0000000..82e277e
--- /dev/null
+++ b/gnome-battery-bench.spec
@@ -0,0 +1,66 @@
+Name: gnome-battery-bench
+Version: 3.15.4
+Release: 1%{?dist}
+Summary: Measure power usage in defined scenarios
+
+License: GPLv2+
+URL: https://git.gnome.org/browse/%{name}
+Source0: https://download.gnome.org/sources/%{name}/3.15/%{name}-%{version}.tar.xz
+
+BuildRequires: asciidoc
+BuildRequires: desktop-file-utils
+BuildRequires: xmlto
+BuildRequires: pkgconfig(gio-unix-2.0)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(json-glib-1.0)
+BuildRequires: pkgconfig(libevdev)
+BuildRequires: pkgconfig(polkit-gobject-1)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xtst)
+
+%description
+This application is designed for measuring power usage. It does it by
+recording the reported battery statistics as it replays recorded event
+logs, and then using that to estimate power consumption and total
+battery lifetime.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.BatteryBench.desktop
+
+%files
+%doc README
+%license COPYING
+%{_bindir}/%{name}
+%{_bindir}/gbb
+%{_datadir}/%{name}
+%{_datadir}/applications/org.gnome.BatteryBench.desktop
+%{_datadir}/dbus-1/services/org.gnome.BatteryBench.service
+%{_datadir}/dbus-1/system-services/org.gnome.BatteryBench.Helper.service
+%{_datadir}/polkit-1/actions/org.gnome.BatteryBench.Helper.policy
+%{_libexecdir}/gnome-battery-bench-helper
+%{_mandir}/man1/gbb.1*
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.gnome.BatteryBench.Helper.conf
+
+%changelog
+* Thu Mar 12 2015 Owen Taylor <otaylor at localhost.localdomain> - 3.15.4-1
+- Fix RPM style issues (From review by Florian Lehner)
+
+* Mon Feb 9 2015 Owen Taylor <otaylor at redhat.com> - 3.15.4-0.1
+- Fix mixed use of $RPM_BUILD_ROOT and %%{buildroot} (From review by
+ Florian Lehner)
+
+* Thu Jan 29 2015 Owen Taylor <otaylor at redhat.com> - 3.15.4-0
+- Initial spec version
diff --git a/sources b/sources
index e69de29..1e8b7c0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b587e2215aaeb26be5848b1c936e6b8c gnome-battery-bench-3.15.4.tar.xz
More information about the scm-commits
mailing list