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