Author: glen                         Date: Fri Aug 12 19:17:07 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on bundled .spec

---- Files affected:
packages/ibam:
   ibam.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ibam/ibam.spec
diff -u /dev/null packages/ibam/ibam.spec:1.1
--- /dev/null   Fri Aug 12 21:17:07 2011
+++ packages/ibam/ibam.spec     Fri Aug 12 21:17:02 2011
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+# TODO
+# - gkrellm2 plugin subpackage or something
+Summary:       Intelligent Battery Monitor
+Name:          ibam
+Version:       0.5.2
+Release:       1
+License:       GPL
+Group:         Applications/System
+Source0:       http://downloads.sourceforge.net/ibam/%{name}-%{version}.tar.gz
+# Source0-md5: 2d5222ff504dd19e7c1ea8acc2f13cf5
+URL:           http://sourceforge.net/projects/ibam/
+BuildRequires: gkrellm-devel
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+IBAM is an advanced battery monitor for laptops, which uses
+statistical and adaptive linear methods to provide accurate
+estimations of minutes of battery left or of the time needed until
+full recharge.
+
+%prep
+%setup -q
+
+%build
+%{__make} ibam krell \
+       CC="%{__cxx}" \
+       CFLAGS='-DIBAM_VERSION=\"$(IBAM_VERSION)\" -Wall %{rpmcxxflags}'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/gkrellm2/plugins}
+install -p ibam $RPM_BUILD_ROOT%{_bindir}
+install -p ibam-krell.so $RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README REPORT 
+%attr(755,root,root) %{_bindir}/ibam
+%attr(755,root,root) %{_libdir}/gkrellm2/plugins/ibam-krell.so
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedb...@pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/08/12 19:17:02  glen
+- new, based on bundled .spec
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to