]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - libjpeg/libjpeg.nm
less: Update to version 481
[people/amarx/ipfire-3.x.git] / libjpeg / libjpeg.nm
index b9d9903b8ea0839a2138e871b02113dbcc1bc96d..50c8b352bf5464711616958aa0716f9f47f48602 100644 (file)
@@ -3,9 +3,10 @@
 # Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-name       = libjpeg-turbo
-version    = 1.0.0
-release    = 1
+name       = libjpeg
+version    = 1.2.0
+release    = 2
+thisapp    = libjpeg-turbo-%{version}
 
 groups     = System/Libraries
 url        = http://sourceforge.net/projects/libjpeg-turbo
@@ -13,17 +14,16 @@ license    = wxWidgets
 summary    = A MMX/SSE2 accelerated library for manipulating JPEG image files.
 
 description
-       The libjpeg-turbo-utils package contains simple client programs for \
-       accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran,\
-       rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format. \
-       Djpeg decompresses a JPEG file into a regular image file. Jpegtran \
-       can perform various useful transformations on JPEG files. Rdjpgcom \
-       displays any text comments included in a JPEG file. Wrjpgcom inserts \
+       The libjpeg-turbo-utils package contains simple client programs for
+       accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran,
+       rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format.
+       Djpeg decompresses a JPEG file into a regular image file. Jpegtran
+       can perform various useful transformations on JPEG files. Rdjpgcom
+       displays any text comments included in a JPEG file. Wrjpgcom inserts
        text comments into a JPEG file.
 end
 
-source_dl  =
-sources    = %{name}-%{version}.tar.gz
+source_dl  = http://sourceforge.net/projects/libjpeg-turbo/files/%{version}/
 
 build
        requires
@@ -40,20 +40,15 @@ build
        prepare_cmds
                autoreconf -vfi
        end
-
-       install_cmds
-               # Remove non-versioned libjpegturbo.
-               rm -vf %{BUILDROOT}/usr/include/turbojpeg.h
-               rm -vf %{BUILDROOT}/usr/lib/libturbojpeg.so
-       end
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-devel
                template DEVEL
+
+               files += !%{libdir}/libturbojpeg.so
        end
 
        package %{name}-debuginfo