From d4197320d95c09c335475ade0ecc5709391252f3 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 18 Feb 2009 17:16:45 +0100 Subject: Initial commit --- .gitmodules | 3 +++ GNUmakefile | 3 +++ git-rpm | 1 + mingw32-libusb-win32.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 .gitmodules create mode 100644 GNUmakefile create mode 160000 git-rpm create mode 100644 mingw32-libusb-win32.spec diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0ccfef1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "git-rpm"] + path = git-rpm + url = git://fedorapeople.org/~ndim/git-rpm.git diff --git a/GNUmakefile b/GNUmakefile new file mode 100644 index 0000000..28a30f8 --- /dev/null +++ b/GNUmakefile @@ -0,0 +1,3 @@ +NAME = mingw32-libusb-win32 +dummy := $(shell test -f git-rpm/git-rpm.mk || git submodule update --init) +include git-rpm/git-rpm.mk diff --git a/git-rpm b/git-rpm new file mode 160000 index 0000000..25cf332 --- /dev/null +++ b/git-rpm @@ -0,0 +1 @@ +Subproject commit 25cf33225df2457efc471b1f628c496a707b505c diff --git a/mingw32-libusb-win32.spec b/mingw32-libusb-win32.spec new file mode 100644 index 0000000..2b56906 --- /dev/null +++ b/mingw32-libusb-win32.spec @@ -0,0 +1,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 -- cgit