Summary: General purpose video codec
Summary(pl): Kodek obrazu ogólnego przeznaczenia
Name: dirac
-Version: 0.5.0
+Version: 0.6.0
Release: 1
-License: MPL
+License: MPL v1.1 or GPL v2 or LGPL v2.1
Group: Libraries
Source0: http://dl.sourceforge.net/dirac/%{name}-%{version}.tar.gz
-# Source0-md5: 5874a2d2cdb74d3356483b1c47bb941e
+# Source0-md5: 483eb3a05ea7f569a6bfd98f630c8b9e
Patch0: %{name}-am.patch
URL: http://www.bbc.co.uk/rd/projects/dirac/
BuildRequires: autoconf >= 2.50
BuildRequires: perl-base
BuildRequires: tetex-dvips
BuildRequires: tetex-format-latex
+BuildRequires: tetex-metafont
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautocompressdoc *.map
+%define _noautocompressdoc *.map *.dot
%description
Dirac is a general-purpose video codec aimed at resolutions from QCIF
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ CPPUNITTESTS_DIR=
-rm -f doc/api/{Makefile*,dirac_api.doxygen,dirac_api_foot.html,dirac_api_head.html,html/{*.md5,graph_legend.dot}}
+rm -f doc/api/html/*.md5
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/dirac
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO doc/faq.htm
+%doc AUTHORS ChangeLog NEWS README TODO doc/faq.html
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%files devel
%defattr(644,root,root,755)
-%doc doc/api doc/programmers/programmers_guide.pdf doc/dirac_doc_howto.txt
+%doc doc/documentation/code/api/html doc/dirac_bitstream.txt
%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_includedir}/%{name}