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 Patch8: %{name}-acam.patch
19 URL: http://www.linux-mandrake.com/harddrake/
20 BuildRequires: autoconf
21 BuildRequires: automake
23 BuildRequires: gettext-devel
25 BuildRequires: isapnptools-devel
27 BuildRequires: libtool
28 BuildRequires: texinfo
30 Requires: isapnptools >= 1.21
32 Requires: %{name}-libs = %{version}
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Libdetect is a library for hardware detection. The API is easy to
37 learn. The following hardware can be detected: CPU, Memory, Disk &
38 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
39 cards, Video cards, Scanners.
42 libdetect to biblioteka do wykrywania sprzêtu. Jej API jest ³atwe do
43 nauczenia. Mo¿e wykryæ nastêpuj±cy sprzêt: procesor, pamiêæ, dyski i
44 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
45 d¼wiêkowe, karty graficzne, skanery.
48 Summary: The detect library itself, necessary to run the detect utility
49 Summary(pl): W³a¶ciwa biblioteka, niezbêdna do dzia³ania narzêdzia detect
54 Libdetect is a library for hardware detection. The API is easy to
55 learn. The following hardware can be detected: CPU, Memory, Disk &
56 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
57 cards, Video cards, Scanners. This package contains the detect library
58 itself, necessary to run the detect utility.
60 %description libs -l pl
61 libdetect to biblioteka do wykrywania sprzêtu. Jej API jest ³atwe do
62 nauczenia. Mo¿e wykryæ nastêpuj±cy sprzêt: procesor, pamiêæ, dyski i
63 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
64 d¼wiêkowe, karty graficzne, skanery. Ten pakiet zawiera w³a¶ciw±
65 bibliotekê, niezbêdn± do dzia³ania narzêdzia wykrywaj±cego (polecenia
69 Summary: Header files for developing apps which will use detect
70 Summary(pl): Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych detect
71 Group: Development/Libraries
72 Requires: detect-libs = %{version}
73 Obsoletes: detect-devel
74 Obsoletes: libdetect-devel
76 %description libs-devel
77 Header files for developing apps which will use detect library.
79 %description libs-devel -l pl
80 Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych biblioteki detect.
83 Summary: Static detect library
84 Summary(pl): Statyczna biblioteka detect
85 Group: Development/Libraries
86 Requires: %{name}-libs-devel = %{version}
88 %description libs-static
89 Static version of detect library.
91 %description libs-static -l pl
92 Statyczna wersja biblioteki detect.
109 mv acconfig.h config.h.in
113 CFLAGS="%{rpmcflags} -I%{_includedir}/isapnp"
121 cat po/Makefile.in > po/Makefile
125 rm -rf $RPM_BUILD_ROOT
128 DESTDIR=$RPM_BUILD_ROOT
133 rm -rf $RPM_BUILD_ROOT
135 %post libs -p /sbin/ldconfig
136 %postun libs -p /sbin/ldconfig
139 %defattr(644,root,root,755)
140 %doc AUTHORS BUGS ChangeLog NEWS README docs/FAQ
141 %attr(755,root,root) %{_sbindir}/detect
143 %files libs -f detect.lang
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/lib*.so.*.*
149 %defattr(644,root,root,755)
150 %doc docs/{Programming,API,ISA-Structure,PCI-Structure}
151 %attr(755,root,root) %{_libdir}/lib*.so
152 %attr(755,root,root) %{_libdir}/lib*.la
153 %{_includedir}/detect.h
156 %defattr(644,root,root,755)
157 %{_libdir}/libdetect.a