[521] | 1 | %define name hardinfo |
---|
| 2 | %define version 0.5.1 |
---|
[3315] | 3 | %define release 2%{?_dist_release} |
---|
[521] | 4 | |
---|
| 5 | Summary: Displays information about your hardware and operating system |
---|
| 6 | Summary(ja): ハードウェア情報を表示するアプリケーション |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{version} |
---|
| 9 | Release: %{release} |
---|
| 10 | Source: http://download.berlios.de/hardinfo/%{name}-%{version}.tar.bz2 |
---|
| 11 | Patch: hardinfo-0.5.1-computer.patch |
---|
| 12 | Patch1: hardinfo-0.4.2.3-report-eucjp.patch |
---|
| 13 | License: GPLv2 |
---|
| 14 | Group: Applications/System |
---|
| 15 | URL: http://hardinfo.berlios.de/ |
---|
| 16 | |
---|
| 17 | BuildRequires: gtk2-devel >= 2.6 |
---|
| 18 | Requires: pciutils |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | HardInfo is a small application that displays information about your |
---|
| 23 | hardware and operating system. Currently it knows about PCI, ISA PnP, |
---|
| 24 | USB, IDE, SCSI, Serial and parallel port devices. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | HardInfo はハードウェアと OS の情報を表示する小さなアプリケーションです. |
---|
| 28 | PCI, ISA PnP, USB, IDE, SCSI, シリアル/パラレルポートデバイスに対応しています. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup |
---|
| 32 | |
---|
| 33 | %patch -p1 -b .vine |
---|
| 34 | |
---|
| 35 | %if %{?_dist_release} == "vl4" |
---|
| 36 | %patch1 -p1 -b .vine |
---|
| 37 | %endif |
---|
| 38 | |
---|
| 39 | %{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g' Makefile.in |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %configure |
---|
| 43 | %{__make} %{?_smp_mflags} |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | %{__rm} -rf %{buildroot} |
---|
| 47 | %{__make} install DESTDIR="%{buildroot}" |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | %{__rm} -rf %{buildroot} |
---|
| 51 | |
---|
| 52 | %post |
---|
| 53 | /sbin/ldconfig |
---|
| 54 | %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 55 | |
---|
| 56 | %postun |
---|
| 57 | /sbin/ldconfig |
---|
| 58 | %{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-, root, root, 0755) |
---|
| 62 | %doc LICENSE |
---|
| 63 | %{_bindir}/hardinfo |
---|
| 64 | %{_datadir}/applications/hardinfo.desktop |
---|
| 65 | %{_datadir}/hardinfo/ |
---|
| 66 | %{_libdir}/hardinfo/ |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %changelog |
---|
[3315] | 70 | * Tue Apr 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.5.1-2 |
---|
| 71 | - rebuilt |
---|
| 72 | |
---|
[521] | 73 | * Sat May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.5.1-1 |
---|
[3315] | 74 | - new upstream release |
---|
[521] | 75 | |
---|
| 76 | * Sat Dec 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-2 |
---|
| 77 | - fixed typo in spec |
---|
| 78 | |
---|
| 79 | * Sun Sep 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-1 |
---|
| 80 | - apply new versioning policy |
---|
| 81 | - spec in utf-8 |
---|
| 82 | - for only Vine 4.x, apply hardinfo-0.4.2.3-report-eucjp.patch |
---|
| 83 | |
---|
| 84 | * Thu Feb 14 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-0vl3 |
---|
| 85 | - add hardinfo-0.4.2.3-report-eucjp.patch |
---|
| 86 | |
---|
| 87 | * Wed Feb 6 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.2.3-0vl2 |
---|
| 88 | - rebuild for VineSeed |
---|
| 89 | - add hardinfo-0.4.2.3-computer.patch to check /etc/vine-release |
---|
| 90 | |
---|
| 91 | * Sat Dec 29 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.4.2.3-0vl1 |
---|
| 92 | - source update |
---|
| 93 | |
---|
| 94 | * Sat Aug 11 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.4.2.2-0vl1 |
---|
| 95 | - initial build for Vine Linux 4.1 |
---|
| 96 | |
---|
| 97 | * Sat Jul 21 2007 Dag Wieers <dag@wieers.com> - 0.4.2.2-1 - 5272+/dag |
---|
| 98 | - Updated to release 0.4.2.2. |
---|
| 99 | |
---|
| 100 | * Sun Apr 15 2007 Dag Wieers <dag@wieers.com> - 0.4.2.1-1 |
---|
| 101 | - Updated to release 0.4.2.1. |
---|
| 102 | |
---|
| 103 | * Wed Apr 04 2007 Dag Wieers <dag@wieers.com> - 0.4.2-1 |
---|
| 104 | - Updated to release 0.4.2. |
---|
| 105 | |
---|
| 106 | * Tue Jun 20 2006 Dag Wieers <dag@wieers.com> - 0.4.1-1 |
---|
| 107 | - Updated to release 0.4.1. |
---|
| 108 | |
---|
| 109 | * Thu Feb 02 2006 Dag Wieers <dag@wieers.com> - 0.4-1 |
---|
| 110 | - Updated to release 0.4. |
---|
| 111 | |
---|
| 112 | * Fri Oct 31 2003 Dag Wieers <dag@wieers.com> - 0.3.6-0 |
---|
| 113 | - Updated to release 0.3.6. |
---|
| 114 | |
---|
| 115 | * Tue Jun 24 2003 Dag Wieers <dag@wieers.com> - 0.3.5-0 |
---|
| 116 | - Updated to release 0.3.5. |
---|
| 117 | |
---|
| 118 | * Mon Jun 23 2003 Dag Wieers <dag@wieers.com> - 0.3.4-0 |
---|
| 119 | - Updated to release 0.3.4. |
---|
| 120 | |
---|
| 121 | * Sat Jun 21 2003 Dag Wieers <dag@wieers.com> - 0.3.3-0 |
---|
| 122 | - Initial package. (using DAR) |
---|