Author: blekot Date: Thu Jun 30 19:59:36 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - up to 4.15 - still lots to do (see TODO)
---- Files affected: SPECS: eagle-light.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: SPECS/eagle-light.spec diff -u SPECS/eagle-light.spec:1.5 SPECS/eagle-light.spec:1.6 --- SPECS/eagle-light.spec:1.5 Mon Jun 6 14:33:00 2005 +++ SPECS/eagle-light.spec Thu Jun 30 21:59:30 2005 @@ -1,31 +1,32 @@ # $Revision$, $Date$ # TODO: -# - fix %files -# - add libraries from homepage -# - enhance description +# - If you have any idea how to PLDize this program, do it:) +# - in first run eagle.key should be writable for user +# - add manual and tutorial to doc +# - add shortcut? to binary file +# - Is banner in rpm needed to introduce how to run it? Summary: Eagle Layout Editor Summary(pl): Edytor płytek drukowanych Eagle Name: eagle-light -Version: 4.14 +Version: 4.15 Release: 0.1 License: Freeware Group: X11/Applications/Science Source0: ftp://ftp.cadsoft.de/pub/program/%{version}/eagle-lin-eng-%{version}.tgz -# Source0-md5: b80005f80440f8761b7a284c633d7643 +# Source0-md5: b9a3ec50033785903cfccba86de0b367 Source1: ftp://ftp.cadsoft.de/pub/program/%{version}/manual-eng.pdf # Source1-md5: 1e85f214b4229023ec22167ee8c6b485 Source2: ftp://ftp.cadsoft.de/pub/program/%{version}/tutorial-eng.pdf # Source2-md5: 9ed24f9106432f237d3991c291d95b04 Source3: %{name}.desktop - URL: http://www.cadsoft.de/freeware.htm/ -# arch-dependent binaries MUST NOT be in /usr/share -BuildRequires: FHS-fixes ExclusiveArch: %{ix86} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _eagledir %{_libdir}/%{name}-%{version} + %description Eagle Layout Editor. Limitations: - The useable board area is limited to 100 x 80 mm (4 x 3.2 inches). @@ -45,31 +46,31 @@ %prep %setup -q -n eagle-lin-eng-%{version} +cp -f %{SOURCE1} %{SOURCE2} doc/ %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/{bin,cam,dru,lbr,projects/examples/{hexapod,singlesided,tutorial},scr,ulp} \ +install -d $RPM_BUILD_ROOT%{_eagledir}/{bin,cam,dru,lbr,projects/examples/{hexapod,singlesided,tutorial},scr,ulp} \ $RPM_BUILD_ROOT%{_mandir}/man1 \ - $RPM_BUILD_ROOT%{_bindir} \ + $RPM_BUILD_ROOT%{_bindir} \ $RPM_BUILD_ROOT%{_pixmapsdir} \ $RPM_BUILD_ROOT%{_desktopdir} install man/eagle.1 $RPM_BUILD_ROOT%{_mandir}/man1 -#install bin/eagle $RPM_BUILD_ROOT%{_bindir}/eagle +install bin/eagle $RPM_BUILD_ROOT%{_eagledir}/bin install bin/eagle.xpm $RPM_BUILD_ROOT%{_pixmapsdir} -install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} -install bin/* $RPM_BUILD_ROOT%{_datadir}/%{name}/bin -ln -s %{_datadir}/%{name}/bin/eagle $RPM_BUILD_ROOT%{_bindir}/eagle -touch $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/eagle.key -install cam/* $RPM_BUILD_ROOT%{_datadir}/%{name}/cam -install dru/* $RPM_BUILD_ROOT%{_datadir}/%{name}/dru -install lbr/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lbr -install projects/DESCRIPTION $RPM_BUILD_ROOT%{_datadir}/%{name}/projects -install projects/examples/hexapod/* $RPM_BUILD_ROOT%{_datadir}/%{name}/projects/examples/hexapod -install projects/examples/singlesided/* $RPM_BUILD_ROOT%{_datadir}/%{name}/projects/examples/singlesided -install projects/examples/tutorial/* $RPM_BUILD_ROOT%{_datadir}/%{name}/projects/examples/tutorial -install scr/* $RPM_BUILD_ROOT%{_datadir}/%{name}/scr -install ulp/* $RPM_BUILD_ROOT%{_datadir}/%{name}/ulp +install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir} +install bin/{eagle.def,freeware.key} $RPM_BUILD_ROOT%{_eagledir}/bin +touch $RPM_BUILD_ROOT%{_eagledir}/bin/eagle.key +install cam/* $RPM_BUILD_ROOT%{_eagledir}/cam +install dru/* $RPM_BUILD_ROOT%{_eagledir}/dru +install lbr/* $RPM_BUILD_ROOT%{_eagledir}/lbr +install projects/DESCRIPTION $RPM_BUILD_ROOT%{_eagledir}/projects +install projects/examples/hexapod/* $RPM_BUILD_ROOT%{_eagledir}/projects/examples/hexapod +install projects/examples/singlesided/* $RPM_BUILD_ROOT%{_eagledir}/projects/examples/singlesided +install projects/examples/tutorial/* $RPM_BUILD_ROOT%{_eagledir}/projects/examples/tutorial +install scr/* $RPM_BUILD_ROOT%{_eagledir}/scr +install ulp/* $RPM_BUILD_ROOT%{_eagledir}/ulp %clean rm -rf $RPM_BUILD_ROOT @@ -77,12 +78,22 @@ %files %defattr(644,root,root,755) %doc doc/UPDATE doc/library.txt README -%attr(755,root,root) %{_bindir}/* -%dir %{_datadir}/%{name} -%dir %{_datadir}/%{name}/bin -%{_datadir}/%{name}/bin/eagle.key -%attr(755,root,root) %{_datadir}/%{name}/bin/eagle -...the rest of file listing, not duplicates of previous entries! +%{_mandir}/* +%{_pixmapsdir}/* +%{_desktopdir}/* +%attr(755,root,root) %{_eagledir}/bin/eagle +# I'm not sure that eagle.key should have 665 atributies +#%attr(665,root,users) +%{_eagledir}/bin/eagle.key +%{_eagledir}/bin/freeware.key +%{_eagledir}/bin/eagle.def +# - all files shuld be in folders ../ to eagle binary. Stupid :/ +%{_eagledir}/cam +%{_eagledir}/dru +%{_eagledir}/lbr +%{_eagledir}/projects +%{_eagledir}/scr +%{_eagledir}/ulp %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -90,6 +101,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2005/06/30 19:59:30 blekot +- up to 4.15 +- still lots to do (see TODO) + Revision 1.5 2005/06/06 12:33:00 blekot - up to 3.14 - NFY!!! ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/eagle-light.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
