1 Summary: Hardware detection library
2 Summary(pl.UTF-8): 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
11 Patch1: %{name}-po.patch.bz2
12 # Patch1-md5: b01b0b1f10895628ab0f40daa855d2e9
13 Patch2: %{name}-ppc.patch
14 Patch3: %{name}-ppc2.patch
15 Patch4: %{name}-ia64-io-h.patch
16 Patch5: %{name}-kver-ppc.patch
17 Patch6: %{name}-0.9.72-alpha.patch
18 Patch7: %{name}-0.9.72-cpu-detect-ppc.patch
19 Patch8: %{name}-acam.patch
20 URL: http://www.linux-mandrake.com/harddrake/
21 BuildRequires: autoconf
22 BuildRequires: automake
24 BuildRequires: gettext-tools
26 BuildRequires: isapnptools-devel
28 BuildRequires: libtool
29 BuildRequires: texinfo
31 Requires: isapnptools >= 1.21
33 Requires: %{name}-libs = %{version}
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 Libdetect is a library for hardware detection. The API is easy to
38 learn. The following hardware can be detected: CPU, Memory, Disk &
39 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
40 cards, Video cards, Scanners.
42 %description -l pl.UTF-8
43 libdetect to biblioteka do wykrywania sprzętu. Jej API jest łatwe do
44 nauczenia. Może wykryć następujący sprzęt: procesor, pamięć, dyski i
45 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
46 dźwiękowe, karty graficzne, skanery.
49 Summary: The detect library itself, necessary to run the detect utility
50 Summary(pl.UTF-8): Właściwa biblioteka, niezbędna do działania narzędzia detect
55 Libdetect is a library for hardware detection. The API is easy to
56 learn. The following hardware can be detected: CPU, Memory, Disk &
57 partitions, Ethernet cards, Floppy drives, Modem, Mouse, SCSI, Sound
58 cards, Video cards, Scanners. This package contains the detect library
59 itself, necessary to run the detect utility.
61 %description libs -l pl.UTF-8
62 libdetect to biblioteka do wykrywania sprzętu. Jej API jest łatwe do
63 nauczenia. Może wykryć następujący sprzęt: procesor, pamięć, dyski i
64 partycje, karty sieciowe, stacje dysków, modemy, myszy, SCSI, karty
65 dźwiękowe, karty graficzne, skanery. Ten pakiet zawiera właściwą
66 bibliotekę, niezbędną do działania narzędzia wykrywającego (polecenia
70 Summary: Header files for developing apps which will use detect
71 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów używających detect
72 Group: Development/Libraries
73 Requires: detect-libs = %{version}
74 Obsoletes: detect-devel
75 Obsoletes: libdetect-devel
77 %description libs-devel
78 Header files for developing apps which will use detect library.
80 %description libs-devel -l pl.UTF-8
81 Pliki nagłówkowe do tworzenia programów używających biblioteki detect.
84 Summary: Static detect library
85 Summary(pl.UTF-8): Statyczna biblioteka detect
86 Group: Development/Libraries
87 Requires: %{name}-libs-devel = %{version}
89 %description libs-static
90 Static version of detect library.
92 %description libs-static -l pl.UTF-8
93 Statyczna wersja biblioteki detect.
110 ma acconfig.h config.h.in
114 CFLAGS="%{rpmcflags} -I%{_includedir}/isapnp"
122 cat po/Makefile.in > po/Makefile
126 rm -rf $RPM_BUILD_ROOT
129 DESTDIR=$RPM_BUILD_ROOT
134 rm -rf $RPM_BUILD_ROOT
136 %post libs -p /sbin/ldconfig
137 %postun libs -p /sbin/ldconfig
140 %defattr(644,root,root,755)
141 %doc AUTHORS BUGS ChangeLog NEWS README docs/FAQ
142 %attr(755,root,root) %{_sbindir}/detect
144 %files libs -f detect.lang
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/lib*.so.*.*
150 %defattr(644,root,root,755)
151 %doc docs/{Programming,API,ISA-Structure,PCI-Structure}
152 %attr(755,root,root) %{_libdir}/lib*.so
154 %{_includedir}/detect.h
157 %defattr(644,root,root,755)
158 %{_libdir}/libdetect.a