blob: 2b569068105170e2a95da9424464e25fafb2379f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
%define tarname libusb-win32-src
Name: mingw32-libusb-win32
Version: 0.1.12.1
Release: 1%{?dist}
Summary: Win32 port of libusb
Group: Development/FIXME
License: LGPLv2+
URL: http://libusb-win32.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/libusb-win32/%{tarname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mingw32-gcc
%description
%prep
%setup -q -n %{tarname}-%{version}
%build
#configure
make host_prefix=%{_mingw32_target} %{?_smp_mflags}
%install
rm -rf "%buildroot"
make install DESTDIR="%buildroot"
%clean
rm -rf "%buildroot"
%files
%defattr(-,root,root,-)
%doc
%changelog
|