1 Summary: General purpose video codec
2 Summary(pl): Kodek obrazu ogólnego przeznaczenia
6 License: MPL v1.1 or GPL v2 or LGPL v2.1
8 Source0: http://dl.sourceforge.net/dirac/%{name}-%{version}.tar.gz
9 # Source0-md5: 6882ac9fe9b39edc2a2e666d36d674c3
10 Patch0: %{name}-am.patch
11 URL: http://www.bbc.co.uk/rd/projects/dirac/
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: doxygen
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool >= 2:1.5
17 BuildRequires: perl-base
18 BuildRequires: tetex-dvips
19 BuildRequires: tetex-format-latex
20 BuildRequires: tetex-metafont
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _noautocompressdoc *.map *.dot
26 Dirac is a general-purpose video codec aimed at resolutions from QCIF
27 (180x144) to HDTV (1920x1080) progressive or interlaced. It uses
28 wavelets, motion compensation and arithmetic coding.
31 Dirac jest kodekiem ogólnego przeznaczenia dla obrazu o
32 rozdzielczo¶ciach od QCIF (180x144) do HDTV (1920x1080). Kodek ten
33 wykorzystuje fale elementarne (wavelets), kompensacjê ruchu (motion
34 compensation) oraz kodowanie arytmetyczne (arithmetic coding).
37 Summary: Header files for dirac library
38 Summary(pl): Pliki nag³ówkowe biblioteki dirac
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: libstdc++-devel
44 Header files for dirac library.
46 %description devel -l pl
47 Pliki nag³ówkowe biblioteki dirac.
50 Summary: Static dirac library
51 Summary(pl): Statyczna biblioteka dirac
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
58 %description static -l pl
59 Statyczna biblioteka dirac.
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT \
80 rm -f doc/api/html/*.md5
81 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/dirac
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README TODO doc/faq.html
92 %attr(755,root,root) %{_bindir}/*
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
96 %defattr(644,root,root,755)
97 %doc doc/documentation/code/api/html doc/dirac_bitstream.txt
98 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_includedir}/%{name}
101 %{_pkgconfigdir}/*.pc
104 %defattr(644,root,root,755)