]> git.pld-linux.org Git - packages/cpu-g.git/commitdiff
- initial
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 10 Jan 2012 23:03:35 +0000 (23:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cpu-g.spec -> 1.1

cpu-g.spec [new file with mode: 0644]

diff --git a/cpu-g.spec b/cpu-g.spec
new file mode 100644 (file)
index 0000000..4cca7a5
--- /dev/null
@@ -0,0 +1,49 @@
+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*
This page took 0.086349 seconds and 4 git commands to generate.