]> git.pld-linux.org Git - packages/jasper.git/blob - jasper.spec
0095a0cc4bf9e28acce20a0763b7e46ab2a21565
[packages/jasper.git] / jasper.spec
1 Summary:        JasPer - collection of software for coding and manipulation of images
2 Summary(pl):    JasPer - zestaw oprogramowania do obróbki obrazków
3 Name:           jasper
4 Version:        1.701.0
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://www.ece.uvic.ca/~mdadams/jasper/software/%{name}-%{version}.zip
9 # Source0-md5:  22a9f74fc880e38dd125c60aa4e4ce97
10 URL:            http://www.ece.uvic.ca/~mdadams/jasper/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  glut-devel >= 3.7-12
14 BuildRequires:  libjpeg-devel
15 BuildRequires:  libtool
16 BuildRequires:  unzip
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 JasPer is a collection of software (i.e., a library and application
21 programs) for the coding and manipulation of images. This software can
22 handle image data in a variety of formats. One such format supported
23 by JasPer is the JPEG-2000 code stream format defined in ISO/IEC
24 15444-1:2000 (but JasPer contains only partial implementation).
25
26 %description -l pl
27 JasPer to zestaw oprogramowania (biblioteka i aplikacje) do kodowania
28 i obróbki obrazków w ró¿nych formatach. Jednym z nich jest JPEG-2000
29 zdefiniowany w ISO/IEC 15444-1:2000 (JasPer zawiera tylko czê¶ciow±
30 implementacjê tego formatu).
31
32 %package devel
33 Summary:        JasPer - header files
34 Summary(pl):    JasPer - pliki nag³ówkowe
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       libjpeg-devel
38
39 %description devel
40 Header files needed to compile programs with libjasper.
41
42 %description devel -l pl
43 Pliki nag³ówkowe potrzebne do konsolidacji z libjasper.
44
45 %package static
46 Summary:        JasPer - static library
47 Summary(pl):    JasPer - biblioteka statyczna
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static version of libjasper.
53
54 %description static -l pl
55 Statyczna biblioteka libjasper.
56
57 %package jiv
58 Summary:        JasPer Image Viewer
59 Summary(pl):    Przegl±darka obrazków JasPer
60 Group:          X11/Applications/Graphics
61 Requires:       %{name} = %{version}-%{release}
62
63 %description jiv
64 Simple JasPer Image Viewer. Basic pan and zoom functionality is
65 provided. Components of an image may be viewed individually. Color
66 components may also be viewed together as a composite image. At
67 present, the jiv image viewer has only trivial support for color. It
68 recognizes RGB and YCbCr color spaces, but does not use tone
69 reproduction curves and the like in order to accurately reproduce
70 color. For basic testing purposes, however, the color reproduction
71 should suffice.
72
73 %description jiv -l pl
74 Prosta przegl±darka obrazków JasPer. Ma podstawow± funkcjonalno¶æ
75 przewijania i powiêkszania. Poszczególne sk³adniki obrazka mog± byæ
76 ogl±dane oddzielnie. Sk³adowe kolory mog± byæ ogl±dane tak¿e razem,
77 jako z³o¿ony obraz. Aktualnie przegl±darka ma tylko prost± obs³ugê
78 koloru. Rozpoznaje przestrzenie RGB i YCbCr, ale nie u¿ywa krzywych
79 reprodukcji tonalnej i podobnych rzeczy maj±cych za zadanie dok³adne
80 odwzorowanie koloru. Do podstawowych celów testowych taka obs³uga
81 kolorów powinna jednak wystarczyæ.
82
83 %prep
84 %setup -q
85
86 %build
87 %{__libtoolize}
88 %{__aclocal}
89 %{__autoconf}
90 %{__autoheader}
91 %{__automake}
92 %configure \
93         --enable-shared
94
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} install \
101         DESTDIR=$RPM_BUILD_ROOT
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files
110 %defattr(644,root,root,755)
111 %doc LICENSE NEWS README doc/jasper*
112 %attr(755,root,root) %{_bindir}/img*
113 %attr(755,root,root) %{_bindir}/jasper
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/lib*.so
119 %{_libdir}/lib*.la
120 %{_includedir}/jasper
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/lib*.a
125
126 %files jiv
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_bindir}/jiv
This page took 0.024029 seconds and 2 git commands to generate.