]> git.pld-linux.org Git - packages/dirac.git/blobdiff - dirac.spec
- updated for 0.6.0
[packages/dirac.git] / dirac.spec
index ce5ec68ef9cec5ba1bc12e615a7531b6c34c04ab..8b7c8514989ec763dbf33fd4f2c49f4d81326fac 100644 (file)
@@ -1,23 +1,26 @@
 Summary:       General purpose video codec
 Summary(pl):   Kodek obrazu ogólnego przeznaczenia
 Name:          dirac
-Version:       0.3.1
+Version:       0.6.0
 Release:       1
-License:       Mozilla Public License
+License:       MPL v1.1 or GPL v2 or LGPL v2.1
 Group:         Libraries
-Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 12d0c09b3128ea88d10b9491b56364e0
-Patch0:                %{name}-shared.patch
+Source0:       http://dl.sourceforge.net/dirac/%{name}-%{version}.tar.gz
+# Source0-md5: 483eb3a05ea7f569a6bfd98f630c8b9e
+Patch0:                %{name}-am.patch
 URL:           http://www.bbc.co.uk/rd/projects/dirac/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-Buildrequires: doxygen
-BuildRequires: libtool
+BuildRequires: doxygen
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
 BuildRequires: perl-base
+BuildRequires: tetex-dvips
 BuildRequires: tetex-format-latex
+BuildRequires: tetex-metafont
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _noautocompressdoc      *.map
+%define                _noautocompressdoc      *.map *.dot
 
 %description
 Dirac is a general-purpose video codec aimed at resolutions from QCIF
@@ -28,13 +31,14 @@ wavelets, motion compensation and arithmetic coding.
 Dirac jest kodekiem ogólnego przeznaczenia dla obrazu o
 rozdzielczo¶ciach od QCIF (180x144) do HDTV (1920x1080). Kodek ten
 wykorzystuje fale elementarne (wavelets), kompensacjê ruchu (motion
-compensation) oraz kodowanie arytmentczne (arithmetic coding).
+compensation) oraz kodowanie arytmetyczne (arithmetic coding).
 
 %package devel
 Summary:       Header files for dirac library
 Summary(pl):   Pliki nag³ówkowe biblioteki dirac
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      libstdc++-devel
 
 %description devel
 Header files for dirac library.
@@ -68,19 +72,13 @@ Statyczna biblioteka dirac.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       CPPUNITTESTS_DIR=
 
-install %{name}.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
-
-%{__perl} -pi -e 's@libdirac_common/@@g' \
-       $RPM_BUILD_ROOT%{_includedir}/%{name}/*.h
-%{__perl} -pi -e 's@libdirac_motionest/@@g' \
-       $RPM_BUILD_ROOT%{_includedir}/%{name}/*.h
-
-rm -f doc/api/{Makefile*,dirac_api.doxygen,dirac_api_foot.html,dirac_api_head.html,html/{*.md5,graph_legend.dot}}
+rm -f doc/api/html/*.md5
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/dirac
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -90,13 +88,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO doc/faq.htm
+%doc AUTHORS ChangeLog NEWS README TODO doc/faq.html
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/api doc/programmers/programmers_guide.pdf doc/dirac_doc_howto.txt
+%doc doc/documentation/code/api/html doc/dirac_bitstream.txt
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}/%{name}
This page took 0.220354 seconds and 4 git commands to generate.