]> git.pld-linux.org Git - packages/jasper.git/blame - jasper.spec
- bumped OpenGL-glut version to 4.0 (3.7 does not have glutInit)
[packages/jasper.git] / jasper.spec
CommitLineData
f3cb6a5f
JK
1#
2# Conditional build:
05318357 3%bcond_without opengl # don't build (OpenGL-based) jiv
f3cb6a5f 4#
7768c950 5Summary: JasPer - collection of software for coding and manipulation of images
f114b46e 6Summary(pl.UTF-8): JasPer - zestaw oprogramowania do obróbki obrazków
7768c950 7Name: jasper
e77c3fad 8Version: 1.900.1
49ac8c7f 9Release: 3
1c599ece 10Epoch: 0
7768c950
JB
11License: BSD-like
12Group: Libraries
e4872c90 13Source0: http://www.ece.uvic.ca/~mdadams/jasper/software/%{name}-%{version}.zip
e77c3fad 14# Source0-md5: a342b2b4495b3e1394e161eb5d85d754
e4872c90 15URL: http://www.ece.uvic.ca/~mdadams/jasper/
a800fa2d 16%{?with_opengl:BuildRequires: OpenGL-glut-devel >= 4.0}
05318357 17BuildRequires: autoconf >= 2.59-9
146cb403 18BuildRequires: automake
7768c950 19BuildRequires: libjpeg-devel
23b36aeb 20BuildRequires: libtool
c94588b0 21BuildRequires: sed >= 4.0
64d6044f 22BuildRequires: unzip
1c599ece 23Requires: %{name}-libs = %{epoch}:%{version}-%{release}
a800fa2d 24%{?with_opengl:Requires: OpenGL-glut >= 4.0}
7768c950
JB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28JasPer is a collection of software (i.e., a library and application
29programs) for the coding and manipulation of images. This software can
30handle image data in a variety of formats. One such format supported
31by JasPer is the JPEG-2000 code stream format defined in ISO/IEC
3215444-1:2000 (but JasPer contains only partial implementation).
33
b22e6f4e 34%description -l pl.UTF-8
7768c950 35JasPer to zestaw oprogramowania (biblioteka i aplikacje) do kodowania
b22e6f4e
JR
36i obróbki obrazków w różnych formatach. Jednym z nich jest JPEG-2000
37zdefiniowany w ISO/IEC 15444-1:2000 (JasPer zawiera tylko częściową
38implementację tego formatu).
7768c950 39
4990e813
JB
40%package libs
41Summary: JasPer library
f114b46e 42Summary(pl.UTF-8): Biblioteka JasPer
4990e813
JB
43Group: Libraries
44
45%description libs
46JasPer library.
47
b22e6f4e 48%description libs -l pl.UTF-8
4990e813
JB
49Biblioteka JasPer.
50
7768c950
JB
51%package devel
52Summary: JasPer - header files
f114b46e 53Summary(pl.UTF-8): JasPer - pliki nagłówkowe
7768c950 54Group: Development/Libraries
1c599ece 55Requires: %{name}-libs = %{epoch}:%{version}-%{release}
93db89bb 56Requires: libjpeg-devel
7768c950
JB
57
58%description devel
59Header files needed to compile programs with libjasper.
60
b22e6f4e
JR
61%description devel -l pl.UTF-8
62Pliki nagłówkowe potrzebne do konsolidacji z libjasper.
7768c950
JB
63
64%package static
65Summary: JasPer - static library
f114b46e 66Summary(pl.UTF-8): JasPer - biblioteka statyczna
7768c950 67Group: Development/Libraries
1c599ece 68Requires: %{name}-devel = %{epoch}:%{version}-%{release}
7768c950
JB
69
70%description static
3e4cf843 71Static version of libjasper.
7768c950 72
b22e6f4e 73%description static -l pl.UTF-8
7768c950
JB
74Statyczna biblioteka libjasper.
75
3323487f
JB
76%package jiv
77Summary: JasPer Image Viewer
f114b46e 78Summary(pl.UTF-8): Przeglądarka obrazków JasPer
3323487f 79Group: X11/Applications/Graphics
1c599ece 80Requires: %{name} = %{epoch}:%{version}-%{release}
3323487f
JB
81
82%description jiv
83Simple JasPer Image Viewer. Basic pan and zoom functionality is
84provided. Components of an image may be viewed individually. Color
85components may also be viewed together as a composite image. At
86present, the jiv image viewer has only trivial support for color. It
87recognizes RGB and YCbCr color spaces, but does not use tone
88reproduction curves and the like in order to accurately reproduce
89color. For basic testing purposes, however, the color reproduction
90should suffice.
91
b22e6f4e
JR
92%description jiv -l pl.UTF-8
93Prosta przeglądarka obrazków JasPer. Ma podstawową funkcjonalność
94przewijania i powiększania. Poszczególne składniki obrazka mogą być
95oglądane oddzielnie. Składowe kolory mogą być oglądane także razem,
96jako złożony obraz. Aktualnie przeglądarka ma tylko prostą obsługę
97koloru. Rozpoznaje przestrzenie RGB i YCbCr, ale nie używa krzywych
98reprodukcji tonalnej i podobnych rzeczy mających za zadanie dokładne
99odwzorowanie koloru. Do podstawowych celów testowych taka obsługa
100kolorów powinna jednak wystarczyć.
3323487f 101
7768c950
JB
102%prep
103%setup -q
c94588b0 104%{__sed} 's/ -lXmu -lXi -lXext -lXt / /' -i configure.ac
7768c950
JB
105
106%build
23b36aeb
JB
107%{__libtoolize}
108%{__aclocal}
494e470b 109%{__autoconf}
23b36aeb
JB
110%{__autoheader}
111%{__automake}
7768c950 112%configure \
c94588b0 113 %{!?with_opengl:--disable-opengl} \
23b36aeb 114 --enable-shared
7768c950
JB
115
116%{__make}
117
118%install
119rm -rf $RPM_BUILD_ROOT
120
6cd178e4
JB
121%{__make} install \
122 DESTDIR=$RPM_BUILD_ROOT
7768c950 123
05318357
JB
124# nothing interesting
125rm -f $RPM_BUILD_ROOT%{_bindir}/tmrdemo
126
7768c950
JB
127%clean
128rm -rf $RPM_BUILD_ROOT
129
1c599ece
ER
130%post libs -p /sbin/ldconfig
131%postun libs -p /sbin/ldconfig
7768c950
JB
132
133%files
134%defattr(644,root,root,755)
05318357 135%doc LICENSE NEWS README doc/jasper.pdf doc/jpeg2000.pdf
61c35653
JB
136%attr(755,root,root) %{_bindir}/img*
137%attr(755,root,root) %{_bindir}/jasper
05318357
JB
138%{_mandir}/man1/img*.1*
139%{_mandir}/man1/jasper.1*
7768c950 140
4990e813
JB
141%files libs
142%defattr(644,root,root,755)
05318357 143%attr(755,root,root) %{_libdir}/libjasper.so.*.*.*
c94588b0 144%attr(755,root,root) %ghost %{_libdir}/libjasper.so.1
4990e813 145
7768c950
JB
146%files devel
147%defattr(644,root,root,755)
05318357
JB
148%attr(755,root,root) %{_libdir}/libjasper.so
149%{_libdir}/libjasper.la
7768c950
JB
150%{_includedir}/jasper
151
152%files static
153%defattr(644,root,root,755)
05318357 154%{_libdir}/libjasper.a
3323487f 155
f3cb6a5f 156%if %{with opengl}
6cd178e4
JB
157%files jiv
158%defattr(644,root,root,755)
159%attr(755,root,root) %{_bindir}/jiv
05318357 160%{_mandir}/man1/jiv.1*
f3cb6a5f 161%endif
This page took 0.050888 seconds and 4 git commands to generate.