]> git.pld-linux.org Git - packages/DevIL.git/blob - DevIL.spec
- switch to versioned docs: they seem to be newer
[packages/DevIL.git] / DevIL.spec
1 Summary:        Full featured image library
2 Summary(pl):    Biblioteka obs³ugi obrazów z mnóstwem funkcji
3 Name:           DevIL
4 Version:        1.6.5
5 %define         manual_version  1.5.5
6 %define         docs_version    1.4.0
7 Release:        1
8 License:        GPL
9 Group:          Libraries
10 Source0:        http://dl.sourceforge.net/openil/%{name}-%{version}.tar.gz
11 # Source0-md5:  e55f14ad26660887d9c671f71c65fae3
12 Source1:        http://dl.sourceforge.net/openil/%{name}-Manual-%{manual_version}.zip
13 # Source1-md5:  6bb2ddfcbe09930c48ef84b8f99479fe
14 Source2:        http://dl.sourceforge.net/openil/%{name}-Docs-%{docs_version}.zip
15 # Source2-md5:  eb1adc2e0ee154a97490b2178d41996a
16 URL:            http://openil.sourceforge.net/
17 BuildRequires:  OpenGL-devel
18 BuildRequires:  SDL-devel
19 BuildRequires:  allegro-devel
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  lcms-devel
23 BuildRequires:  libjpeg-devel
24 BuildRequires:  libmng-devel
25 BuildRequires:  libpng-devel
26 BuildRequires:  libtiff-devel
27 BuildRequires:  libtool
28 Requires:       OpenGL
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
32
33 %description
34 Developer's Image Library (DevIL) is a programmer's library to develop
35 applications with very powerful image loading capabilities, yet is
36 easy for a developer to learn and use. Ultimate control of images is
37 left to the developer, so unnecessary conversions, etc. are not
38 performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can
39 load, save, convert, manipulate, filter and display a wide variety of
40 image formats.
41
42 Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .jpg,
43 .lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm,
44 .psd, .psp, .raw, .sgi, .tga and .tif files.
45
46 Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm,
47 .pcx, .pgm, .png, .ppm, .raw, .sgi, .tga and .tif.
48
49 %description -l pl
50 Developer's Image Library (DevIL) jest bibliotek± programisty
51 pozwalaj±c± tworzyæ aplikacje z potê¿nymi mo¿liwo¶ciami ³adowania
52 obrazów. Pozostaje przy tym ³atwa w u¿yciu i prosta do nauczenia siê.
53 Ostateczna kontrola nad obrazami jest zostawiona programi¶cie, nie
54 wprowadza siê niepotrzebnych konwersji, itp. DevIL u¿ywa prostej, lecz
55 potê¿nej sk³adni poleceñ, wzorowanej na OpenGL-u. DevIL potrafi
56 ³adowaæ, zapisywaæ, konwertowaæ, manipulowaæ, filtrowaæ szeroki
57 wachlarz formatów plików graficznych.
58
59 W chwili obecnej DevIL odczytuje pliki z rozszerzeniami bmp, cut, dds,
60 doom, gif, ico, jpg, lbm, mdl, mng, pal, pbm, pcd, pcx, pgm, pic, png,
61 ppm, psd, psp, raw, sgi, tga i tif.
62
63 Wspierane jest zapisywanie do plików bmp, dds, h, jpg, pal, pbm, pcx,
64 pgm, png, ppm, raw, sgi, tga i tif.
65
66 %package devel
67 Summary:        DevIL devel files
68 Summary(pl):    Nag³ówki DevIL
69 Group:          Development/Libraries
70 Requires:       %{name} = %{version}
71
72 %description devel
73 DevIL devel files.
74
75 %description devel -l pl
76 Nag³ówki DevIL.
77
78 %package doc
79 Summary:        DevIL documentation
80 Summary(pl):    Dokumentacja DevIL
81 Group:          Development/Libraries
82
83 %description doc
84 DevIL documentation.
85
86 %description doc -l pl
87 Dokumentacja DevIL.
88
89 %prep
90 %setup -q -n %{name} -a1 -a2
91
92 #cp %{SOURCE1} %{SOURCE2} .
93
94 %build
95 %{__libtoolize}
96 %{__aclocal}
97 %{__automake}
98 %{__autoconf}
99 %configure \
100         %{?debug:--disable-release}
101 %{__make}
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %files
113 %defattr(644,root,root,755)
114 %doc AUTHORS BUGS CREDITS ChangeLog README.unix
115 %attr(755,root,root) %{_libdir}/lib*.so.*.*
116
117 %files devel
118 %defattr(644,root,root,755)
119 %{_libdir}/lib*.so
120 %{_includedir}/*
121
122 %files doc
123 %defattr(644,root,root,755)
124 %doc DevIL*.pdf
This page took 0.134552 seconds and 3 git commands to generate.