]>
Commit | Line | Data |
---|---|---|
d4054fe9 | 1 | # |
d4054fe9 | 2 | # Conditional build: |
3 | %bcond_without dist_kernel # allow non-distribution kernel | |
4 | %bcond_without kernel # don't build kernel modules | |
5 | %bcond_without smp # don't build SMP module | |
6 | %bcond_without userspace # don't build userspace module | |
7 | %bcond_with verbose # verbose build (V=1) | |
8 | # | |
9 | # main package. | |
10 | # | |
d7b3679a | 11 | |
12 | %define mod_name gpib | |
13 | ||
d4054fe9 | 14 | Summary: GPIB Linux Support |
15 | Summary(pl): Sterowniki GPIB dkla Linuksa | |
16 | Name: linux-gpib | |
17 | Version: 3.2.05 | |
18 | %define _rel 0.1 | |
19 | Release: %{_rel} | |
d4054fe9 | 20 | License: GPL |
cc64c2aa JB |
21 | Group: Applications/System |
22 | Source0: http://dl.sourceforge.net/linux-gpib/%{name}-%{version}.tar.gz | |
d7b3679a | 23 | # Source0-md5: 65044161fe86a815c9c159fe301d85c4 |
9e3b7024 | 24 | Patch0: %{name}-Makefile.am.patch |
d4054fe9 | 25 | URL: http://linux-gpib.sourceforge.net/ |
26 | %if %{with kernel} | |
27 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7} | |
28 | BuildRequires: rpmbuild(macros) >= 1.153 | |
29 | %endif | |
30 | BuildRequires: kernel-headers >= 2.6.8 | |
d4054fe9 | 31 | Requires(pre,post): kernel >= 2.6.8 |
d7b3679a | 32 | Requires: kernel-up >= 2.6.8 |
d4054fe9 | 33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %description | |
cc64c2aa | 36 | The Linux GPIB package provides support for GPIB (IEEE 488) hardware. |
d4054fe9 | 37 | |
38 | %description -l pl | |
cc64c2aa | 39 |