/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcitool.spec.in

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-06 03:22:51 UTC
  • mto: This revision was merged to the branch mainline in revision 380.
  • Revision ID: csa@suren.me-20160306032251-fgdrj59zxv48p377
Fix dkms configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
%package -n libpcilib${PCILIB_ABI_VERSION}
36
36
Summary: User-space PCI library
37
37
Group: Development/Libraries
 
38
Provides: pcilib = %{version}
38
39
Requires: pcilib-python >= %{version}
39
40
Requires: pcilib-dkms >= %{version}
40
41
 
58
59
Summary: Development files for pcilib
59
60
Group: Development/Libraries 
60
61
Requires: libpcilib${PCILIB_ABI_VERSION} = %{version}
 
62
Requires: uthash
61
63
 
62
64
%description -n libpcilib-devel
63
65
Development files for user-space PCI library
138
140
install -m 644 driver/ioctl.h $RPM_BUILD_ROOT/%{_includedir}/linux/pcidriver.h
139
141
mkdir -p $RPM_BUILD_ROOT/usr/src/%{modname}-%{version}/pcilib/
140
142
install -m 644 misc/dkms.conf $RPM_BUILD_ROOT/%{_prefix}/src/%{modname}-%{version}/
 
143
install -m 755 misc/dkms-postbuild.sh $RPM_BUILD_ROOT/%{_prefix}/src/%{modname}-%{version}/
141
144
install -m 644 pcilib/*.h $RPM_BUILD_ROOT/%{_prefix}/src/%{modname}-%{version}/pcilib/
142
145
cp -r driver $RPM_BUILD_ROOT/usr/src/%{modname}-%{version}/
143
146
 
231
234
%if %{defined suse_version}
232
235
/var/adm/fillup-templates/sysconfig.*
233
236
%else
234
 
%{_sysconfdir}/sysconfig/*
 
237
%config %{_sysconfdir}/sysconfig/*
235
238
%endif
236
239
%{_unitdir}/*
237
240
%{_datadir}/pcilib${PCILIB_ABI_VERSION}/pyserver