]> git.pld-linux.org Git - packages/openjpeg.git/commitdiff
- rel 2; link with math lib auto/th/openjpeg-1_3-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 4 Mar 2010 12:21:24 +0000 (12:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openjpeg.spec -> 1.5

openjpeg.spec

index 495798d56662f452cb2b1a6ac9a9cd5c75915039..e5b1f50a0739f2adac3e9679583142bbc344d9fe 100644 (file)
@@ -3,8 +3,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
@@ -32,13 +32,14 @@ developing programs using the OpenJPEG library.
 %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
This page took 0.204382 seconds and 4 git commands to generate.