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