]> git.pld-linux.org Git - packages/memtester.git/blobdiff - memtester.spec
- License is strictly GPL v2
[packages/memtester.git] / memtester.spec
index 2e151b37109889906af5c1d66d025ca5ab35b51f..18b85e54d96ef0c962f11e080317ee3c78fc282a 100644 (file)
@@ -1,62 +1,47 @@
-%define date 19991116
-Summary:       Utility to test for faulty memory
-Summary(pl):   Program do testowania pamiêci
+Summary:       Userspace utility to test for faulty memory subsystem
+Summary(pl):   Narzêdzie do testowania podsystemu pamiêci
 Name:          memtester
-Version:       %{date}
+Version:       4.0.5
 Release:       1
-Copyright:     GNU
-Group:         Utility/System
-Group(pl):     Narzedzia/System                
-Source:                memtester-%{date}.tar.gz
-URL:           http://www.qcc.sk.ca/~charlesc/software/memtester/
-BuildRoot:     /tmp/%{name}-%{version}-root
+License:       GPL v2
+Group:         Applications/System
+Source0:       http://pyropus.ca/software/memtester/%{name}-%{version}.tar.gz
+# Source0-md5: f6328b4863caf8f2013489c82c26cd1d
+URL:           http://pyropus.ca/software/memtester/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-
-Copyright (C) 1999 Simon Kirby. Version 2 Copyright © 1999 Charles
-Cazabon.
-Memtest is a utility for testing the memory in a PC to determine if it
-is faulty. The original source was by Simon Kirby <sim@stormix.com>. I
-have by this time completely rewritten the original source, and added
-many additional tests to help catch borderline memory. I also rewrote
-the original tests (which catch mainly memory bits which are stuck
-permanently high or low) so that they run approximately an order of
-magnitude faster.
-
-
+Memtester is a userspace utility to test for memory subsytem errors.
+It performs various types of tests to check for many possible error
+kinds. Running as root is prefferred, but not a must.
 
 %description -l pl
-
-memtest jest programem s³u¿±cym do testowania pamiêci PC, oraz okre¶lenia
-czy jest sprawna, czy te¿ nie.
+Memtester jest programem testuj±cym podsystem pamiêci, dzia³aj±cym w
+przestrzeni u¿ytkownika. Wykonuje wiele ró¿nych rodzajów testów
+wy³apuj±cych ró¿ne typy b³êdów. Najlepiej jest uruchomiæ go z
+u¿ytkownika root, ale nie jest to wymagane.
 
 %prep
-%setup -q -n memtester-%{date}
+%setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-make
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
 
 %install
-install -d $RPM_BUILD_ROOT/usr/bin
-install -d $RPM_BUILD_ROOT/usr/doc/memtester-%{date}
-install -s memtest $RPM_BUILD_ROOT/usr/bin
-install ABOUT $RPM_BUILD_ROOT/usr/doc/memtester-%{date}
-install README.tests $RPM_BUILD_ROOT/usr/doc/memtester-%{date}
-install CHANGELOG $RPM_BUILD_ROOT/usr/doc/memtester-%{date}
-install TODO $RPM_BUILD_ROOT/usr/doc/memtester-%{date}
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
+
+install memtester $RPM_BUILD_ROOT%{_bindir}
+install memtester.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644, root, root, 755)
-%doc {TODO,CHANGELOG,README.tests,ABOUT}
-%defattr(755, root, root)
-/usr/bin/memtest
-
-
-%changelog
-
-* Fri Nov 19 1999 £ukasz Tr±biñski <lukasz@lt.wsisiz.edu.pl>
-- Make a spec file
+%defattr(644,root,root,755)
+%doc README README.tests
+%attr(755,root,root) %{_bindir}/memtester
+%{_mandir}/man8/*
This page took 0.027128 seconds and 4 git commands to generate.