Changes of Revision 32
[-] | Changed | bandwidth.changes |
1
2 ------------------------------------------------------------------- 3 +Sat Aug 30 18:37:47 UTC 2014 - cs@linux-administrator.com 4 + 5 +- fix compilation with bandwidth-1.1-objectorder.patch 6 + 7 +------------------------------------------------------------------- 8 Fri Aug 29 15:42:16 UTC 2014 - cs@linux-administrator.com 9 10 - update to release 1.1 11 |
||
[-] | Changed | bandwidth.spec ^ |
30 1
2 Url: http://zsmith.co/bandwidth.html 3 License: GPLv2 4 Source: %{name}-%{_version}.tar.bz2 5 +Patch0: bandwidth-1.1-objectorder.patch 6 7 BuildRoot: %{_tmppath}/%{name}-%{version}-build 8 BuildRequires: nasm >= 2.0 gcc sed 9
10 %prep 11 12 %setup 13 +%patch0 14 15 %build 16 %__make clean 17
18 mv output results 19 mv %{name}64 %{name} 20 %endif 21 +rm -rf results/._* 22 23 %install 24 %__install -D -m 755 %{name} %{buildroot}/%{_sbindir}/%{name} 25 -chmod -x README.txt COPYING.txt results/* results/._* 26 +chmod -x README.txt COPYING.txt results/* 27 28 %clean 29 %__rm -rf %{buildroot} 30 |
||
[+] | Added | bandwidth-1.1-objectorder.patch ^ |
@@ -0,0 +1,35 @@ +--- Makefile.orig 2014-08-03 03:39:37.000000000 +0200 ++++ Makefile 2014-08-30 20:26:32.606478222 +0200 +@@ -40,27 +40,27 @@ + bandwidth64: main.c routines64.asm BMP64.a BMPGraphing64.a + ${AS} -f elf64 routines64.asm -o routines64.o + ${CC} ${CFLAGS} -m64 -c ${SRC} +- ${LD} -m64 BMP64.a BMPGraphing64.a routines64.o ${OBJ} ${LIB} -o bandwidth64 ++ ${LD} -m64 routines64.o ${OBJ} BMP64.a BMPGraphing64.a ${LIB} -o bandwidth64 + + bandwidth32: main.c routines32.asm BMP32.a BMPGraphing32.a + ${AS} -f elf routines32.asm -o routines32.o + ${CC} ${CFLAGS} -m32 -c ${SRC} +- ${LD} -m32 BMP32.a BMPGraphing32.a routines32.o ${OBJ} ${LIB} -o bandwidth32 ++ ${LD} -m32 routines32.o ${OBJ} BMP32.a BMPGraphing32.a ${LIB} -o bandwidth32 + + bandwidth-mac64: main.c routines64.asm BMPGraphing64.a BMP64.a + ${AS} -f macho64 routines64.asm -o routines64.o + ${CC} ${CFLAGS} -m64 -c ${SRC} +- ${LD} -m64 BMPGraphing64.a BMP64.a routines64.o ${OBJ} ${LIB} -o bandwidth-mac64 ++ ${LD} -m64 routines64.o ${OBJ} BMPGraphing64.a BMP64.a ${LIB} -o bandwidth-mac64 + + bandwidth-mac32: main.c routines32.asm BMP32.a BMPGraphing32.a + ${AS} -f macho routines32.asm -o routines32.o + ${CC} ${CFLAGS} -m32 -c ${SRC} +- ${LD} -m32 BMP32.a BMPGraphing32.a routines32.o ${OBJ} ${LIB} -o bandwidth-mac32 ++ ${LD} -m32 routines32.o ${OBJ} BMP32.a BMPGraphing32.a ${LIB} -o bandwidth-mac32 + + bandwidth-win32: main.c routines32.asm BMP32.a BMPGraphing32.a + ${AS} -f win32 routines32.asm -o routines32.o + ${CC} ${CFLAGS} -m32 -c ${SRC} -Wall -O6 -D__WIN32__ -DWINVER=0x0600 +- ${LD} -m32 BMP32.a BMPGraphing32.a routines32.o ${OBJ} ${LIB} -o bandwidth-win32 ++ ${LD} -m32 routines32.o ${OBJ} BMP32.a BMPGraphing32.a ${LIB} -o bandwidth-win32 + + BMPGraphing64.a: BMPGraphing.c + ${CC} ${CFLAGS} -m64 -c BMPGraphing.c |