]> git.pld-linux.org Git - packages/dirac.git/blob - dirac.spec
3ffff31ccda6695870fbaef3863b31911ab8f490
[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.5.0
5 Release:        1
6 License:        MPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/dirac/%{name}-%{version}.tar.gz
9 # Source0-md5:  5874a2d2cdb74d3356483b1c47bb941e
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _noautocompressdoc      *.map
23
24 %description
25 Dirac is a general-purpose video codec aimed at resolutions from QCIF
26 (180x144) to HDTV (1920x1080) progressive or interlaced. It uses
27 wavelets, motion compensation and arithmetic coding.
28
29 %description -l pl
30 Dirac jest kodekiem ogólnego przeznaczenia dla obrazu o
31 rozdzielczo¶ciach od QCIF (180x144) do HDTV (1920x1080). Kodek ten
32 wykorzystuje fale elementarne (wavelets), kompensacjê ruchu (motion
33 compensation) oraz kodowanie arytmetyczne (arithmetic coding).
34
35 %package devel
36 Summary:        Header files for dirac library
37 Summary(pl):    Pliki nag³ówkowe biblioteki dirac
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       libstdc++-devel
41
42 %description devel
43 Header files for dirac library.
44
45 %description devel -l pl
46 Pliki nag³ówkowe biblioteki dirac.
47
48 %package static
49 Summary:        Static dirac library
50 Summary(pl):    Statyczna biblioteka dirac
51 Group:          Development/Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 Static dirac library.
56
57 %description static -l pl
58 Statyczna biblioteka dirac.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63
64 %build
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %{__automake}
69 %configure
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 rm -f doc/api/{Makefile*,dirac_api.doxygen,dirac_api_foot.html,dirac_api_head.html,html/{*.md5,graph_legend.dot}}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README TODO doc/faq.htm
89 %attr(755,root,root) %{_bindir}/*
90 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
91
92 %files devel
93 %defattr(644,root,root,755)
94 %doc doc/api doc/programmers/programmers_guide.pdf doc/dirac_doc_howto.txt
95 %attr(755,root,root) %{_libdir}/lib*.so
96 %{_libdir}/lib*.la
97 %{_includedir}/%{name}
98 %{_pkgconfigdir}/*.pc
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/lib*.a
This page took 0.05281 seconds and 2 git commands to generate.