]> git.pld-linux.org Git - packages/dirac.git/blob - dirac.spec
3b7b867c029ab82eea5a4c6d3ba5b585e220561c
[packages/dirac.git] / dirac.spec
1 Summary:        General purpose video codec
2 Summary(pl):    Kodek obrazu ogólnego przeznaczenia
3 Name:           dirac
4 Version:        0.3.1
5 Release:        1
6 License:        Mozilla Public License
7 Group:          Libraries
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)
18
19 %define         _noautocompressdoc      *.map
20
21 %description
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.
25
26 %description -l pl
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).
31
32 %package devel
33 Summary:        Header files for dirac library
34 Summary(pl):    Pliki nag³ówkowe biblioteki dirac
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37
38 %description devel
39 Header files for dirac library.
40
41 %description devel -l pl
42 Pliki nag³ówkowe biblioteki dirac.
43
44 %package static
45 Summary:        Static dirac library
46 Summary(pl):    Statyczna biblioteka dirac
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static dirac library.
52
53 %description static -l pl
54 Statyczna biblioteka dirac.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__automake}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 install %{name}.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
76
77 rm -f doc/api/{Makefile*,dirac_api.doxygen,dirac_api_foot.html,dirac_api_head.html,html/{*.md5,graph_legend.dot}}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
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.*.*.*
90
91 %files devel
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
95 %{_libdir}/lib*.la
96 %{_includedir}/%{name}
97 %{_pkgconfigdir}/*.pc
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/lib*.a
This page took 0.070288 seconds and 3 git commands to generate.