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.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.
41 %description -l pl.UTF-8
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.UTF-8): 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.UTF-8
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.UTF-8): 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.UTF-8
80 Pliki nagłówkowe do tworzenia programów używających biblioteki detect.
83 Summary: Static detect library
84 Summary(pl.UTF-8): 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.UTF-8
92 Statyczna wersja biblioteki detect.
109 ma 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
153 %{_includedir}/detect.h
156 %defattr(644,root,root,755)
157 %{_libdir}/libdetect.a