Fri, 11 Mar 2011 21:36:51 +0100
Adjust specification build configurations to port packages to MeeGo.
michael@0 | 1 | Name: schroedinger |
michael@1 | 2 | Version: 1.0.10 |
michael@1 | 3 | Release: 20101201 |
michael@0 | 4 | Summary: Portable libraries for the high quality Dirac video codec |
michael@1 | 5 | Vendor: Europalab Software |
michael@1 | 6 | Packager: Michael Schloh von Bennewitz |
michael@1 | 7 | Distribution: MeeGo Thirdparty |
michael@0 | 8 | Group: System Environment/Libraries |
michael@0 | 9 | License: GPL+ or LGPLv2+ or MIT or MPLv1.1 |
michael@0 | 10 | URL: http://www.diracvideo.org/ |
michael@1 | 11 | Source0: http://www.diracvideo.org/download/schroedinger/schroedinger-%{version}.tar.gz |
michael@1 | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@1 | 13 | BuildRequires: orc-devel >= 0.4.10 |
michael@1 | 14 | BuildRequires: glew-devel |
michael@1 | 15 | BuildRequires: gtk-doc |
michael@0 | 16 | |
michael@0 | 17 | %description |
michael@0 | 18 | The Schrödinger project will implement portable libraries for the high |
michael@0 | 19 | quality Dirac video codec created by BBC Research and |
michael@0 | 20 | Development. Dirac is a free and open source codec producing very high |
michael@0 | 21 | image quality video. |
michael@0 | 22 | |
michael@0 | 23 | The Schrödinger project is a project done by BBC R&D and Fluendo in |
michael@0 | 24 | order to create a set of high quality decoder and encoder libraries |
michael@0 | 25 | for the Dirac video codec. |
michael@0 | 26 | |
michael@0 | 27 | %package devel |
michael@1 | 28 | Group: Development/Libraries |
michael@1 | 29 | Summary: Development files for schroedinger |
michael@1 | 30 | Vendor: Europalab Software |
michael@1 | 31 | Packager: Michael Schloh von Bennewitz |
michael@1 | 32 | Distribution: MeeGo Thirdparty |
michael@1 | 33 | Requires: %{name} = %{version}-%{release} |
michael@1 | 34 | Requires: orc-devel >= 0.4.10 |
michael@1 | 35 | Requires: pkgconfig |
michael@0 | 36 | |
michael@0 | 37 | %description devel |
michael@1 | 38 | The Schrödinger project will implement portable libraries for the high |
michael@1 | 39 | quality Dirac video codec created by BBC Research and |
michael@1 | 40 | Development. Dirac is a free and open source codec producing very high |
michael@1 | 41 | image quality video. |
michael@0 | 42 | |
michael@1 | 43 | This package provides the development files for schroedinger. |
michael@0 | 44 | |
michael@0 | 45 | %prep |
michael@0 | 46 | %setup -q |
michael@0 | 47 | |
michael@0 | 48 | %build |
michael@1 | 49 | bash |
michael@1 | 50 | %configure --enable-gtk-doc |
michael@0 | 51 | |
michael@0 | 52 | # remove rpath from libtool |
michael@0 | 53 | sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
michael@0 | 54 | sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
michael@0 | 55 | |
michael@0 | 56 | make %{?_smp_mflags} |
michael@0 | 57 | |
michael@0 | 58 | %install |
michael@0 | 59 | rm -rf %{buildroot} |
michael@0 | 60 | make install DESTDIR=%{buildroot} |
michael@0 | 61 | find %{buildroot} -name \*.la -delete |
michael@0 | 62 | |
michael@0 | 63 | %clean |
michael@0 | 64 | rm -rf %{buildroot} |
michael@0 | 65 | |
michael@0 | 66 | %post -p /sbin/ldconfig |
michael@0 | 67 | |
michael@0 | 68 | %postun -p /sbin/ldconfig |
michael@0 | 69 | |
michael@0 | 70 | %files |
michael@0 | 71 | %defattr(-,root,root,-) |
michael@0 | 72 | %doc COPYING* NEWS TODO |
michael@0 | 73 | %{_libdir}/libschroedinger-%{abi}.so.* |
michael@0 | 74 | |
michael@0 | 75 | %files devel |
michael@0 | 76 | %defattr(-,root,root,-) |
michael@0 | 77 | %doc %{_datadir}/gtk-doc/html/schroedinger |
michael@0 | 78 | %{_includedir}/schroedinger-%{abi} |
michael@1 | 79 | %{_libdir}/*.a |
michael@1 | 80 | %{_libdir}/*.la |
michael@0 | 81 | %{_libdir}/*.so |
michael@0 | 82 | %{_libdir}/pkgconfig/schroedinger-%{abi}.pc |
michael@0 | 83 | |
michael@0 | 84 | |
michael@0 | 85 | %changelog |
michael@1 | 86 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.0.10-20101201 |
michael@1 | 87 | - Synchronize with upstream vendor version 1.0.10 |
michael@1 | 88 | - Adjust packaging and patch logic |
michael@1 | 89 | |
michael@0 | 90 | * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.9-1 |
michael@1 | 91 | - Package for MeeGo 1.1 |