packages: openjpeg/openjpeg.spec - rel 2; link with math lib

arekm arekm at pld-linux.org
Thu Mar 4 13:21:30 CET 2010


Author: arekm                        Date: Thu Mar  4 12:21:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; link with math lib

---- Files affected:
packages/openjpeg:
   openjpeg.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/openjpeg/openjpeg.spec
diff -u packages/openjpeg/openjpeg.spec:1.4 packages/openjpeg/openjpeg.spec:1.5
--- packages/openjpeg/openjpeg.spec:1.4	Fri Feb  5 09:27:06 2010
+++ packages/openjpeg/openjpeg.spec	Thu Mar  4 13:21:24 2010
@@ -4,8 +4,8 @@
 Summary:	An open-source JPEG 2000 codec
 Name:		openjpeg
 Version:	1.3
-Release:	1
-Source0:	http://www.openjpeg.org/%{name}_v%{_ver}.tar.gz
+Release:	2
+Source0:	http://openjpeg.googlecode.com/files/%{name}_v%{_ver}.tar.gz
 # Source0-md5:	f9a3ccfa91ac34b589e9bf7577ce8ff9
 Patch0:		%{name}-install.patch
 License:	BSD
@@ -33,13 +33,14 @@
 %prep
 %setup -q -n %{_name}_v%{_ver}
 %patch0 -p1
+
 sed 's/$(CC) -s/$(CC) $(CFLAGS) $(LDFLAGS)/' -i Makefile
-sed 's/-lstdc++//' -i Makefile
+sed 's/-lstdc++/-lm/' -i Makefile
 
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -fPIC" \
+	CFLAGS="%{rpmcflags} %{rpmcppflags} -fPIC" \
 	LDFLAGS="%{rpmldflags}"
 
 %install
@@ -76,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/03/04 12:21:24  arekm
+- rel 2; link with math lib
+
 Revision 1.4  2010/02/05 08:27:06  duddits
 - rel. 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openjpeg/openjpeg.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list