packages: cpu-g/cpu-g.spec (NEW) - initial

blues blues at pld-linux.org
Wed Jan 11 00:03:40 CET 2012


Author: blues                        Date: Tue Jan 10 23:03:40 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/cpu-g/cpu-g.spec
diff -u /dev/null packages/cpu-g/cpu-g.spec:1.1
--- /dev/null	Wed Jan 11 00:03:40 2012
+++ packages/cpu-g/cpu-g.spec	Wed Jan 11 00:03:35 2012
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+Summary:	Shows some useful information about your hardware
+Name:		cpu-g
+Version:	0.9.0
+Release:	0.1
+License:	GPL v3
+Group:		Applications/System
+Source0:	http://dl.sourceforge.net/cpug/%{name}-%{version}.tar.gz
+# Source0-md5:	51b35a75331dc1067c6ed79b4861d346
+URL:		http://sourceforge.net/projects/cpug/
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.586
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CPU-G is an application that shows useful information about your
+hardware. It collects and displays information about your CPU, RAM,
+Motherboard, some general information about your system and more. 
+
+%prep
+%setup -q 
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}} \
+	$RPM_BUILD_ROOT%{_desktopdir}
+
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+install doc/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install %{name} $RPM_BUILD_ROOT%{_datadir}/%{name}
+install %{name}.glade $RPM_BUILD_ROOT%{_datadir}/%{name}
+install data/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
+
+cp -R data $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/%{name}
+%dir %{_datadir}/%{name}
+%attr(755,root,root) %{_datadir}/%{name}/%{name}
+%{_datadir}/%{name}/%{name}.glade
+%{_datadir}/%{name}/data
+%{_desktopdir}/%{name}.desktop
+%{_mandir}/man1/*.1*
+
+%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  2012/01/10 23:03:35  blues
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list