]>
Commit | Line | Data |
---|---|---|
00708ed2 | 1 | |
2 | # TODO: | |
41911797 | 3 | # - If you have any idea how to PLDize this program, do it:) |
4 | # - in first run eagle.key should be writable for user | |
41911797 | 5 | # - Is banner in rpm needed to introduce how to run it? |
00708ed2 | 6 | |
178fe7bc | 7 | %define _beta r2 |
00708ed2 | 8 | Summary: Eagle Layout Editor |
53dd3458 | 9 | Summary(pl.UTF-8): Edytor płytek drukowanych Eagle |
00708ed2 | 10 | Name: eagle-light |
178fe7bc MŁ |
11 | Version: 4.16 |
12 | Release: 0.%{_beta}.1 | |
00708ed2 | 13 | License: Freeware |
14 | Group: X11/Applications/Science | |
178fe7bc MŁ |
15 | Source0: ftp://ftp.cadsoft.de/pub/program/%{version}%{_beta}/eagle-lin-eng-%{version}%{_beta}.tgz |
16 | # Source0-md5: 9648bed26f901ea634a69d18b9c33dce | |
17 | Source1: ftp://ftp.cadsoft.de/pub/program/%{version}%{_beta}/manual-eng.pdf | |
bfda9c87 | 18 | # Source1-md5: 1e85f214b4229023ec22167ee8c6b485 |
178fe7bc | 19 | Source2: ftp://ftp.cadsoft.de/pub/program/%{version}%{_beta}/tutorial-eng.pdf |
bfda9c87 | 20 | # Source2-md5: 9ed24f9106432f237d3991c291d95b04 |
21 | Source3: %{name}.desktop | |
00708ed2 | 22 | URL: http://www.cadsoft.de/freeware.htm/ |
23 | ExclusiveArch: %{ix86} | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
178fe7bc | 26 | %define _eagledir %{_libdir}/%{name}-%{version}%{_beta} |
41911797 | 27 | |
00708ed2 | 28 | %description |
29 | Eagle Layout Editor. Limitations: | |
30 | - The useable board area is limited to 100 x 80 mm (4 x 3.2 inches). | |
31 | - Only two signal layers can be used (Top and Bottom). | |
32 | - The schematic editor can only create one sheet. | |
5088e333 | 33 | To run Eagle, you need licence key. Freeware Licence key is in: |
34 | /usr/share/eagle-light/bin/ | |
00708ed2 | 35 | |
a1a9409a JR |
36 | %description -l pl.UTF-8 |
37 | Edytor płytek drukowanych Eagle. Ograniczenia: | |
38 | - Obszar płytki jest ograniczony do 100 x 80 mm (4 x 3.2 cale) | |
39 | - Tylko dwie sygnałowe warstwy mogą być używane (wierzchnia i spodnia) | |
40 | - Edytor schematów może stworzyć jeden arkusz | |
3963e55e | 41 | Aby uruchomic Eagle, potrzebny jest klucz licencyjny. Klucz licencyjny |
a1a9409a | 42 | Freeware znajduje się w katalogu: |
5088e333 | 43 | /usr/share/eagle-light/bin/ |
44 | ||
00708ed2 | 45 | %prep |
178fe7bc | 46 | %setup -q -n eagle-lin-eng-%{version}%{_beta} |
41911797 | 47 | cp -f %{SOURCE1} %{SOURCE2} doc/ |
00708ed2 | 48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
41911797 | 51 | install -d $RPM_BUILD_ROOT%{_eagledir}/{bin,cam,dru,lbr,projects/examples/{hexapod,singlesided,tutorial},scr,ulp} \ |
00708ed2 | 52 | $RPM_BUILD_ROOT%{_mandir}/man1 \ |
41911797 | 53 | $RPM_BUILD_ROOT%{_bindir} \ |
00708ed2 | 54 | $RPM_BUILD_ROOT%{_pixmapsdir} \ |
55 | $RPM_BUILD_ROOT%{_desktopdir} | |
3963e55e JB |
56 | |
57 | install man/eagle.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
41911797 | 58 | install bin/eagle $RPM_BUILD_ROOT%{_eagledir}/bin |
3963e55e | 59 | install bin/eagle.xpm $RPM_BUILD_ROOT%{_pixmapsdir} |
41911797 | 60 | install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir} |
61 | install bin/{eagle.def,freeware.key} $RPM_BUILD_ROOT%{_eagledir}/bin | |
62 | touch $RPM_BUILD_ROOT%{_eagledir}/bin/eagle.key | |
63 | install cam/* $RPM_BUILD_ROOT%{_eagledir}/cam | |
64 | install dru/* $RPM_BUILD_ROOT%{_eagledir}/dru | |
65 | install lbr/* $RPM_BUILD_ROOT%{_eagledir}/lbr | |
66 | install projects/DESCRIPTION $RPM_BUILD_ROOT%{_eagledir}/projects | |
67 | install projects/examples/hexapod/* $RPM_BUILD_ROOT%{_eagledir}/projects/examples/hexapod | |
68 | install projects/examples/singlesided/* $RPM_BUILD_ROOT%{_eagledir}/projects/examples/singlesided | |
69 | install projects/examples/tutorial/* $RPM_BUILD_ROOT%{_eagledir}/projects/examples/tutorial | |
70 | install scr/* $RPM_BUILD_ROOT%{_eagledir}/scr | |
71 | install ulp/* $RPM_BUILD_ROOT%{_eagledir}/ulp | |
00708ed2 | 72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
00708ed2 | 76 | %files |
77 | %defattr(644,root,root,755) | |
78 | %doc doc/UPDATE doc/library.txt README | |
41911797 | 79 | %{_mandir}/* |
80 | %{_pixmapsdir}/* | |
35653dd6 | 81 | %{_desktopdir}/*.desktop |
41911797 | 82 | %attr(755,root,root) %{_eagledir}/bin/eagle |
83 | # I'm not sure that eagle.key should have 665 atributies | |
84 | #%attr(665,root,users) | |
85 | %{_eagledir}/bin/eagle.key | |
86 | %{_eagledir}/bin/freeware.key | |
87 | %{_eagledir}/bin/eagle.def | |
88 | # - all files shuld be in folders ../ to eagle binary. Stupid :/ | |
89 | %{_eagledir}/cam | |
90 | %{_eagledir}/dru | |
91 | %{_eagledir}/lbr | |
92 | %{_eagledir}/projects | |
93 | %{_eagledir}/scr | |
94 | %{_eagledir}/ulp |