Summary: FLIF image codec library Name: libflif Version: 1.1 Release: 1%{?dist} License: GPLv3+ URL: http://vr5.narod.ru/flif Source0: FLIF-0.3.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: gcc-c++ libpng-devel %define debug_package %{nil} %description FLIF image codec library provides API for encoding and decoding images in FLIF format %prep %setup -c -n %{name} %build cd FLIF-0.3/src make libflif.so %install install -d $RPM_BUILD_ROOT%{_includedir} $RPM_BUILD_ROOT%{_libdir} install FLIF-0.3/src/library/*.h $RPM_BUILD_ROOT%{_includedir} install FLIF-0.3/src/libflif.so* $RPM_BUILD_ROOT%{_libdir} %files %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libflif.so* %clean rm -rf %{buildroot} %changelog *Tue Nov 24 2015 Vad Rulezz - 1.0 - Initial Package of libflif