f432ae20ab
checked in (request 39695) OBS-URL: https://build.opensuse.org/request/show/39695 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dirac?expand=0&rev=12
270 lines
11 KiB
RPMSpec
270 lines
11 KiB
RPMSpec
#
|
|
# spec file for package dirac (Version 1.0.2)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: dirac
|
|
Version: 1.0.2
|
|
Release: 3
|
|
Url: http://diracvideo.org/
|
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
|
License: MPL ..
|
|
Summary: Dirac Video Codec
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRequires: gcc-c++ libstdc++-devel
|
|
BuildRequires: libcppunit-devel
|
|
%ifnarch ia64 s390 s390x %sparc
|
|
BuildRequires: valgrind-devel
|
|
%endif
|
|
BuildRequires: doxygen fdupes graphviz-gd texlive-latex
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Conflicts: dirac-doc
|
|
|
|
%description
|
|
Dirac is an open source video codec. It uses a traditional hybrid video
|
|
codec architecture, but with the wavelet transform instead of the usual
|
|
block transforms. Motion compensation uses overlapped blocks to reduce
|
|
block artefacts that would upset the transform coding stage.
|
|
|
|
Dirac can code just about any size of video, from streaming up to HD
|
|
and beyond, although certain presets are defined for different
|
|
applications and standards. These cover the parameters that need to be
|
|
set for the encoder to work, such as block sizes and temporal
|
|
prediction structures, which must otherwise be set by hand.
|
|
|
|
Dirac is intended to develop into real coding and decoding software,
|
|
capable of plugging into video processing applications and media
|
|
players that need compression. It is intended to develop into a simple
|
|
set of reliable but effective coding tools that work over a wide
|
|
variety of content and formats, using well-understood compression
|
|
techniques, in a clear and accessible software structure. It is not
|
|
intended as a demonstration or reference coder.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Thomas Davies <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Richard Felton <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Scott Robert Ladd <coyote@coyotegulch.com>, Coyote Gulch Productions
|
|
Stuart Cunningham <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Anuradha Suraparaju <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Chris Bowley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Tim Borer <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Meerwald <pmeerw@users.sourceforge.net>
|
|
Steve Bearcroft <bearcrsw@users.sourceforge.net>
|
|
Zen <ogg@illiminable.com>
|
|
Mike Ferenduros <mike_ferenduros@users.sourceforge.net>
|
|
Andrew Kennedy <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Bleackley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Myo Tun <myo.tun@brunel.ac.uk>, Brunel University
|
|
|
|
%package -n libdirac_decoder0
|
|
License: MPL ..
|
|
Group: System/Libraries
|
|
Summary: Dirac Video Codec Decoder Library
|
|
|
|
%description -n libdirac_decoder0
|
|
Dirac is an open source video codec. It uses a traditional hybrid video
|
|
codec architecture, but with the wavelet transform instead of the usual
|
|
block transforms. Motion compensation uses overlapped blocks to reduce
|
|
block artefacts that would upset the transform coding stage.
|
|
|
|
Dirac can code just about any size of video, from streaming up to HD
|
|
and beyond, although certain presets are defined for different
|
|
applications and standards. These cover the parameters that need to be
|
|
set for the encoder to work, such as block sizes and temporal
|
|
prediction structures, which must otherwise be set by hand.
|
|
|
|
Dirac is intended to develop into real coding and decoding software,
|
|
capable of plugging into video processing applications and media
|
|
players that need compression. It is intended to develop into a simple
|
|
set of reliable but effective coding tools that work over a wide
|
|
variety of content and formats, using well-understood compression
|
|
techniques, in a clear and accessible software structure. It is not
|
|
intended as a demonstration or reference coder.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Thomas Davies <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Richard Felton <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Scott Robert Ladd <coyote@coyotegulch.com>, Coyote Gulch Productions
|
|
Stuart Cunningham <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Anuradha Suraparaju <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Chris Bowley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Tim Borer <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Meerwald <pmeerw@users.sourceforge.net>
|
|
Steve Bearcroft <bearcrsw@users.sourceforge.net>
|
|
Zen <ogg@illiminable.com>
|
|
Mike Ferenduros <mike_ferenduros@users.sourceforge.net>
|
|
Andrew Kennedy <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Bleackley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Myo Tun <myo.tun@brunel.ac.uk>, Brunel University
|
|
|
|
%package -n libdirac_encoder0
|
|
License: MPL ..
|
|
Group: System/Libraries
|
|
Summary: Dirac Video Codec Encoder Library
|
|
|
|
%description -n libdirac_encoder0
|
|
Dirac is an open source video codec. It uses a traditional hybrid video
|
|
codec architecture, but with the wavelet transform instead of the usual
|
|
block transforms. Motion compensation uses overlapped blocks to reduce
|
|
block artefacts that would upset the transform coding stage.
|
|
|
|
Dirac can code just about any size of video, from streaming up to HD
|
|
and beyond, although certain presets are defined for different
|
|
applications and standards. These cover the parameters that need to be
|
|
set for the encoder to work, such as block sizes and temporal
|
|
prediction structures, which must otherwise be set by hand.
|
|
|
|
Dirac is intended to develop into real coding and decoding software,
|
|
capable of plugging into video processing applications and media
|
|
players that need compression. It is intended to develop into a simple
|
|
set of reliable but effective coding tools that work over a wide
|
|
variety of content and formats, using well-understood compression
|
|
techniques, in a clear and accessible software structure. It is not
|
|
intended as a demonstration or reference coder.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Thomas Davies <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Richard Felton <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Scott Robert Ladd <coyote@coyotegulch.com>, Coyote Gulch Productions
|
|
Stuart Cunningham <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Anuradha Suraparaju <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Chris Bowley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Tim Borer <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Meerwald <pmeerw@users.sourceforge.net>
|
|
Steve Bearcroft <bearcrsw@users.sourceforge.net>
|
|
Zen <ogg@illiminable.com>
|
|
Mike Ferenduros <mike_ferenduros@users.sourceforge.net>
|
|
Andrew Kennedy <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Bleackley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Myo Tun <myo.tun@brunel.ac.uk>, Brunel University
|
|
|
|
%package devel
|
|
License: MPL ..
|
|
Group: Development/Libraries/C and C++
|
|
Summary: Development Files for Dirac Video Codec
|
|
Requires: libdirac_decoder0 = %{version}
|
|
Requires: libdirac_encoder0 = %{version}
|
|
Conflicts: libdirac-devel
|
|
|
|
%description devel
|
|
Dirac is an open source video codec. It uses a traditional hybrid video
|
|
codec architecture, but with the wavelet transform instead of the usual
|
|
block transforms. Motion compensation uses overlapped blocks to reduce
|
|
block artefacts that would upset the transform coding stage.
|
|
|
|
Dirac can code just about any size of video, from streaming up to HD
|
|
and beyond, although certain presets are defined for different
|
|
applications and standards. These cover the parameters that need to be
|
|
set for the encoder to work, such as block sizes and temporal
|
|
prediction structures, which must otherwise be set by hand.
|
|
|
|
Dirac is intended to develop into real coding and decoding software,
|
|
capable of plugging into video processing applications and media
|
|
players that need compression. It is intended to develop into a simple
|
|
set of reliable but effective coding tools that work over a wide
|
|
variety of content and formats, using well-understood compression
|
|
techniques, in a clear and accessible software structure. It is not
|
|
intended as a demonstration or reference coder.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Thomas Davies <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Richard Felton <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Scott Robert Ladd <coyote@coyotegulch.com>, Coyote Gulch Productions
|
|
Stuart Cunningham <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Anuradha Suraparaju <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Chris Bowley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Tim Borer <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Meerwald <pmeerw@users.sourceforge.net>
|
|
Steve Bearcroft <bearcrsw@users.sourceforge.net>
|
|
Zen <ogg@illiminable.com>
|
|
Mike Ferenduros <mike_ferenduros@users.sourceforge.net>
|
|
Andrew Kennedy <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Peter Bleackley <diracinfo@rd.bbc.co.uk>, BBC Research and Development
|
|
Myo Tun <myo.tun@brunel.ac.uk>, Brunel University
|
|
|
|
%prep
|
|
%setup -q
|
|
# Code is not mature enough for -Werror (unused results)
|
|
sed -i 's/-Werror//' configure.ac
|
|
|
|
%build
|
|
# fix build in disabling as-needed
|
|
export SUSE_ASNEEDED=0
|
|
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
|
%if %suse_version == 1100
|
|
%ifarch x86_64
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -O0"
|
|
%endif
|
|
%endif
|
|
%configure\
|
|
--disable-static
|
|
%{__make} %{?jobs:-j%jobs} htmldir=%{_docdir}/%{name}/code/api_html
|
|
|
|
%install
|
|
%makeinstall htmldir=%{_docdir}/%{name}/code/api_html
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
%{__cp} -a AUTHORS COPYING ChangeLog NEWS README TODO %{buildroot}%{_docdir}/%{name}/
|
|
%fdupes %{buildroot}%{_docdir}/%{name}
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%post -n libdirac_decoder0 -p /sbin/ldconfig
|
|
|
|
%postun -n libdirac_decoder0 -p /sbin/ldconfig
|
|
|
|
%post -n libdirac_encoder0 -p /sbin/ldconfig
|
|
|
|
%postun -n libdirac_encoder0 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr (-, root, root)
|
|
%doc %dir %{_docdir}/%{name}
|
|
%doc %{_docdir}/%{name}/[ACNRT]*
|
|
%{_bindir}/*
|
|
|
|
%files -n libdirac_decoder0
|
|
%defattr (-, root, root)
|
|
%{_libdir}/libdirac_decoder.so.0*
|
|
|
|
%files -n libdirac_encoder0
|
|
%defattr (-, root, root)
|
|
%{_libdir}/libdirac_encoder.so.0*
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%doc %{_docdir}/%{name}/code
|
|
%{_libdir}/*.so
|
|
#%{_libdir}/*.*a
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/dirac
|
|
|
|
%changelog
|