]> git.pld-linux.org Git - packages/dirac.git/blame - dirac.spec
- up to 0.10.0
[packages/dirac.git] / dirac.spec
CommitLineData
ace6e324 1Summary: General purpose video codec
7741545a 2Summary(pl.UTF-8): Kodek obrazu ogólnego przeznaczenia
ace6e324 3Name: dirac
0e45352f 4Version: 0.10.0
e256eb1d 5Release: 1
ab218fd7 6License: MPL v1.1 or GPL v2 or LGPL v2.1
ace6e324 7Group: Libraries
d60d05fb 8Source0: http://dl.sourceforge.net/dirac/%{name}-%{version}.tar.gz
0e45352f 9# Source0-md5: 82615435ae77cdf0a7e1ab6b4c30cb11
d60d05fb 10Patch0: %{name}-am.patch
ace6e324 11URL: http://www.bbc.co.uk/rd/projects/dirac/
d60d05fb 12BuildRequires: autoconf >= 2.50
ace6e324 13BuildRequires: automake
e8437572 14BuildRequires: doxygen
d60d05fb
JB
15BuildRequires: libstdc++-devel
16BuildRequires: libtool >= 2:1.5
5ed9134e 17BuildRequires: perl-base
d60d05fb 18BuildRequires: tetex-dvips
ace6e324 19BuildRequires: tetex-format-latex
8f9825e0 20BuildRequires: tetex-metafont
ace6e324 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
9207ecc8 23%define _noautocompressdoc *.map *.dot
ace6e324 24
25%description
26Dirac is a general-purpose video codec aimed at resolutions from QCIF
27(180x144) to HDTV (1920x1080) progressive or interlaced. It uses
28wavelets, motion compensation and arithmetic coding.
29
ee2cad50
JR
30%description -l pl.UTF-8
31Dirac jest kodekiem ogólnego przeznaczenia dla obrazu o
32rozdzielczościach od QCIF (180x144) do HDTV (1920x1080). Kodek ten
33wykorzystuje fale elementarne (wavelets), kompensację ruchu (motion
868410a4 34compensation) oraz kodowanie arytmetyczne (arithmetic coding).
ace6e324 35
36%package devel
37Summary: Header files for dirac library
7741545a 38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dirac
ace6e324 39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
d60d05fb 41Requires: libstdc++-devel
ace6e324 42
43%description devel
44Header files for dirac library.
45
ee2cad50
JR
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki dirac.
ace6e324 48
49%package static
50Summary: Static dirac library
7741545a 51Summary(pl.UTF-8): Statyczna biblioteka dirac
ace6e324 52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static dirac library.
57
ee2cad50 58%description static -l pl.UTF-8
ace6e324 59Statyczna biblioteka dirac.
60
61%prep
62%setup -q
63%patch0 -p1
64
65%build
66%{__libtoolize}
0e45352f 67%{__aclocal} -I m4
ace6e324 68%{__autoconf}
69%{__automake}
70%configure
71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
ace6e324 75
76%{__make} install \
d0d1c2e8
JB
77 DESTDIR=$RPM_BUILD_ROOT \
78 CPPUNITTESTS_DIR=
ace6e324 79
9207ecc8 80rm -f doc/api/html/*.md5
81rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/dirac
ace6e324 82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
89%files
90%defattr(644,root,root,755)
ab218fd7 91%doc AUTHORS ChangeLog NEWS README TODO doc/faq.html
ace6e324 92%attr(755,root,root) %{_bindir}/*
3e2d701e
JB
93%attr(755,root,root) %{_libdir}/libdirac_decoder.so.*.*.*
94%attr(755,root,root) %{_libdir}/libdirac_encoder.so.*.*.*
95%attr(755,root,root) %ghost %{_libdir}/libdirac_decoder.so.0
96%attr(755,root,root) %ghost %{_libdir}/libdirac_encoder.so.0
ace6e324 97
98%files devel
99%defattr(644,root,root,755)
0e45352f 100%doc doc/documentation/code/api/html
3e2d701e
JB
101%attr(755,root,root) %{_libdir}/libdirac_decoder.so
102%attr(755,root,root) %{_libdir}/libdirac_encoder.so
103%{_libdir}/libdirac_decoder.la
104%{_libdir}/libdirac_encoder.la
ace6e324 105%{_includedir}/%{name}
3e2d701e 106%{_pkgconfigdir}/dirac.pc
ace6e324 107
108%files static
109%defattr(644,root,root,755)
3e2d701e
JB
110%{_libdir}/libdirac_decoder.a
111%{_libdir}/libdirac_encoder.a
This page took 0.060443 seconds and 4 git commands to generate.