1 # Note that this is NOT a relocatable package
2 %define package_name jasper
3 %define ver @JAS_VERSION@
5 %define datadir
%{prefix}/share
6 %define release @JAS_RPM_RELEASE@
12 Copyright: Modified BSD
13 Group: Development
/Libraries
16 Source: http
://www.ece.uvic.ca
/~mdadams
/jasper
/software
/jasper
-@JAS_VERSION@.tar.gz
18 BuildRoot: /var
/tmp
/%{package_name}-%{version}-root
20 BuildRequires
: libjpeg
-devel
21 URL: http
://www.ece.uvic.ca
/~mdadams
/jasper
/
24 JasPer is a collection
25 of software
(i.e.
, a library and application programs
) for the coding
26 and manipulation of images. This software can handle image data
in a
27 variety of formats. One such format supported by JasPer is the JPEG
-2000
28 format defined
in ISO
/IEC
15444-1:2000.
31 Summary: Include Files and Documentation
32 Group: Development
/Libraries
33 Requires: %{package_name} = %{ver}
36 JasPer is a collection
37 of software
(i.e.
, a library and application programs
) for the coding
38 and manipulation of images. This software can handle image data
in a
39 variety of formats. One such format supported by JasPer is the JPEG
-2000
40 code stream format defined
in ISO
/IEC
15444-1:2000.
45 .
/configure
--prefix
=/usr
--enable-shared
51 #if [ "$SMP" != "" ]; then
52 # (make "MAKE=make -k -j $SMP"; exit 0)
61 rm -rf $RPM_BUILD_ROOT
63 make prefix
=$RPM_BUILD_ROOT
%{prefix} install
68 rm -rf $RPM_BUILD_ROOT
71 %post -p
/sbin
/ldconfig
73 %postun -p
/sbin
/ldconfig
78 %defattr(-, root
, root
)
80 %doc README LICENSE ChangeLog
83 %{prefix}/lib
/lib
*.so.
*
87 %defattr(-, root
, root
)
92 %{prefix}/include
/jasper
/*
99 * Fri Oct
25 2002 Alexander D. Karaivanov
<adk@medical
-insight.com
>