From 8ed466cd9b18441c3dd4d0e0708dab19975778e1 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 7 Jan 2012 15:46:19 +0100 Subject: [PATCH] libjpeg: Update to 1.1.1. Fix package naming and installation of missing libs. --- libjpeg/libjpeg.nm | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/libjpeg/libjpeg.nm b/libjpeg/libjpeg.nm index b9d9903b8..242e1a88c 100644 --- a/libjpeg/libjpeg.nm +++ b/libjpeg/libjpeg.nm @@ -3,9 +3,10 @@ # Copyright (C) - IPFire Development Team # ############################################################################### -name = libjpeg-turbo -version = 1.0.0 +name = libjpeg +version = 1.1.1 release = 1 +thisapp = libjpeg-turbo-%{version} groups = System/Libraries url = http://sourceforge.net/projects/libjpeg-turbo @@ -22,8 +23,7 @@ description 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 += !/usr/lib/libturbojpeg.so end package %{name}-debuginfo -- 2.39.2