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