]> git.pld-linux.org Git - packages/FreeImage.git/blobdiff - FreeImage.spec
- BR: libstdc++-devel
[packages/FreeImage.git] / FreeImage.spec
index a4f2012ee40388c4a8c3acfdfa229042723434fe..c7e77828b23223c082a8519563bcb3da190afca9 100644 (file)
@@ -1,15 +1,17 @@
+%define        _ver    %(echo %{version} | tr -d .)
 Summary:       Library for handling different graphics files formats
 Summary(pl.UTF-8):     Biblioteka do manipulacji różnymi formatami plików graficznych
 Name:          FreeImage
-Version:       3.9.2
+Version:       3.9.3
 Release:       1
 License:       GPL and FIPL (see the license-fi.txt)
 Group:         Libraries
-Source0:       http://dl.sourceforge.net/freeimage/%{name}392.zip
-# Source0-md5: e7a3e2429a0db52fb377bed7da61e5a5
-Source1:       http://dl.sourceforge.net/freeimage/%{name}392.pdf
-# Source1-md5: ecbc9eedf5b4e04495deaaee8935c0fd
+Source0:       http://dl.sourceforge.net/freeimage/%{name}%{_ver}.zip
+# Source0-md5: bf3574fa4e6135cf511d5ff4bc871ec3
+Source1:       http://dl.sourceforge.net/freeimage/%{name}%{_ver}.pdf
+# Source1-md5: 5a59f1d2c380da666f1cd42e082e8041
 URL:           http://freeimage.sourceforge.net/index.html
+BuildRequires: libstdc++-devel
 BuildRequires: unzip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -20,8 +22,8 @@ others as needed by multimedia applications. FreeImage is easy to use,
 fast, multithreading, safe.
 
 %description -l pl.UTF-8
-FreeImage jest projektem biblioteki dla deweloperów, którzy chcą
-wspierać popularne formaty plików graficznych takie jak PNG, BMP,
+FreeImage jest projektem biblioteki dla programistów chcących
+obsługiwać popularne formaty plików graficznych takie jak PNG, BMP,
 JPEG, TIFF i inne wykorzystywane w aplikacjach multimedialnych.
 FreeImage jest łatwy w użyciu, szybki, wielowątkowy i bezpieczny.
 
@@ -54,7 +56,7 @@ Statyczna biblioteka FreeImage.
 
 %build
 %{__make} \
-       COMPILERFLAGS="%{rpmcflags}"
+       RPM_OPT_FLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -67,7 +69,6 @@ install Dist/*.h $RPM_BUILD_ROOT%{_includedir}
 cp -rf Examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -f %{SOURCE1} .
 
-cd Dist
 ln -sf libfreeimage-%{version}.so \
        $RPM_BUILD_ROOT%{_libdir}/libfreeimage.so
 
@@ -84,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc FreeImage392.pdf
+%doc FreeImage%{_ver}.pdf
 %attr(755,root,root) %{_libdir}/libfreeimage.so
 %{_includedir}/*
 %{_examplesdir}/%{name}-%{version}
This page took 0.066343 seconds and 4 git commands to generate.