Author: qboosh Date: Sat Oct 29 14:26:50 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - fixed build on x86_64 (needs dual glibc-static there) - only x86* and alpha are supported - EA added
---- Files affected: SPECS: statifier.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: SPECS/statifier.spec diff -u SPECS/statifier.spec:1.5 SPECS/statifier.spec:1.6 --- SPECS/statifier.spec:1.5 Sat Oct 29 11:10:55 2005 +++ SPECS/statifier.spec Sat Oct 29 16:26:44 2005 @@ -1,5 +1,5 @@ # $Revision$, $Date$ -Summary: Convert elf dynamic linked exe to "pseudo-static" +Summary: Convert ELF dynamically linked execulables to "pseudo-static" Summary(pl): Konwersja dynamicznych binarek ELF do pseudo-statycznych Name: statifier Version: 1.6.7 @@ -10,13 +10,22 @@ # Source0-md5: d4c452dce431f62f1ece60a638a58655 URL: http://statifier.sourceforge.net/ BuildRequires: rpmbuild(macros) >= 1.213 -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) - -%ifarch %{x8664} alpha ia64 ppc64 s390x sparc64 -%define bits 64 -%else -%define bits 32 +%ifarch amd64 +BuildRequires: glibc-static(amd64) +# can be athlon after Ac +BuildRequires: glibc-static(i686) +%endif +%ifarch ia32e +BuildRequires: glibc-static(i686) +BuildRequires: glibc-static(ia32e) %endif +%ifarch x86_64 +BuildRequires: glibc-static(x86_64) +BuildRequires: glibc-static(i686) +%endif +BuildRequires: sed >= 4.0 +ExclusiveArch: %{ix86} %{x8664} alpha +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Statifier create from dynamically linked ELF executable and all it's @@ -33,9 +42,10 @@ %prep %setup -q +sed -i -e 's/-O2 -g/%{rpmcflags}/' src/Makefile + %build -%{__make} all \ - FLAGS_ELF="%{rpmcflags}" +%{__make} all %install rm -rf $RPM_BUILD_ROOT @@ -50,15 +60,21 @@ %defattr(644,root,root,755) %doc AUTHORS ChangeLog FAQ INSTALL NEWS README THANKS TODO doc %attr(755,root,root) %{_bindir}/statifier -%dir %{_libdir}/%{name} -%{_libdir}/statifier/VERSION -%attr(755,root,root) %{_libdir}/statifier/*.sh -%attr(755,root,root) %{_libdir}/statifier/*.src -%attr(755,root,root) %{_libdir}/statifier/*.gdb -%attr(755,root,root) %{_libdir}/statifier/elf_class -%dir %{_libdir}/%{name}/%{bits} -%attr(755,root,root) %{_libdir}/statifier/%{bits}/* -%{_mandir}/man?/* +%dir %{_prefix}/lib/statifier +%{_prefix}/lib/statifier/VERSION +%attr(755,root,root) %{_prefix}/lib/statifier/*.sh +%attr(755,root,root) %{_prefix}/lib/statifier/*.src +%attr(755,root,root) %{_prefix}/lib/statifier/*.gdb +%attr(755,root,root) %{_prefix}/lib/statifier/elf_class +%ifarch %{ix86} %{x8664} +%dir %{_prefix}/lib/%{name}/32 +%attr(755,root,root) %{_prefix}/lib/statifier/32/* +%endif +%ifarch %{x8664} alpha +%dir %{_prefix}/lib/%{name}/64 +%attr(755,root,root) %{_prefix}/lib/statifier/64/* +%endif +%{_mandir}/man1/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -66,6 +82,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2005/10/29 14:26:44 qboosh +- fixed build on x86_64 (needs dual glibc-static there) +- only x86* and alpha are supported - EA added + Revision 1.5 2005/10/29 09:10:55 areq - 1.6.7, works ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/statifier.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit