package created using the webbuild interface [release 0.2.0-1mamba;Mon Mar 14 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 21:40:37 +01:00
parent b0c37a0601
commit 8128fb0ca2
2 changed files with 77 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# dcadec
dcadec is a free DTS Coherent Acoustics decoder with support for HD extensions.

75
dcadec.spec Normal file
View File

@ -0,0 +1,75 @@
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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- package created using the webbuild interface