]> git.pld-linux.org Git - packages/binflash.git/blob - binflash.spec
- statically linked 32-bit binary (works on x86-64 too).
[packages/binflash.git] / binflash.spec
1 Summary:        Binflash (NEC version) - universal firmware flasher for binary firmwares
2 Summary(pl):    Binflash (wersja NEC) - uniwersalne narzêdzie do uaktualniania binarnych firmware
3 Name:           binflash
4 Version:        1.22
5 Release:        2
6 License:        Freeware
7 Group:          Applications/System
8 Source0:        http://binflash.cdfreaks.com/download/1/2/necflash_linux.tgz
9 # Source0-md5:  2f7d6ad41faa3087fe25cbb32f4ce278
10 # original firmware:
11 # extracted from http://support.necsam.com/optical/downloads/FlashFirmware/
12 Source1:        NEC-ND3540A-1.03-orig.bin
13 # Source1-md5:  3fade94896c03423670bd65622e22b9b
14 # modified firmware:
15 # extracted from http://liggydee.cdfreaks.com/page/3540/
16 Source2:        NEC-ND3540A-1.03-bt-rpc1.bin
17 # Source2-md5:  d07baf09816294f22b80818aba3b03e0
18 Source3:        NEC-ND3540A-1.W8-rpc1.bin
19 # Source3-md5:  2bb65f47faa3a3e8d08ef813d30244b5
20 URL:            http://binflash.cdfreaks.com/
21 ExclusiveArch:  %{ix86} %{x8664}
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _firmwaredir    %{_prefix}/lib/necflash
25
26 %description
27 Binflash is a collection of tools you may use in order to flash your
28 DVD burner with a binary firmware file (some executable flashers are
29 also supported) or to dump the Flash ROM of your burner back to disc.
30 You should be able to work with all devices that are currently
31 accessible in your operating system, even if the drives are attached
32 via Firewire or USB.
33
34 Disclaimer:
35
36 By using this program and accepting the disclaimer you accept that
37 neither the authors of these programs nor CDFreaks.com can be held
38 responsible for any damages caused by using Binflash. If you damage
39 your drive by using this flasher or any experimental firmwares, do not
40 RMA your drive but buy a new one!
41
42 %description -l pl
43 Binflash to zestaw narzêdzi do uaktualnienia pamiêci flash w
44 nagrywarkach DVD za pomoc± pliku binarnego z firmware (obs³ugiwane s±
45 tak¿e niektóre wykonywalne pliki z firmware) oraz zrzucania zawarto¶ci
46 Flash ROM-u nagrywarki z powrotem na dysk. Narzêdzia powinny dzia³aæ
47 ze wszystkimi urz±dzeniami aktualnie dostêpnymi w systemie
48 operacyjnym, nawet tymi pod³±czonymi poprzez Firewire lub USB.
49
50 Uwaga:
51
52 U¿ywaj±c ten program i przyjmuj±c to o¶wiadczenie akceptujemy, ¿e ani
53 autorzy tych programów ani CDFreaks.com nie s± odpowiedzialni za
54 ¿adne uszkodzenia spowodowane u¿ywaniem Binflasha. W przypadku
55 uszkodzenia urz±dzenia poprzez u¿ycie tego narzêdzia lub jakiego¶
56 eksperymentalnego firmware pozostaje tylko zakup nowego napêdu.
57
58 %prep
59 %setup -q -c
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_firmwaredir}
64
65 install -D necflash \
66         $RPM_BUILD_ROOT%{_sbindir}/necflash
67
68 # NEC-ND3540A firmware
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_firmwaredir}
70 install %{SOURCE2} $RPM_BUILD_ROOT%{_firmwaredir}
71 install %{SOURCE3} $RPM_BUILD_ROOT%{_firmwaredir}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_sbindir}/necflash
79 %dir %{_libdir}/necflash
80 %{_firmwaredir}/*.bin
This page took 0.063849 seconds and 3 git commands to generate.