Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1584284
 поиск   регистрация   авторизация 
 
Группа :: Работа с файлами
Пакет: xdelta3

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: xdelta3-3.0t-alt0.M24.1.patch


 .gear-rules                                        |    2 +
 .../tags/869b96db16fab93ba43d59f4e9964a9287a66785  |   13 +++++
 .gear/tags/list                                    |    1 +
 Makefile                                           |   32 ++++++------
 xdelta3.spec                                       |   49 ++++++++++++++++++++
 5 files changed, 81 insertions(+), 16 deletions(-)
diff --git a/.gear-rules b/.gear-rules
new file mode 100644
index 0000000..fd6532f
--- /dev/null
+++ b/.gear-rules
@@ -0,0 +1,2 @@
+tar: v@version@:. name=xdelta3-@version@
+diff: v@version@:. .
diff --git a/.gear/tags/869b96db16fab93ba43d59f4e9964a9287a66785 b/.gear/tags/869b96db16fab93ba43d59f4e9964a9287a66785
new file mode 100644
index 0000000..c99ec6e
--- /dev/null
+++ b/.gear/tags/869b96db16fab93ba43d59f4e9964a9287a66785
@@ -0,0 +1,13 @@
+object 1adddf10f64afb1477dd4f6a740793be4211fc29
+type commit
+tag v3.0t
+tagger Anton Farygin <rider@altlinux.com> 1197627532 +0300
+
+3.0t
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQBHYliUqohfd2vlwKsRAlPJAJ9vRktcKwjL2iBgqjeieUv0ajCsTgCghjNV
+z+QIObfItzDiHYeZ/+zDAwM=
+=FLNh
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..48ee7ac
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+869b96db16fab93ba43d59f4e9964a9287a66785 v3.0t
diff --git a/Makefile b/Makefile
index ad4173d..24b87e5 100644
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ wix: xdelta3.wxs xdelta3.wxi readme.txt Release\xdelta3.exe
 	$(WIXDIR)/light.exe xdelta3.wixobj -out xdelta3.msi
 
 xdelta3: $(SOURCES)
-	$(CC) $(CFLAGS) -O3 xdelta3.c -lm -o xdelta3 \
+	$(CC) $(CFLAGS) xdelta3.c -lm -o xdelta3 \
 	      -DGENERIC_ENCODE_TABLES=0 \
 	      -DREGRESSION_TEST=1 \
 	      -DSECONDARY_DJW=1 \
@@ -138,7 +138,7 @@ xdelta3-debug: $(SOURCES)
 		-DXD3_USE_LARGEFILE64=1
 
 xdelta3-32: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) xdelta3.c -lm -o xdelta3-32 \
+	$(CC) $(CFLAGS) xdelta3.c -lm -o xdelta3-32 \
 	      -DXD3_DEBUG=1 \
 	      -DXD3_USE_LARGEFILE64=0 \
 	      -DREGRESSION_TEST=1 \
@@ -179,10 +179,10 @@ xdelta3_wrap.c xdelta3.py: xdelta3.swig
 	swig -python xdelta3.swig
 
 xdelta3.o: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) -c xdelta3.c $(SWIG_FLAGS) -o xdelta3.o
+	$(CC) $(CFLAGS) -c xdelta3.c $(SWIG_FLAGS) -o xdelta3.o
 
 xdelta3_wrap.o: xdelta3_wrap.c
-	$(CC) -O3 $(CFLAGS) $(SWIG_FLAGS) \
+	$(CC) $(CFLAGS) $(SWIG_FLAGS) \
 	      -DHAVE_CONFIG_H \
 	      -I/usr/include/python$(PYVER) \
 	      -I/usr/lib/python$(PYVER)/config \
@@ -205,19 +205,19 @@ xdelta3module.so: xdelta3_wrap.o xdelta3.o
 		-lc
 
 xdelta3-decoder: $(SOURCES)
-	$(CC) -O3 -Wall -Wshadow xdelta3.c \
+	$(CC) -Wall -Wshadow xdelta3.c \
 	    -DXD3_ENCODER=0 -DXD3_MAIN=1 -DSECONDARY_FGK=0 -DSECONDARY_DJW=0 \
 	    -DXD3_STDIO=1 -DEXTERNAL_COMPRESSION=0 -DVCDIFF_TOOLS=0 \
 	    -o xdelta3-decoder
 
 xdelta3-decoder-nomain.o: $(SOURCES) linkxd3lib.c
-	$(CC) -O3 -Wall -Wshadow xdelta3.c linkxd3lib.c \
+	$(CC) -Wall -Wshadow xdelta3.c linkxd3lib.c \
 	    -DXD3_ENCODER=0 -DSECONDARY_FGK=0 -DSECONDARY_DJW=0 \
 	    -o xdelta3-decoder-nomain.o
 	strip xdelta3-decoder-nomain.o
 
 xdelta3-O++: $(SOURCES)
-	$(CXX) -g -O3 $(CFLAGS) xdelta3.c \
+	$(CXX) -g $(CFLAGS) xdelta3.c \
 		-o xdelta3-O++ \
 		-DXD3_MAIN=1 \
 		-DSECONDARY_DJW=1 \
@@ -225,7 +225,7 @@ xdelta3-O++: $(SOURCES)
 		-lm
 
 xdelta3-Op: $(SOURCES)
-	$(CC) -g -O3 $(CFLAGS) xdelta3.c \
+	$(CC) -g $(CFLAGS) xdelta3.c \
 		-o xdelta3-Op \
 		-DXD3_POSIX=1 \
 		-DXD3_MAIN=1 \
@@ -244,7 +244,7 @@ xdelta3-64: $(SOURCES)
 		-lm
 
 xdelta3-64-O: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) \
+	$(CC) $(CFLAGS) \
 		xdelta3.c \
 		-o xdelta3-64-O \
 		-DXD3_POSIX=1 \
@@ -269,7 +269,7 @@ xdelta3-everything: $(SOURCES)
 		-lm
 
 xdelta3-Opg: $(SOURCES)
-	$(CC) -pg -g -O3 $(CFLAGS) \
+	$(CC) -pg -g $(CFLAGS) \
 		xdelta3.c \
 		-o xdelta3-Opg \
 		-DXD3_MAIN=1 \
@@ -280,19 +280,19 @@ xdelta3-Opg: $(SOURCES)
 		-DREGRESSION_TEST=1
 
 xdelta3-nosec.o: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) -c xdelta3.c -DSECONDARY_FGK=0 -DSECONDARY_DJW=0 -o xdelta3-nosec.o
+	$(CC)  $(CFLAGS) -c xdelta3.c -DSECONDARY_FGK=0 -DSECONDARY_DJW=0 -o xdelta3-nosec.o
 
 xdelta3-all.o: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) -c xdelta3.c -DSECONDARY_FGK=1 -DSECONDARY_DJW=1 -o xdelta3-all.o
+	$(CC)  $(CFLAGS) -c xdelta3.c -DSECONDARY_FGK=1 -DSECONDARY_DJW=1 -o xdelta3-all.o
 
 xdelta3-fgk.o: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) -c xdelta3.c -DSECONDARY_FGK=1 -DSECONDARY_DJW=0 -o xdelta3-fgk.o
+	$(CC)  $(CFLAGS) -c xdelta3.c -DSECONDARY_FGK=1 -DSECONDARY_DJW=0 -o xdelta3-fgk.o
 
 xdelta3-noext: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) xdelta3.c -DXD3_MAIN=1 -DEXTERNAL_COMPRESSION=0 -o xdelta3-noext
+	$(CC)  $(CFLAGS) xdelta3.c -DXD3_MAIN=1 -DEXTERNAL_COMPRESSION=0 -o xdelta3-noext
 
 xdelta3-tools: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) xdelta3.c -DXD3_MAIN=1 -o xdelta3-tools
+	$(CC)  $(CFLAGS) xdelta3.c -DXD3_MAIN=1 -o xdelta3-tools
 
 xdelta3-notools: $(SOURCES)
-	$(CC) -O3 $(CFLAGS) xdelta3.c -DXD3_MAIN=1 -DVCDIFF_TOOLS=0 -o xdelta3-notools
+	$(CC)  $(CFLAGS) xdelta3.c -DXD3_MAIN=1 -DVCDIFF_TOOLS=0 -o xdelta3-notools
diff --git a/xdelta3.spec b/xdelta3.spec
new file mode 100644
index 0000000..b536aad
--- /dev/null
+++ b/xdelta3.spec
@@ -0,0 +1,49 @@
+Summary: A binary delta generator
+Name: xdelta3
+Version: 3.0t
+Release: alt1
+Source0: http://xdelta.googlecode.com/files/%name-%version.tar
+Patch0: %name-%version-%release.patch
+Url: http://xdelta.org
+License: GPL
+Group: File tools
+
+%description
+Xdelta3 is the third and latest release of Xdelta, which is a set of
+tools and APIs for reading and writing compressed deltas. Deltas
+encode the differences between two versions of a document. This
+release features a completely new compression engine, several
+algorithmic improvements, a fully programmable interface modelled
+after zlib, in addition to a command-line utility, use of the RFC3284
+(VCDIFF) encoding, a python extension, and now 64-bit support.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+make  all \
+	xdelta3 \
+	xdelta3-decoder \
+	xdelta3-tools \
+	xdelta3-everything \
+	xdelta3-all.o
+ar cr libxdelta3.a xdelta3-all.o
+ranlib libxdelta3.a
+chmod 644 COPYING
+
+%install
+mkdir -p %buildroot%_bindir
+
+install -m 755 xdelta3 \
+	xdelta3-decoder \
+	xdelta3-tools \
+	xdelta3-everything %buildroot%_bindir
+
+%files
+%doc COPYING README
+%_bindir/*
+
+%changelog
+* Fri Dec 14 2007 Anton Farygin <rider@altlinux.ru> 3.0t-alt1
+- first build for Sisyphus
 
design & coding: Vladimir Lettiev aka crux © 2004-2005