]> git.pld-linux.org Git - packages/FreeImage.git/blob - FreeImage.spec
- converted to UTF-8
[packages/FreeImage.git] / FreeImage.spec
1 Summary:        Library for handling different graphics files formats
2 Summary(pl.UTF-8):   Biblioteka do manipulacji różnymi formatami plików graficznych
3 Name:           FreeImage
4 Version:        3.9.2
5 Release:        1
6 License:        GPL and FIPL (see the license-fi.txt)
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/freeimage/%{name}392.zip
9 # Source0-md5:  e7a3e2429a0db52fb377bed7da61e5a5
10 Source1:        http://dl.sourceforge.net/freeimage/%{name}392.pdf
11 # Source1-md5:  ecbc9eedf5b4e04495deaaee8935c0fd
12 URL:            http://freeimage.sourceforge.net/index.html
13 BuildRequires:  unzip
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
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.
21
22 %description -l pl.UTF-8
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.
27
28 %package devel
29 Summary:        Header files for FreeImage library
30 Summary(pl.UTF-8):   Pliki nagłówkowe biblioteki FreeImage
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files for FreeImage library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki FreeImage.
39
40 %package static
41 Summary:        Static FreeImage library
42 Summary(pl.UTF-8):   Statyczna biblioteka FreeImage
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static FreeImage library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka FreeImage.
51
52 %prep
53 %setup -q -n %{name}
54
55 %build
56 %{__make} \
57         COMPILERFLAGS="%{rpmcflags}"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63
64 install Dist/libfreeimage* $RPM_BUILD_ROOT%{_libdir}
65 install Dist/*.h $RPM_BUILD_ROOT%{_includedir}
66
67 cp -rf Examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
68 cp -f %{SOURCE1} .
69
70 cd Dist
71 ln -sf libfreeimage-%{version}.so \
72         $RPM_BUILD_ROOT%{_libdir}/libfreeimage.so
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc README.linux Whatsnew.txt license-fi.txt
83 %attr(755,root,root) %{_libdir}/libfreeimage-*.*.*.so
84
85 %files devel
86 %defattr(644,root,root,755)
87 %doc FreeImage392.pdf
88 %attr(755,root,root) %{_libdir}/libfreeimage.so
89 %{_includedir}/*
90 %{_examplesdir}/%{name}-%{version}
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/lib*.a
This page took 0.069023 seconds and 4 git commands to generate.