]> git.pld-linux.org Git - packages/FreeImage.git/blame - FreeImage.spec
- tabs in preamle
[packages/FreeImage.git] / FreeImage.spec
CommitLineData
941b4a25 1Summary: Library for handling different graphics files formats
30392037 2Summary(pl.UTF-8): Biblioteka do manipulacji różnymi formatami plików graficznych
941b4a25 3Name: FreeImage
31d63669 4Version: 3.9.2
941b4a25 5Release: 1
6License: GPL and FIPL (see the license-fi.txt)
7Group: Libraries
31d63669 8Source0: http://dl.sourceforge.net/freeimage/%{name}392.zip
9# Source0-md5: e7a3e2429a0db52fb377bed7da61e5a5
10Source1: http://dl.sourceforge.net/freeimage/%{name}392.pdf
11# Source1-md5: ecbc9eedf5b4e04495deaaee8935c0fd
941b4a25 12URL: http://freeimage.sourceforge.net/index.html
13BuildRequires: unzip
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17FreeImage is a library project for developers who would like to
18support popular graphics image formats like PNG, BMP, JPEG, TIFF and
19others as needed by multimedia applications. FreeImage is easy to use,
20fast, multithreading, safe.
21
9c7860e7
JR
22%description -l pl.UTF-8
23FreeImage jest projektem biblioteki dla deweloperów, którzy chcą
24wspierać popularne formaty plików graficznych takie jak PNG, BMP,
941b4a25 25JPEG, TIFF i inne wykorzystywane w aplikacjach multimedialnych.
9c7860e7 26FreeImage jest łatwy w użyciu, szybki, wielowątkowy i bezpieczny.
941b4a25 27
28%package devel
29Summary: Header files for FreeImage library
30392037 30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FreeImage
941b4a25 31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33
34%description devel
35Header files for FreeImage library.
36
9c7860e7
JR
37%description devel -l pl.UTF-8
38Pliki nagłówkowe biblioteki FreeImage.
941b4a25 39
40%package static
41Summary: Static FreeImage library
30392037 42Summary(pl.UTF-8): Statyczna biblioteka FreeImage
941b4a25 43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static FreeImage library.
48
9c7860e7 49%description static -l pl.UTF-8
941b4a25 50Statyczna biblioteka FreeImage.
51
52%prep
53%setup -q -n %{name}
54
55%build
56%{__make} \
57 COMPILERFLAGS="%{rpmcflags}"
58
59%install
60rm -rf $RPM_BUILD_ROOT
61install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
62install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63
64install Dist/libfreeimage* $RPM_BUILD_ROOT%{_libdir}
65install Dist/*.h $RPM_BUILD_ROOT%{_includedir}
66
67cp -rf Examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
68cp -f %{SOURCE1} .
69
70cd Dist
71ln -sf libfreeimage-%{version}.so \
72 $RPM_BUILD_ROOT%{_libdir}/libfreeimage.so
73
74%clean
75rm -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)
31d63669 87%doc FreeImage392.pdf
941b4a25 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.141435 seconds and 4 git commands to generate.