diff --git a/README.md b/README.md index 57e7136..17dd0a5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # libdirac Dirac is an open source video codec. It uses a traditional hybrid video codec architecture, but with the wavelet transform instead of the usual block transforms. Motion compensation uses overlapped blocks to reduce block artefacts that would upset the transform coding stage. - This package contains libraries for Dirac diff --git a/libdirac.spec b/libdirac.spec index 91a4b09..40da271 100644 --- a/libdirac.spec +++ b/libdirac.spec @@ -1,6 +1,6 @@ Name: libdirac Version: 1.0.2 -Release: 4mamba +Release: 5mamba Summary: Libraries for Dirac Group: System/Libraries Vendor: openmamba @@ -11,12 +11,12 @@ Source: http://diracvideo.org/download/dirac-research/dirac-%{version}.ta License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libcppunit-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END -BuildRequires: libcppunit-devel >= 1.15.1-1mamba BuildRequires: doxygen BuildRequires: libgraphviz-devel BuildRequires: tetex-latex @@ -25,7 +25,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Dirac is an open source video codec. It uses a traditional hybrid video codec architecture, but with the wavelet transform instead of the usual block transforms. Motion compensation uses overlapped blocks to reduce block artefacts that would upset the transform coding stage. - This package contains libraries for Dirac %package devel @@ -48,33 +47,35 @@ Dirac is an open source video codec. It uses a traditional hybrid video codec ar This package contains static libraries need for development. -%package -n Dirac-docs +%package -n dirac-docs Group: Documentation Summary: Documentation for Dirac -Requires: Dirac = %{?epoch:%epoch:}%{version}-%{release} +Requires: dirac = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: Dirac-docs < 1.0.2-4mamba -%description -n Dirac-docs +%description -n dirac-docs Dirac is an open source video codec. It uses a traditional hybrid video codec architecture, but with the wavelet transform instead of the usual block transforms. Motion compensation uses overlapped blocks to reduce block artefacts that would upset the transform coding stage. This package contains documentation files for Dirac. -%package -n Dirac +%package -n dirac Group: System/Libraries Summary: Dirac is an open source video codec +Obsoletes: Dirac < 1.0.2-4mamba -%description -n Dirac +%description -n dirac Dirac is an open source video codec. It uses a traditional hybrid video codec architecture, but with the wavelet transform instead of the usual block transforms. Motion compensation uses overlapped blocks to reduce block artefacts that would upset the transform coding stage. +%debug_package + %prep - %setup -q -n dirac-%{version} - +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub install -pm 644 README README.Dirac install -pm 644 util/instrumentation/README README.instrumentation # fix permission mode for sources. find doc unit_tests util libdirac_encoder libdirac_byteio -type f -name \* -exec chmod 644 {} \; - # Only update the doxygen file before generated with make pushd doc/ %{_bindir}/doxygen -u dirac_api.doxygen @@ -85,7 +86,7 @@ popd --program-prefix=dirac_ \ --program-transform-name=s,dirac_dirac_,dirac_, \ --enable-overlay \ - --enable-mmx=no \ + --enable-mmx=no sed -i -e 's|-Werror||' decoder/Makefile @@ -113,8 +114,8 @@ sed -i -e 's|/home/guest/dirac-0.5.0/util/conversion|%{_bindir}|' %{buildroot}%{ %files %defattr(-,root,root) -%{_libdir}/*.so.* -%doc AUTHORS COPYING ChangeLog NEWS README TODO +%{_libdir}/libdirac_*.so.* +%doc AUTHORS COPYING %files devel %defattr(-,root,root) @@ -124,48 +125,29 @@ sed -i -e 's|/home/guest/dirac-0.5.0/util/conversion|%{_bindir}|' %{buildroot}%{ %{_includedir}/dirac/libdirac_decoder/*.h %dir %{_includedir}/dirac/libdirac_encoder %{_includedir}/dirac/libdirac_encoder/*.h -%{_libdir}/*.so +%{_libdir}/libdirac_*.so %{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README TODO %files static %defattr(-,root,root) -%{_libdir}/*.a -%{_libdir}/*.la +%{_libdir}/libdirac_*.a +%{_libdir}/libdirac_*.la -%files -n Dirac-docs +%files -n dirac-docs %defattr(-,root,root) %dir %{_docdir}/dirac/code/api_html %{_docdir}/dirac/code/api_html/* -%files -n Dirac +%files -n dirac %defattr(-,root,root) %{_bindir}/create_dirac_testfile.pl -%{_bindir}/dirac_BMPtoRGB -%{_bindir}/dirac_RGBtoBMP -%{_bindir}/dirac_RGBtoUYVY -%{_bindir}/dirac_RGBtoYUV411 -%{_bindir}/dirac_RGBtoYUV420 -%{_bindir}/dirac_RGBtoYUV422 -%{_bindir}/dirac_RGBtoYUV444 -%{_bindir}/dirac_UYVYtoRGB -%{_bindir}/dirac_UYVYtoYUV422 -%{_bindir}/dirac_YUV411toRGB -%{_bindir}/dirac_YUV420Down2x2 -%{_bindir}/dirac_YUV420ItoYUV422I -%{_bindir}/dirac_YUV422ItoYUV420I -%{_bindir}/dirac_YUV420pt75filter -%{_bindir}/dirac_YUV420toRGB -%{_bindir}/dirac_YUV420toYUV422 -%{_bindir}/dirac_YUV422toRGB -%{_bindir}/dirac_YUV422toUYVY -%{_bindir}/dirac_YUV422toYUV420 -%{_bindir}/dirac_YUV444toRGB -%{_bindir}/dirac_decoder -%{_bindir}/dirac_encoder -%{_bindir}/dirac_instrumentation -%{_bindir}/dirac_unittest +%{_bindir}/dirac_* %changelog +* Fri Jan 29 2021 Silvan Calarco 1.0.2-5mamba +- rebuilt with debug package and aarch64 build fix + * Sun May 03 2020 Silvan Calarco 1.0.2-4mamba - rebuilt by autoport with build requirements: libcppunit-devel>=1.15.1-1mamba