1 Summary: Hardware detection library
2 Summary(pl): Biblioteka wykrywaj±ca sprzêt
7 Group: Applications/System
8 Source0: ftp://ftp.linux-mandrake.com/pub/harddrake/SOURCES/%{name}-%{version}.tar.bz2
9 # Source0-md5: 0e001355ad217ce907c5ce95673ab4a4
10 Patch0: %{name}-sound.patch.bz2
11 Patch1: %{name}-po.patch.bz2
12 Patch2: %{name}-ppc.patch.bz2
13 Patch3: %{name}-ppc2.patch.bz2
14 Patch4: %{name}-ia64-io-h.patch.bz2
15 Patch5: %{name}-kver-ppc.patch.bz2
16 Patch6: %{name}-0.9.72-alpha.patch.bz2
17 Patch7: %{name}-0.9.72-cpu-detect-ppc.patch.bz2
18 URL: http://www.linux-mandrake.com/harddrake/
19 BuildRequires: autoconf
20 BuildRequires: automake
22 BuildRequires: gettext-devel
24 BuildRequires: isapnptools-devel
26 BuildRequires: libtool
27 BuildRequires: texinfo
29 Requires: isapnptools >= 1.21
31 Requires: %{name}-libs = %{version}
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Libdetect is a library for hardware detection. The API is easy to
36 learn. The following hardware can be detected: CPU, Memory, Disk &
37 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
38 cards, Video cards, Scanners.
41 libdetect to biblioteka do wykrywania sprzêtu. Jej API jest ³atwe do
42 nauczenia. Mo¿e wykryæ nastêpuj±cy sprzêt: procesor, pamiêæ, dyski i
43 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
44 d¼wiêkowe, karty graficzne, skanery.
47 Summary: The detect library itself, necessary to run the detect utility
48 Summary(pl): W³a¶ciwa biblioteka, niezbêdna do dzia³ania narzêdzia detect
53 Libdetect is a library for hardware detection. The API is easy to
54 learn. The following hardware can be detected: CPU, Memory, Disk &
55 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
56 cards, Video cards, Scanners. This package contains the detect library
57 itself, necessary to run the detect utility.
59 %description libs -l pl
60 libdetect to biblioteka do wykrywania sprzêtu. Jej API jest ³atwe do
61 nauczenia. Mo¿e wykryæ nastêpuj±cy sprzêt: procesor, pamiêæ, dyski i
62 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
63 d¼wiêkowe, karty graficzne, skanery. Ten pakiet zawiera w³a¶ciw±
64 bibliotekê, niezbêdn± do dzia³ania narzêdzia wykrywaj±cego (polecenia
68 Summary: Header files for developing apps which will use detect
69 Summary(pl): Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych detect
70 Group: Development/Libraries
71 Requires: detect-libs = %{version}
72 Obsoletes: detect-devel
73 Obsoletes: libdetect-devel
75 %description libs-devel
76 Header files for developing apps which will use detect library.
78 %description libs-devel -l pl
79 Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych biblioteki detect.
82 Summary: Static detect library
83 Summary(pl): Statyczna biblioteka detect
84 Group: Development/Libraries
85 Requires: %{name}-libs-devel = %{version}
87 %description libs-static
88 Static version of detect library.
90 %description libs-static -l pl
91 Statyczna wersja biblioteki detect.
110 CFLAGS="%{rpmcflags} -I%{_includedir}/isapnp"
118 cat po/Makefile.in > po/Makefile
122 rm -rf $RPM_BUILD_ROOT
125 DESTDIR=$RPM_BUILD_ROOT
130 rm -rf $RPM_BUILD_ROOT
132 %post libs -p /sbin/ldconfig
133 %postun libs -p /sbin/ldconfig
136 %defattr(644,root,root,755)
137 %doc AUTHORS BUGS ChangeLog NEWS README docs/FAQ
138 %attr(755,root,root) %{_sbindir}/detect
140 %files libs -f detect.lang
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_libdir}/lib*.so.*.*
146 %defattr(644,root,root,755)
147 %doc docs/{Programming,API,ISA-Structure,PCI-Structure}
148 %attr(755,root,root) %{_libdir}/lib*.so
150 %{_includedir}/detect.h
153 %defattr(644,root,root,755)
154 %{_libdir}/libdetect.a