Name: dcadec Version: 0.2.0 Release: 1mamba Summary: A free DTS Coherent Acoustics decoder with support for HD extensions Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/foo86/dcadec ## GITSOURCE https://github.com/foo86/dcadec.git v0.2.0 Source: https://github.com/foo86/dcadec.git/v%{version}/dcadec-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description dcadec is a free DTS Coherent Acoustics decoder with support for HD extensions. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %make PREFIX=%{_prefix} LIBDIR=%{_libdir} CONFIG_SHARED=1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall PREFIX=%{_prefix} LIBDIR=%{_libdir} CONFIG_SHARED=1 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/dcadec %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libdcadec.so.* %doc COPYING.LGPLv2.1 %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/libdcadec %{_includedir}/libdcadec/*.h %{_libdir}/libdcadec.so %{_libdir}/pkgconfig/dcadec.pc %doc README.md %changelog * Mon Mar 14 2016 Silvan Calarco 0.2.0-1mamba - package created using the webbuild interface