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