File sbig-firmware.spec of Package sbig-firmware

#
# spec file for package sbig-firmware (Version 1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           sbig-firmware
License:        Any proprietary
Group:          Hardware/Other
AutoReqProv:    on
Version:        1.0
Release:        84
Source:         1694585089-sbig_kernel_2.6.tar.gz
Source1:        LICENSE.txt
Url:            http://www.sbig.com
Patch:          sbig-firmware-directory.patch
Recommends:     sbig 
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Summary:        Firmware for USB SBIG CCD Cameras

%description
Firmware for USB SBIG CCD cameras.



Authors:
--------
    Jan Soldan <jsoldan@asu.cas.cz>

%prep
%setup -c sbig
%patch

%build

%install
mkdir -p $RPM_BUILD_ROOT/lib/firmware
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/sbig-firmware
cp -a README %{S:1} $RPM_BUILD_ROOT/usr/share/doc/packages/sbig-firmware/
cp -a sbigfcam.hex $RPM_BUILD_ROOT/lib/firmware/sbigfcam.hex
cp -a sbiglcam.hex $RPM_BUILD_ROOT/lib/firmware/sbiglcam.hex
cp -a sbigucam.hex $RPM_BUILD_ROOT/lib/firmware/sbigucam.hex
cp -a stfga.bin $RPM_BUILD_ROOT/lib/firmware/stfga.bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%dir /usr/share/doc/packages/sbig-firmware
%doc /usr/share/doc/packages/sbig-firmware/README
%doc /usr/share/doc/packages/sbig-firmware/LICENSE.txt
/lib/firmware/*

%changelog
* Tue Apr 08 2008 lmichnovic@suse.cz
- changed hard dependency on sbig to soft
* Mon Mar 19 2007 ro@suse.de
- removed directory /lib/firmware from filelist (in filesystem)
* Sun Oct 22 2006 lmichnovic@suse.cz
- corrected %%doc directory to sbig-firmware
* Fri Oct 20 2006 lmichnovic@suse.cz
- made dependency on sbig package
- installing only binary firmware,
  libraries, test application, udev rules installing in package sbig
* Wed Oct 18 2006 lmichnovic@suse.cz
- initial version 1.0
- changed /usr/local to /usr in installation script (directory.patch)