packages: inteltool/inteltool.spec (NEW) - init - by Daniel Dawid Majewski ...

shadzik shadzik at pld-linux.org
Fri Jun 12 09:46:28 CEST 2009


Author: shadzik                      Date: Fri Jun 12 07:46:28 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- init
- by Daniel Dawid Majewski <light-i at o2 dot pl>

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

---- Diffs:

================================================================
Index: packages/inteltool/inteltool.spec
diff -u /dev/null packages/inteltool/inteltool.spec:1.1
--- /dev/null	Fri Jun 12 09:46:28 2009
+++ packages/inteltool/inteltool.spec	Fri Jun 12 09:46:23 2009
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define		_svn_rev		4190
+Summary:	Utility for recognize Intel HW (chipset/CPU) configuration information
+Summary(pl.UTF-8):	Narzędzie do rozpoznawania informacji konfiguracyjnych w sprzęcie Intela (chipset/CPU)
+Name:		inteltool
+Version:	1.0
+Release:	0.%{_svn_rev}_svn.1
+License:	GPL v2
+Group:		Applications/System
+Source0:	%{name}-%{version}-%{relase}.tar.lzma
+# Source0-md5:	5e6c3cece09a60ac0a2373a05167f3d3
+URL:		http://www.coreboot.org/Inteltool
+BuildRequires:	pciutils-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sbindir		/sbin
+
+%description
+Inteltool is a small utility that provides some information about the
+Intel  CPU/chipset  hardware  configuration  (register contents, MSRs
+[need loading 'msr' kernel module], etc).
+
+%description -l pl.UTF-8
+Inteltool  to  podręczne  narzędzie  dostarczajace  informacji o
+konfiguracji sprzętowej chipsetu/CPU Intela (zawartość rejestrów,
+MSR-y [potrzebne załadowanie modułu jądra 'msr'] itp.).
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC='%{__cc}' \
+	CFLAGS='%{rpmcflags}' \
+	LDFLAGS='%{rpmldflags} -lpci -lz'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/%{name}
+%{_mandir}/man8/%{name}.8*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/06/12 07:46:23  shadzik
+- init
+- by Daniel Dawid Majewski <light-i at o2 dot pl>
+
================================================================


More information about the pld-cvs-commit mailing list