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: perl-base
17 BuildRequires: tetex-format-latex
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _noautocompressdoc *.map
23 Dirac is a general-purpose video codec aimed at resolutions from QCIF
24 (180x144) to HDTV (1920x1080) progressive or interlaced. It uses
25 wavelets, motion compensation and arithmetic coding.
28 Dirac jest kodekiem ogólnego przeznaczenia dla obrazu o
29 rozdzielczo¶ciach od QCIF (180x144) do HDTV (1920x1080). Kodek ten
30 wykorzystuje fale elementarne (wavelets), kompensacjê ruchu (motion
31 compensation) oraz kodowanie arytmentczne (arithmetic coding).
34 Summary: Header files for dirac library
35 Summary(pl): Pliki nag³ówkowe biblioteki dirac
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Header files for dirac library.
42 %description devel -l pl
43 Pliki nag³ówkowe biblioteki dirac.
46 Summary: Static dirac library
47 Summary(pl): Statyczna biblioteka dirac
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
54 %description static -l pl
55 Statyczna biblioteka dirac.
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
74 DESTDIR=$RPM_BUILD_ROOT
76 install %{name}.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
78 %{__perl} -pi -e 's@libdirac_common/@@g' \
79 $RPM_BUILD_ROOT%{_includedir}/%{name}/*.h
80 %{__perl} -pi -e 's@libdirac_motionest/@@g' \
81 $RPM_BUILD_ROOT%{_includedir}/%{name}/*.h
83 rm -f doc/api/{Makefile*,dirac_api.doxygen,dirac_api_foot.html,dirac_api_head.html,html/{*.md5,graph_legend.dot}}
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README TODO doc/faq.htm
94 %attr(755,root,root) %{_bindir}/*
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
98 %defattr(644,root,root,755)
99 %doc doc/api doc/programmers/programmers_guide.pdf doc/dirac_doc_howto.txt
100 %attr(755,root,root) %{_libdir}/lib*.so
102 %{_includedir}/%{name}
103 %{_pkgconfigdir}/*.pc
106 %defattr(644,root,root,755)