jasper/jasper.spec

113 lines
2.4 KiB
RPMSpec
Raw Normal View History

# $Id$
# NOTE: packages can use jasper:
# ImageMagick
# kdelibs
# koffice
# netpbm
Summary: Implementation of the JPEG-2000 standard, Part 1
Name: jasper
License: JasPer License Version 2.0
Group: System Environment/Libraries
Version: 1.701.0
Release: 4%{?dist_tag}
URL: http://www.ece.uvic.ca/~mdadams/jasper/
Source: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.701.0.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libjpeg-devel
BuildRequires: freeglut-devel
%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
Requires: %{name} = %{version}
Requires: libjpeg-devel
%description devel
JPEG-2000 library developer files.
%prep
%setup -q
%build
%configure \
--program-prefix="%{?_program_prefix}" \
--disable-dependency-tracking \
--enable-shared --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Unpackaged files
rm -f doc/README
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_target_platform}*
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# avoid conflict(s) with tomcat
pushd $RPM_BUILD_ROOT%{_bindir}
mv jasper jaspertool
popd
%files
%defattr(-,root,root)
%doc COPYRIGHT LICENSE NEWS README
%{_bindir}/*
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%doc doc/*
%{_includedir}/*
#{_libdir}/lib*.la
%{_libdir}/lib*.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* 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