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 Patch0: %{name}-sound.patch.bz2
10 Patch1: %{name}-po.patch.bz2
11 Patch2: %{name}-ppc.patch.bz2
12 Patch3: %{name}-ppc2.patch.bz2
13 Patch4: %{name}-ia64-io-h.patch.bz2
14 Patch5: %{name}-kver-ppc.patch.bz2
15 Patch6: %{name}-0.9.72-alpha.patch.bz2
16 Patch7: %{name}-0.9.72-cpu-detect-ppc.patch.bz2
17 URL: http://www.linux-mandrake.com/harddrake/
18 BuildRequires: autoconf
19 BuildRequires: automake
21 BuildRequires: gettext-devel
23 BuildRequires: isapnptools-devel
25 BuildRequires: libtool
26 BuildRequires: texinfo
28 Requires: isapnptools >= 1.21
30 Requires: %{name}-libs = %{version}
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Libdetect is a library for hardware detection. The API is easy to
35 learn. The following hardware can be detected: CPU, Memory, Disk &
36 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
37 cards, Video cards, Scanners.
40 libdetect to biblioteka do wykrywania sprzêtu. Jej API jest ³atwe do
41 nauczenia. Mo¿e wykryæ nastêpuj±cy sprzêt: procesor, pamiêæ, dyski i
42 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
43 d¼wiêkowe, karty graficzne, skanery.
46 Summary: The detect library itself, necessary to run the detect utility
47 Summary(pl): W³a¶ciwa biblioteka, niezbêdna do dzia³ania narzêdzia detect
52 Libdetect is a library for hardware detection. The API is easy to
53 learn. The following hardware can be detected: CPU, Memory, Disk &
54 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
55 cards, Video cards, Scanners. This package contains the detect library
56 itself, necessary to run the detect utility.
58 %description libs -l pl
59 libdetect to biblioteka do wykrywania sprzêtu. Jej API jest ³atwe do
60 nauczenia. Mo¿e wykryæ nastêpuj±cy sprzêt: procesor, pamiêæ, dyski i
61 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
62 d¼wiêkowe, karty graficzne, skanery. Ten pakiet zawiera w³a¶ciw±
63 bibliotekê, niezbêdn± do dzia³ania narzêdzia wykrywaj±cego (polecenia
67 Summary: Header files for developing apps which will use detect
68 Summary(pl): Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych detect
69 Group: Development/Libraries
70 Requires: detect-libs = %{version}
71 Obsoletes: detect-devel
72 Obsoletes: libdetect-devel
74 %description libs-devel
75 Header files for developing apps which will use detect library.
77 %description libs-devel -l pl
78 Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych biblioteki detect.
81 Summary: Static detect library
82 Summary(pl): Statyczna biblioteka detect
83 Group: Development/Libraries
84 Requires: %{name}-devel = %{version}
86 %description libs-static
87 Static version of detect library.
89 %description libs-static -l pl
90 Statyczna wersja biblioteki detect.
109 CFLAGS="%{rpmcflags} -I%{_includedir}/isapnp"
117 cat po/Makefile.in > po/Makefile
121 rm -rf $RPM_BUILD_ROOT
124 DESTDIR=$RPM_BUILD_ROOT
129 rm -rf $RPM_BUILD_ROOT
131 %post libs -p /sbin/ldconfig
132 %postun libs -p /sbin/ldconfig
135 %defattr(644,root,root,755)
136 %doc AUTHORS BUGS ChangeLog NEWS README docs/FAQ
137 %attr(755,root,root) %{_sbindir}/detect
139 %files libs -f detect.lang
140 %defattr(644,root,root,755)
141 %attr(755,root,root) %{_libdir}/lib*.so.*.*
145 %defattr(644,root,root,755)
146 %doc docs/{Programming,API,ISA-Structure,PCI-Structure}
147 %attr(755,root,root) %{_libdir}/lib*.so
148 %attr(755,root,root) %{_libdir}/lib*.la
149 %{_includedir}/detect.h
152 %defattr(644,root,root,755)
153 %{_libdir}/libdetect.a