1 Summary: General purpose video codec
2 Summary(pl): Kodek obrazu ogólnego przeznaczenia
6 License: Mozilla Public License
8 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: 12d0c09b3128ea88d10b9491b56364e0
10 Patch0: %{name}-shared.patch
11 URL: http://www.bbc.co.uk/rd/projects/dirac/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 Buildrequires: doxygen
15 BuildRequires: libtool
16 BuildRequires: tetex-format-latex
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _noautocompressdoc *.map
22 Dirac is a general-purpose video codec aimed at resolutions from QCIF
23 (180x144) to HDTV (1920x1080) progressive or interlaced. It uses
24 wavelets, motion compensation and arithmetic coding.
27 Dirac jest kodekiem ogólnego przeznaczenia dla obrazu o
28 rozdzielczo¶ciach od QCIF (180x144) do HDTV (1920x1080). Kodek ten
29 wykorzystuje fale elementarne (wavelets), kompensacjê ruchu (motion
30 compensation) oraz kodowanie arytmentczne (arithmetic coding).
33 Summary: Header files for dirac library
34 Summary(pl): Pliki nag³ówkowe biblioteki dirac
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Header files for dirac library.
41 %description devel -l pl
42 Pliki nag³ówkowe biblioteki dirac.
45 Summary: Static dirac library
46 Summary(pl): Statyczna biblioteka dirac
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
53 %description static -l pl
54 Statyczna biblioteka dirac.
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
73 DESTDIR=$RPM_BUILD_ROOT
75 install %{name}.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
77 rm -f doc/api/{Makefile*,dirac_api.doxygen,dirac_api_foot.html,dirac_api_head.html,html/{*.md5,graph_legend.dot}}
80 rm -rf $RPM_BUILD_ROOT
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README TODO doc/faq.htm
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
92 %defattr(644,root,root,755)
93 %doc doc/api doc/programmers/programmers_guide.pdf doc/dirac_doc_howto.txt
94 %attr(755,root,root) %{_libdir}/lib*.so
96 %{_includedir}/%{name}
100 %defattr(644,root,root,755)