| Line | |
|---|
| 1 |
|
|---|
| 2 | Summary: User level USB bus wrapper library
|
|---|
| 3 | Name: usbcalls
|
|---|
| 4 | Version: 20140416
|
|---|
| 5 | Release: 1%{?dist}
|
|---|
| 6 | License: unknown
|
|---|
| 7 | Group: Development/Libraries
|
|---|
| 8 | Source: usbcalls.zip
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 | %description
|
|---|
| 12 | A user level USB bus wrapper library.
|
|---|
| 13 |
|
|---|
| 14 | %package devel
|
|---|
| 15 | Summary: Header files developing apps which will use usbcalls
|
|---|
| 16 | Group: Development/Libraries
|
|---|
| 17 |
|
|---|
| 18 | %description devel
|
|---|
| 19 | Header files and a library of usbcalls functions, for developing apps
|
|---|
| 20 | which will use the library.
|
|---|
| 21 |
|
|---|
| 22 | %package debug
|
|---|
| 23 | Summary: HLL debug data for exception handling support.
|
|---|
| 24 |
|
|---|
| 25 | %description debug
|
|---|
| 26 | HLL debug data for exception handling support.
|
|---|
| 27 |
|
|---|
| 28 | %prep
|
|---|
| 29 | %setup -q -c -n usbcalls
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | %build
|
|---|
| 33 | BldLevelInf.cmd -Nnetlabs -V%{version} -DUsbcalls_wrapper usbcalls-gcc.def
|
|---|
| 34 | gcc %{optflags} -Zomf -Zhigh-mem -Zdll -DOS2EMX_PLAIN_CHAR usbcalls.c usbcalls-gcc.def
|
|---|
| 35 | emximp -o usbcalls.lib usbcalls-gcc.def
|
|---|
| 36 | emximp -o usbcalls.a usbcalls-gcc.def
|
|---|
| 37 |
|
|---|
| 38 | %install
|
|---|
| 39 | rm -rf %{buildroot}
|
|---|
| 40 | mkdir -p %{buildroot}%{_libdir}
|
|---|
| 41 | mkdir -p %{buildroot}%{_includedir}
|
|---|
| 42 |
|
|---|
| 43 | cp usbcalls.dll %{buildroot}%{_libdir}
|
|---|
| 44 | cp usbcalls.a %{buildroot}%{_libdir}
|
|---|
| 45 | cp usbcalls.lib %{buildroot}%{_libdir}
|
|---|
| 46 | cp usbcalls.h %{buildroot}%{_includedir}
|
|---|
| 47 |
|
|---|
| 48 | %clean
|
|---|
| 49 | rm -rf %{buildroot}
|
|---|
| 50 |
|
|---|
| 51 | %files
|
|---|
| 52 | %defattr(-,root,root)
|
|---|
| 53 | %{_libdir}/*.dll
|
|---|
| 54 |
|
|---|
| 55 | %files devel
|
|---|
| 56 | %defattr(-,root,root)
|
|---|
| 57 | %{_libdir}/*.a
|
|---|
| 58 | %{_libdir}/*.lib
|
|---|
| 59 | %{_includedir}/*
|
|---|
| 60 | %doc test
|
|---|
| 61 | %doc samples
|
|---|
| 62 |
|
|---|
| 63 | %files debug
|
|---|
| 64 | %defattr(-,root,root)
|
|---|
| 65 | %{_libdir}/*.dbg
|
|---|
| 66 |
|
|---|
| 67 | %changelog
|
|---|
| 68 | * Wed Apr 16 2014 yd
|
|---|
| 69 | - first public build.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.