- (main) drop Requires: %name-libs
- -devel: Provides: libjasper-devel - drop (unused) geojasper bits
This commit is contained in:
parent
2971918144
commit
c5cba16587
35
jasper.spec
35
jasper.spec
@ -4,25 +4,15 @@
|
|||||||
# kdelibs
|
# kdelibs
|
||||||
# netpbm
|
# netpbm
|
||||||
|
|
||||||
# define to use GeoJasper
|
|
||||||
#define geo 1
|
|
||||||
|
|
||||||
Summary: Implementation of the JPEG-2000 standard, Part 1
|
Summary: Implementation of the JPEG-2000 standard, Part 1
|
||||||
Name: jasper
|
Name: jasper
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Version: 1.900.1
|
Version: 1.900.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
License: JasPer
|
License: JasPer
|
||||||
%if "%{?geo:1}" == "1"
|
|
||||||
%define geojasper_ver 1.2.9
|
|
||||||
URL: http://www.dimin.net/software/utils.html
|
|
||||||
Source: http://dimin.m6.net/software/utils/geojasper_src.zip
|
|
||||||
Provides: geojasper = %{geojasper_ver}
|
|
||||||
%else
|
|
||||||
URL: http://www.ece.uvic.ca/~mdadams/jasper/
|
URL: http://www.ece.uvic.ca/~mdadams/jasper/
|
||||||
Source0: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-%{version}.zip
|
Source0: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-%{version}.zip
|
||||||
%endif
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Patch1: jasper-1.701.0-GL.patch
|
Patch1: jasper-1.701.0-GL.patch
|
||||||
@ -37,8 +27,6 @@ BuildRequires: libjpeg-devel
|
|||||||
# "freeglut-devel: Requires: libGL-devel libGLU-devel" (#179464)
|
# "freeglut-devel: Requires: libGL-devel libGLU-devel" (#179464)
|
||||||
BuildRequires: freeglut-devel libGL-devel libGLU-devel
|
BuildRequires: freeglut-devel libGL-devel libGLU-devel
|
||||||
|
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains an implementation of the image compression
|
This package contains an implementation of the image compression
|
||||||
standard JPEG-2000, Part 1. It consists of tools for conversion to and
|
standard JPEG-2000, Part 1. It consists of tools for conversion to and
|
||||||
@ -47,6 +35,7 @@ from the JP2 and JPC formats.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: JasPer header files, libraries and developer documentation.
|
Summary: JasPer header files, libraries and developer documentation.
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
Provides: libjasper-devel = %{version}-%{release}
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: libjpeg-devel
|
Requires: libjpeg-devel
|
||||||
%description devel
|
%description devel
|
||||||
@ -69,22 +58,11 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?geo:.GEO}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%patch1 -p1 -b .GL
|
%patch1 -p1 -b .GL
|
||||||
%patch3 -p1 -b .CVE-2007-2721
|
%patch3 -p1 -b .CVE-2007-2721
|
||||||
|
|
||||||
%if "%{?geo:1}" == "1"
|
|
||||||
chmod +x configure configure.ac
|
|
||||||
%patch2 -p1 -b .GL-ac
|
|
||||||
libtoolize --force
|
|
||||||
aclocal
|
|
||||||
autoconf
|
|
||||||
autoheader
|
|
||||||
automake -a
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -120,7 +98,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYRIGHT LICENSE NEWS README
|
|
||||||
%{_bindir}/imgcmp
|
%{_bindir}/imgcmp
|
||||||
%{_bindir}/imginfo
|
%{_bindir}/imginfo
|
||||||
%{_bindir}/jasper
|
%{_bindir}/jasper
|
||||||
@ -135,6 +112,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYRIGHT LICENSE NEWS README
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
@ -145,6 +123,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.900.1-5
|
||||||
|
- (main) drop Requires: %%name-libs
|
||||||
|
- -devel: Provides: libjasper-devel
|
||||||
|
- drop (unused) geojasper bits
|
||||||
|
|
||||||
* Wed Aug 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.900.1-4
|
* Wed Aug 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.900.1-4
|
||||||
- -libs subpkg to be multilib friendlier
|
- -libs subpkg to be multilib friendlier
|
||||||
- -utils subpkg for non-essential binaries jiv, tmrdemo (#244153)
|
- -utils subpkg for non-essential binaries jiv, tmrdemo (#244153)
|
||||||
|
Loading…
Reference in New Issue
Block a user