1 Summary: Image input/output library
2 Summary(pl.UTF-8): Biblioteka wejścia/wyjścia dla obrazów
8 Source0: http://dl.sourceforge.net/corona/%{name}-%{version}.tar.gz
9 # Source0-md5: 29d1a7f1e2c85a83e9620496c62740ce
10 Patch0: %{name}-system-gif.patch
11 Patch1: %{name}-config.patch
12 URL: http://corona.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: giflib-devel >= 4.1.0
16 BuildRequires: libjpeg-devel
17 BuildRequires: libpng-devel
18 BuildRequires: libstdc++-devel
19 BuildRequires: libtool >= 2:1.5
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Corona is an image input/output library that can read, write, and
24 manipulate image files in just a few lines of code. It can write PNG
25 and TGA files, and read PNG, JPEG, PCX, BMP, TGA, and GIF. Corona was
26 designed to be easy to use, and exports a straightforward C++ API.
27 With just a few lines of C++, you can add image loading to your
30 %description -l pl.UTF-8
31 Corona to biblioteka wejścia/wyjścia dla obrazów, potrafiąca czytać,
32 zapisywać i obrabiać pliki obrazów w zaledwie kilku liniach kodu.
33 Potrafi zapisywać pliki PNG i TGA, a czytać PNG, JPEG, PCX, BMP, TGA i
34 GIF. Została zaprojektowana jako łatwa w użyciu i eksportuje
35 bezpośrednie API C++. Za pomocą tylko kilku linii kodu C++ można dodać
36 wczytywanie obrazów do swojej aplikacji.
39 Summary: Header files for corona library
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki corona
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: giflib-devel >= 4.1.0
44 Requires: libjpeg-devel
45 Requires: libpng-devel
46 Requires: libstdc++-devel
49 Header files for corona library.
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki corona.
55 Summary: Static corona library
56 Summary(pl.UTF-8): Statyczna biblioteka corona
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
61 Static corona library.
63 %description static -l pl.UTF-8
64 Statyczna biblioteka corona.
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc doc/{changelog.txt,faq.txt,license.txt,literature.txt,readme.txt}
94 %attr(755,root,root) %{_bindir}/corconvert
95 %attr(755,root,root) %{_libdir}/libcorona-*.so
98 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/corona-config
101 %attr(755,root,root) %{_libdir}/libcorona.so
102 %{_libdir}/libcorona.la
103 %{_includedir}/corona.h
106 %defattr(644,root,root,755)
107 %{_libdir}/libcorona.a