]>
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 | ||
0e4898e2 | 14 | %define _rel 0.1 |
d4054fe9 | 15 | Summary: GPIB Linux Support |
c18f36fb | 16 | Summary(pl): Sterowniki GPIB dla Linuksa |
d4054fe9 | 17 | Name: linux-gpib |
18 | Version: 3.2.05 | |
d4054fe9 | 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 |
3c225e36 | 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 | |
3c225e36 | 31 | BuildRequires: python |
d4054fe9 | 32 | Requires(pre,post): kernel >= 2.6.8 |
d7b3679a | 33 | Requires: kernel-up >= 2.6.8 |
d4054fe9 | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
cc64c2aa | 37 | The Linux GPIB package provides support for GPIB (IEEE 488) hardware. |
d4054fe9 | 38 | |
39 | %description -l pl | |
cc64c2aa | 40 |