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