1 Summary: Library for handling different graphics files formats
2 Summary(pl): Biblioteka do manipulacji ró¿nymi formatami plików graficznych
6 License: GPL and FIPL (see the license-fi.txt)
8 Source0: http://dl.sourceforge.net/freeimage/%{name}360.zip
9 # Source0-md5: 3db869abfa1ceaf8f831f39e0935bc8e
10 Source1: http://dl.sourceforge.net/freeimage/%{name}360.pdf
11 # Source1-md5: fb2141db11c35a60d8511dda4ce8a09d
12 URL: http://freeimage.sourceforge.net/index.html
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 FreeImage is a library project for developers who would like to
18 support popular graphics image formats like PNG, BMP, JPEG, TIFF and
19 others as needed by multimedia applications. FreeImage is easy to use,
20 fast, multithreading, safe.
23 FreeImage jest projektem biblioteki dla deweloperów, którzy chc±
24 wspieraæ popularne formaty plików graficznych takie jak PNG, BMP,
25 JPEG, TIFF i inne wykorzystywane w aplikacjach multimedialnych.
26 FreeImage jest ³atwy w u¿yciu, szybki, wielow±tkowy i bezpieczny.
29 Summary: Header files for FreeImage library
30 Summary(pl): Pliki nag³ówkowe biblioteki FreeImage
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Header files for FreeImage library.
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki FreeImage.
41 Summary: Static FreeImage library
42 Summary(pl): Statyczna biblioteka FreeImage
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
47 Static FreeImage library.
49 %description static -l pl
50 Statyczna biblioteka FreeImage.
57 COMPILERFLAGS="%{rpmcflags}"
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64 install Dist/libfreeimage* $RPM_BUILD_ROOT%{_libdir}
65 install Dist/*.h $RPM_BUILD_ROOT%{_includedir}
67 cp -rf Examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
71 ln -sf libfreeimage-%{version}.so \
72 $RPM_BUILD_ROOT%{_libdir}/libfreeimage.so
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc README.linux Whatsnew.txt license-fi.txt
83 %attr(755,root,root) %{_libdir}/libfreeimage-*.*.*.so
86 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libfreeimage.so
90 %{_examplesdir}/%{name}-%{version}
93 %defattr(644,root,root,755)