]> git.pld-linux.org Git - packages/jasper.git/commitdiff
- updated to 1.900.29 (note: new soname), fixes:
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Jan 2017 17:40:20 +0000 (18:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Jan 2017 17:40:20 +0000 (18:40 +0100)
   CVE-2008-3522 CVE-2011-4516 CVE-2011-4517
   CVE-2014-8137 CVE-2014-8138 CVE-2014-8157 CVE-2014-8158 CVE-2014-9029
   CVE-2015-5221 CVE-2016-1577 CVE-2016-1867 CVE-2016-2089 CVE-2016-2116
- introduced .pc file, dropped .la file
- added pc patch (adds Libs.private to .pc file)

jasper-pc.patch [new file with mode: 0644]
jasper.spec

diff --git a/jasper-pc.patch b/jasper-pc.patch
new file mode 100644 (file)
index 0000000..4561624
--- /dev/null
@@ -0,0 +1,8 @@
+--- jasper-1.900.29/pkgconfig/jasper.pc.in.orig        2016-11-16 16:03:40.000000000 +0100
++++ jasper-1.900.29/pkgconfig/jasper.pc.in     2017-01-22 11:59:28.134104956 +0100
+@@ -8,4 +8,5 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -ljasper
++Libs.private: -ljpeg -lm
+ Cflags: -I${includedir}/jasper
index 05fe3467c1afa6afc3cb3a3ffb799a13a6da0736..d0b868ba8cab0782c85aff9171428fc932e9c9c1 100644 (file)
@@ -5,20 +5,21 @@
 Summary:       JasPer - collection of software for coding and manipulation of images
 Summary(pl.UTF-8):     JasPer - zestaw oprogramowania do obróbki obrazków
 Name:          jasper
-Version:       1.900.1
-Release:       4
+Version:       1.900.29
+Release:       1
 Epoch:         0
 License:       BSD-like
 Group:         Libraries
-Source0:       http://www.ece.uvic.ca/~mdadams/jasper/software/%{name}-%{version}.zip
-# Source0-md5: a342b2b4495b3e1394e161eb5d85d754
-URL:           http://www.ece.uvic.ca/~mdadams/jasper/
+#Source0Download: http://www.ece.uvic.ca/~frodo/jasper/#download
+Source0:       http://www.ece.uvic.ca/~frodo/jasper/software/%{name}-%{version}.tar.gz
+# Source0-md5: 4619ec9860c10e557b3f192f5e76f596
+Patch0:                %{name}-pc.patch
+URL:           http://www.ece.uvic.ca/~frodo/jasper/
 %{?with_opengl:BuildRequires:  OpenGL-glut-devel}
 BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
 BuildRequires: libjpeg-devel
 BuildRequires: libtool
-BuildRequires: sed >= 4.0
 BuildRequires: unzip
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -100,7 +101,7 @@ kolorów powinna jednak wystarczyć.
 
 %prep
 %setup -q
-%{__sed} 's/ -lXmu -lXi -lXext -lXt / /' -i configure.ac
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -120,8 +121,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libjasper.la
 # nothing interesting
-rm -f $RPM_BUILD_ROOT%{_bindir}/tmrdemo
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/tmrdemo
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -140,13 +143,13 @@ rm -rf $RPM_BUILD_ROOT
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libjasper.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libjasper.so.1
+%attr(755,root,root) %ghost %{_libdir}/libjasper.so.4
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libjasper.so
-%{_libdir}/libjasper.la
 %{_includedir}/jasper
+%{_pkgconfigdir}/jasper.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.144912 seconds and 4 git commands to generate.