]> git.pld-linux.org Git - packages/libjpeg-turbo.git/blobdiff - libjpeg-turbo.spec
- added note about ljpeg ABI breakage
[packages/libjpeg-turbo.git] / libjpeg-turbo.spec
index b2640211eb047b95934cabe62027e82b31bbd994..48671248497b2047fdd761e56f59007be130e959 100644 (file)
@@ -1,3 +1,7 @@
+# TODO
+# - ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/delegates/ljpeg-6b.tar.gz
+# NOTE: it changes ABI! either make it work without ABI breakage, or build
+#       second libjpeg (with lossless support) with different name/soname
 #
 # Conditional build:
 %bcond_with    crop    # "apply" crop pseudo-patch
@@ -27,6 +31,7 @@ Patch0:               %{name}-DESTDIR.patch
 Patch1:                %{name}-arm.patch
 Patch2:                %{name}-include.patch
 Patch3:                %{name}-c++.patch
+Patch4:                %{name}-libtool.patch
 BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -77,7 +82,7 @@ Summary(ru):  
 Summary(tr):   libjpeg için geliþtirme kitaplýklarý ve baþlýk dosyalarý
 Summary(uk):   èÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÁ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ libjpeg
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 The libjpeg-devel package includes the header files and static
@@ -128,7 +133,7 @@ Summary(de):        Einfachen Clients zur Manipulation von jpeg
 Summary(fr):   Clients simples pour manipuler de telles images
 Summary(pl):   Kilka prostych programów do manipulowania na plikach jpeg
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description progs
 Simple clients for manipulating jpeg images. Libjpeg client programs
@@ -154,7 +159,7 @@ Summary(pt_BR):     Bibliotecas est
 Summary(ru):   óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libjpeg
 Summary(uk):   óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libjpeg
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static libraries for developing programs using libjpeg.
@@ -179,19 +184,22 @@ Bibliotecas est
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %if %{with crop}
 gzip -dc %{SOURCE2} | tar xf -
 %endif
 
-%build
 cp -f %{_datadir}/libtool/config.sub .
+
+%build
 %configure \
        --enable-shared \
        --enable-static
 
 %{__make} \
-       libdir=%{_libdir} 
+       libdir=%{_libdir}
+
 LD_PRELOAD=$PWD/.libs/%{name}.so make test
 
 %install
This page took 0.036657 seconds and 4 git commands to generate.