diff --git a/jasper.spec b/jasper.spec index 57455b8..2111b84 100644 --- a/jasper.spec +++ b/jasper.spec @@ -11,7 +11,7 @@ Summary: Implementation of the JPEG-2000 standard, Part 1 Name: jasper Group: System Environment/Libraries Version: 1.900.1 -Release: 3%{?dist} +Release: 4%{?dist} License: JasPer %if "%{?geo:1}" == "1" @@ -37,19 +37,36 @@ BuildRequires: libjpeg-devel # "freeglut-devel: Requires: libGL-devel libGLU-devel" (#179464) BuildRequires: freeglut-devel libGL-devel libGLU-devel +Requires: %{name}-libs = %{version}-%{release} + %description This package contains an implementation of the image compression standard JPEG-2000, Part 1. It consists of tools for conversion to and from the JP2 and JPC formats. %package devel -Summary: JPEG-2000 library developer files +Summary: JasPer header files, libraries and developer documentation. Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} Requires: libjpeg-devel %description devel %{summary}. +%package libs +Summary: JasPer runtime libraries +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + +%package utils +Summary: Nonessential JasPer utilities +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description utils +%{summary}, including jiv and tmrdemo. + + %prep %setup -q -n %{name}-%{version}%{?geo:.GEO} @@ -105,12 +122,10 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc COPYRIGHT LICENSE NEWS README %{_bindir}/imgcmp -%{_bindir}/jiv %{_bindir}/imginfo -%{_bindir}/*jasper* -%{_bindir}/tmrdemo -%{_libdir}/lib*.so.* -%{_mandir}/man1/* +%{_bindir}/jasper +%{_mandir}/man1/img* +%{_mandir}/man1/jasper.1* %files devel %defattr(-,root,root,-) @@ -118,8 +133,22 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/jasper/ %{_libdir}/lib*.so +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* + +%files utils +%defattr(-,root,root,-) +%{_bindir}/jiv +%{_bindir}/tmrdemo +%{_mandir}/man1/jiv.1* + %changelog +* Wed Aug 22 2007 Rex Dieter 1.900.1-4 +- -libs subpkg to be multilib friendlier +- -utils subpkg for non-essential binaries jiv, tmrdemo (#244153) + * Fri Aug 17 2007 Rex Dieter 1.900.1-3 - License: JasPer