]> git.pld-linux.org Git - packages/linux-gpib.git/blame - linux-gpib.spec
- compile and install OK
[packages/linux-gpib.git] / linux-gpib.spec
CommitLineData
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 14Summary: GPIB Linux Support
15Summary(pl): Sterowniki GPIB dkla Linuksa
16Name: linux-gpib
17Version: 3.2.05
18%define _rel 0.1
19Release: %{_rel}
20#Epoch:
21License: GPL
22Group: Unknown
23Vendor: PLD
24#Icon: -
25Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
d7b3679a 26# Source0-md5: 65044161fe86a815c9c159fe301d85c4
d4054fe9 27#Source1: -
28# Source1-md5: -
9e3b7024 29Patch0: %{name}-Makefile.am.patch
d4054fe9 30URL: http://linux-gpib.sourceforge.net/
31%if %{with kernel}
32%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
33BuildRequires: rpmbuild(macros) >= 1.153
34%endif
35BuildRequires: kernel-headers >= 2.6.8
d7b3679a 36#PreReq: -
d4054fe9 37Requires(pre,post): kernel >= 2.6.8
d7b3679a 38#Requires(preun): -
39#Requires(postun): -
40Requires: kernel-up >= 2.6.8
41#Provides: -
42#Obsoletes: -
43#Conflicts: -
d4054fe9 44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
47
48%description -l pl
49
50# kernel subpackages.
d7b3679a 51
52%package -n kernel-%{mod_name}
53Summary: Linux driver for %{name}
54Summary(pl): Sterownik dla Linuksa do %{name}
55Release: %{_rel}@%{_kernel_ver_str}
56Group: Base/Kernel
57Requires(post,postun): /sbin/depmod
58%if %{with dist_kernel}
59%requires_releq_kernel_up
60Requires(postun): %releq_kernel_up
61%endif
62
63%description -n kernel-%{mod_name}
64This is driver for %{name} for Linux.
65
66This package contains Linux module.
67
68%description -n kernel-%{mod_name} -l pl
69Sterownik dla Linuksa do %{name}.
70
71