2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
# NOTE: packages can use jasper:
|
|
|
|
# ImageMagick
|
|
|
|
# kdelibs
|
|
|
|
# koffice
|
|
|
|
# netpbm
|
|
|
|
|
|
|
|
Summary: Implementation of the JPEG-2000 standard, Part 1
|
2005-03-03 21:56:40 +00:00
|
|
|
Name: jasper
|
|
|
|
Group: System Environment/Libraries
|
2004-12-08 16:40:10 +00:00
|
|
|
Version: 1.701.0
|
2006-01-31 16:43:46 +00:00
|
|
|
Release: 9%{?dist}
|
2005-04-06 22:12:02 +00:00
|
|
|
|
2005-10-17 16:04:07 +00:00
|
|
|
License: JasPer License Version 2.0
|
2005-03-03 21:56:40 +00:00
|
|
|
URL: http://www.ece.uvic.ca/~mdadams/jasper/
|
2004-12-08 16:40:10 +00:00
|
|
|
Source: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.701.0.zip
|
2005-10-17 16:04:07 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-12-08 16:40:10 +00:00
|
|
|
|
2006-01-31 16:11:35 +00:00
|
|
|
Patch1: jasper-1.701.0-GL.patch
|
|
|
|
|
2005-10-17 16:04:07 +00:00
|
|
|
BuildRequires: libjpeg-devel
|
2005-10-18 12:51:44 +00:00
|
|
|
BuildRequires: freeglut-devel
|
2006-01-31 16:43:46 +00:00
|
|
|
# workaround:
|
|
|
|
# "freeglut-devel should Requires: libGL-devel, libGLU-devel"
|
|
|
|
# http://bugzilla.redhat.com/bugzilla/179464
|
|
|
|
BuildRequires: libGL-devel libGLU-devel
|
2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
Group: Development/Libraries
|
2005-10-17 16:04:07 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-12-08 16:40:10 +00:00
|
|
|
Requires: libjpeg-devel
|
2005-03-03 21:56:40 +00:00
|
|
|
%description devel
|
2005-10-17 16:04:07 +00:00
|
|
|
%{summary}.
|
2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2006-01-31 16:11:35 +00:00
|
|
|
%patch1 -p1 -b .GL
|
|
|
|
|
2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2005-10-18 13:10:42 +00:00
|
|
|
--enable-shared \
|
2005-10-17 16:04:07 +00:00
|
|
|
--disable-static
|
2004-12-08 16:40:10 +00:00
|
|
|
|
2005-03-03 21:56:40 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
|
2006-01-31 16:11:35 +00:00
|
|
|
%check ||:
|
2005-10-18 13:10:42 +00:00
|
|
|
make check
|
|
|
|
|
|
|
|
|
2004-12-08 16:40:10 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-10-17 16:04:07 +00:00
|
|
|
|
2005-03-03 21:56:40 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
# Unpackaged files
|
|
|
|
rm -f doc/README
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_target_platform}*
|
2005-10-17 16:04:07 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
# avoid conflict(s) with tomcat
|
2006-01-31 16:11:35 +00:00
|
|
|
# not needed anymore, see bz #176773
|
|
|
|
# mv $RPM_BUILD_ROOT%{_bindir}/jasper $RPM_BUILD_ROOT%{_bindir}/jaspertool
|
2004-12-08 16:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2005-03-03 21:56:40 +00:00
|
|
|
%doc COPYRIGHT LICENSE NEWS README
|
2006-01-31 16:11:35 +00:00
|
|
|
%{_bindir}/imgcmp
|
|
|
|
%{_bindir}/jiv
|
|
|
|
%{_bindir}/imginfo
|
|
|
|
%{_bindir}/jasper*
|
2004-12-08 16:40:10 +00:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
2005-03-03 21:56:40 +00:00
|
|
|
%files devel
|
2004-12-08 16:40:10 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
2005-10-17 16:04:07 +00:00
|
|
|
|
2004-12-08 16:40:10 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
2005-03-03 21:56:40 +00:00
|
|
|
%changelog
|
2006-01-31 16:43:46 +00:00
|
|
|
* Tue Jan 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-9
|
|
|
|
- workaround "freeglut-devel should Requires: libGL-devel, libGLU-devel"
|
|
|
|
(#179464)
|
|
|
|
|
2006-01-31 16:11:35 +00:00
|
|
|
* Tue Jan 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-8
|
|
|
|
- revert jasper to jaspertool rename (#176773)
|
|
|
|
- actually use/apply GL patch
|
|
|
|
|
2005-10-18 13:10:42 +00:00
|
|
|
* Tue Oct 18 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-7
|
|
|
|
- GL patch to remove libGL dependancy (using only freeglut)
|
|
|
|
|
|
|
|
* Tue Oct 18 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-6
|
|
|
|
- token %%check section
|
|
|
|
- --enable-shared
|
|
|
|
|
2005-10-17 16:04:07 +00:00
|
|
|
* Mon Oct 17 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-5
|
|
|
|
- use %%{?dist}
|
2005-10-18 12:51:44 +00:00
|
|
|
- BR: libGL-devel
|
2005-10-17 16:04:07 +00:00
|
|
|
|
2005-04-06 22:12:02 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-12-08 16:40:10 +00:00
|
|
|
* Sat Oct 23 2004 Rex Dieter <rexdieter at sf.net> 0:1.701.0-0.fdr.3
|
|
|
|
- Capitalize summary
|
|
|
|
- remove 0-length ChangeLog
|
|
|
|
|
|
|
|
* Fri Jun 04 2004 Rex Dieter <rexdieter at sf.net> 0:1.701.0-0.fdr.2
|
|
|
|
- nuke .la file
|
|
|
|
- BR: glut-devel -> freeglut-devel
|
|
|
|
|
|
|
|
* Tue Jun 01 2004 Rex Dieter <rexdieter at sf.net> 0:1.701.0-0.fdr.1
|
|
|
|
- 1.701.0
|
|
|
|
|
|
|
|
* Tue Jun 01 2004 Rex Dieter <rexdieter at sf.net> 0:1.700.5-0.fdr.2
|
|
|
|
- avoid conflicts with fc'2 tomcat by renaming /usr/bin/jasper -> jaspertool
|
|
|
|
|
|
|
|
* Mon Mar 08 2004 Rex Dieter <rexdieter at sf.net> 0:1.700.5-0.fdr.1
|
|
|
|
- use Epochs.
|
|
|
|
- -devel: Requires: %%name = %%epoch:%%version
|
|
|
|
|
|
|
|
* Thu Jan 22 2004 Rex Dieter <rexdieter at sf.net> 1.700.5-0.fdr.0
|
|
|
|
- first try
|
|
|
|
|