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