]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - libjpeg/libjpeg.nm
libnl3: New package.
[people/ms/ipfire-3.x.git] / libjpeg / libjpeg.nm
index ff129c4beea793cfbb90ea036bb071ad22d59718..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,19 +40,18 @@ 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
+               template DEBUGINFO
        end
 end