michael@0: %define abi 1.0 michael@0: michael@0: Name: schroedinger michael@0: Version: 1.0.9 michael@0: Release: 1%{?dist} michael@0: Summary: Portable libraries for the high quality Dirac video codec michael@0: michael@0: Group: System Environment/Libraries michael@0: # No version is given for the GPL or the LGPL michael@0: License: GPL+ or LGPLv2+ or MIT or MPLv1.1 michael@0: URL: http://www.diracvideo.org/ michael@0: Source0: http://www.diracvideo.org/download/schroedinger/schroedinger-%{version}.tar.gz michael@0: # Issue is known upstream, fixed in git and so fixed in NEXT_RELEASE michael@0: Patch0: %{name}-no-testsuite.patch michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) michael@0: michael@0: BuildRequires: orc-devel >= 0.4.3 michael@0: BuildRequires: glew-devel >= 1.5.1 michael@0: BuildRequires: gtk-doc michael@0: michael@0: michael@0: %description michael@0: The Schrödinger project will implement portable libraries for the high michael@0: quality Dirac video codec created by BBC Research and michael@0: Development. Dirac is a free and open source codec producing very high michael@0: image quality video. michael@0: michael@0: The Schrödinger project is a project done by BBC R&D and Fluendo in michael@0: order to create a set of high quality decoder and encoder libraries michael@0: for the Dirac video codec. michael@0: michael@0: %package devel michael@0: Group: Development/Libraries michael@0: Summary: Development files for schroedinger michael@0: Requires: %{name} = %{version}-%{release} michael@0: Requires: pkgconfig michael@0: Requires: orc-devel >= 0.4.3 michael@0: michael@0: %description devel michael@0: Development files for schroedinger michael@0: michael@0: michael@0: %prep michael@0: %setup -q michael@0: %patch0 -p1 michael@0: michael@0: %build michael@0: %configure --disable-static --enable-gtk-doc michael@0: michael@0: # remove rpath from libtool michael@0: sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool michael@0: sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool michael@0: michael@0: make %{?_smp_mflags} michael@0: michael@0: %install michael@0: rm -rf %{buildroot} michael@0: make install DESTDIR=%{buildroot} michael@0: find %{buildroot} -name \*.la -delete michael@0: michael@0: %clean michael@0: rm -rf %{buildroot} michael@0: michael@0: %post -p /sbin/ldconfig michael@0: michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %doc COPYING* NEWS TODO michael@0: %{_libdir}/libschroedinger-%{abi}.so.* michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@0: %doc %{_datadir}/gtk-doc/html/schroedinger michael@0: %{_includedir}/schroedinger-%{abi} michael@0: %{_libdir}/*.so michael@0: %{_libdir}/pkgconfig/schroedinger-%{abi}.pc michael@0: michael@0: michael@0: %changelog michael@0: * Mon Nov 1 2010 Kozinov Ivan - 1.0.9-1 michael@0: - Build for MeeGo 1.1