schroedinger/schroedinger.spec
OBS User autobuild 9b514e076c Accepting request 36482 from multimedia:libs
Copy from multimedia:libs/schroedinger based on submit request 36482 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/36482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/schroedinger?expand=0&rev=9
2010-04-01 14:18:33 +00:00

123 lines
4.2 KiB
RPMSpec

#
# spec file for package schroedinger (Version 1.0.9)
#
# Copyright (c) 2010 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: schroedinger
Version: 1.0.9
Release: 1
License: GPLv2 ; LGPLv2.0 ; MPL .. ; MIT License (or similar)
Summary: Library for decoding and encoding video in the Dirac format
Url: http://schrodinger.sourceforge.net/
Group: Productivity/Multimedia/Other
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM schroedinger-1.0.9-fix-linking.patch vuntz@opensuse.org -- Taken from Mandriva
Patch0: schroedinger-1.0.9-fix-linking.patch
BuildRequires: gcc-c++
BuildRequires: gtk-doc
BuildRequires: orc
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Schroedinger project implements portable libraries for the high
quality Dirac video codec created by BBC Research and Development.
Dirac is a free and open source codec producing very high image quality
video. The project produces two libraries in ANSI C89, one for decoding
and one for encoding.
%package -n libschroedinger-1_0-0
License: GPLv2 ; LGPLv2.0 ; MPL .. ; MIT License (or similar)
Summary: Library for decoding and encoding video in the Dirac format
Group: Productivity/Multimedia/Other
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description -n libschroedinger-1_0-0
The Schroedinger project implements portable libraries for the high
quality Dirac video codec created by BBC Research and Development.
Dirac is a free and open source codec producing very high image quality
video. The project produces two libraries in ANSI C89, one for decoding
and one for encoding.
%package devel
License: GPLv2 ; LGPLv2.0 ; MPL .. ; MIT License (or similar)
Summary: Library for decoding and encoding video in the Dirac format
Group: Development/Libraries/Other
Requires: libschroedinger-1_0-0 = %{version}
Requires: glib2-devel
Requires: orc
%description devel
The Schroedinger project implements portable libraries for the high
quality Dirac video codec created by BBC Research and Development.
Dirac is a free and open source codec producing very high image quality
video. The project produces two libraries in ANSI C89, one for decoding
and one for encoding.
%package doc
License: GPLv2 ; LGPLv2.0 ; MPL .. ; MIT License (or similar)
Summary: Library for decoding and encoding video in the Dirac format
Group: Productivity/Multimedia/Other
Requires: schroedinger-devel = %{version}
%description doc
The Schroedinger project implements portable libraries for the high
quality Dirac video codec created by BBC Research and Development.
Dirac is a free and open source codec producing very high image quality
video. The project produces two libraries in ANSI C89, one for decoding
and one for encoding.
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fi
%configure\
--disable-static
%{__make} %{?jobs:-j%jobs} docdir=%{_docdir}/%{name}
%install
%makeinstall docdir=%{_docdir}/%{name}
find %{buildroot} -type f -name "*.la" -delete -print
%clean
#rm -rf $RPM_BUILD_ROOT
%post -n libschroedinger-1_0-0 -p /sbin/ldconfig
%postun -n libschroedinger-1_0-0 -p /sbin/ldconfig
%files -n libschroedinger-1_0-0
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.MIT COPYING.GPL COPYING.LGPL COPYING.MPL
%{_libdir}/*.so.0*
%files devel
%defattr(-,root,root)
%{_includedir}/schroedinger-1.0/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/schroedinger
%changelog