# 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
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
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