schroedinger/schroedinger.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

michael@0 1 %define abi 1.0
michael@0 2
michael@0 3 Name: schroedinger
michael@0 4 Version: 1.0.9
michael@0 5 Release: 1%{?dist}
michael@0 6 Summary: Portable libraries for the high quality Dirac video codec
michael@0 7
michael@0 8 Group: System Environment/Libraries
michael@0 9 # No version is given for the GPL or the LGPL
michael@0 10 License: GPL+ or LGPLv2+ or MIT or MPLv1.1
michael@0 11 URL: http://www.diracvideo.org/
michael@0 12 Source0: http://www.diracvideo.org/download/schroedinger/schroedinger-%{version}.tar.gz
michael@0 13 # Issue is known upstream, fixed in git and so fixed in NEXT_RELEASE
michael@0 14 Patch0: %{name}-no-testsuite.patch
michael@0 15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
michael@0 16
michael@0 17 BuildRequires: orc-devel >= 0.4.3
michael@0 18 BuildRequires: glew-devel >= 1.5.1
michael@0 19 BuildRequires: gtk-doc
michael@0 20
michael@0 21
michael@0 22 %description
michael@0 23 The Schrödinger project will implement portable libraries for the high
michael@0 24 quality Dirac video codec created by BBC Research and
michael@0 25 Development. Dirac is a free and open source codec producing very high
michael@0 26 image quality video.
michael@0 27
michael@0 28 The Schrödinger project is a project done by BBC R&D and Fluendo in
michael@0 29 order to create a set of high quality decoder and encoder libraries
michael@0 30 for the Dirac video codec.
michael@0 31
michael@0 32 %package devel
michael@0 33 Group: Development/Libraries
michael@0 34 Summary: Development files for schroedinger
michael@0 35 Requires: %{name} = %{version}-%{release}
michael@0 36 Requires: pkgconfig
michael@0 37 Requires: orc-devel >= 0.4.3
michael@0 38
michael@0 39 %description devel
michael@0 40 Development files for schroedinger
michael@0 41
michael@0 42
michael@0 43 %prep
michael@0 44 %setup -q
michael@0 45 %patch0 -p1
michael@0 46
michael@0 47 %build
michael@0 48 %configure --disable-static --enable-gtk-doc
michael@0 49
michael@0 50 # remove rpath from libtool
michael@0 51 sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
michael@0 52 sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
michael@0 53
michael@0 54 make %{?_smp_mflags}
michael@0 55
michael@0 56 %install
michael@0 57 rm -rf %{buildroot}
michael@0 58 make install DESTDIR=%{buildroot}
michael@0 59 find %{buildroot} -name \*.la -delete
michael@0 60
michael@0 61 %clean
michael@0 62 rm -rf %{buildroot}
michael@0 63
michael@0 64 %post -p /sbin/ldconfig
michael@0 65
michael@0 66 %postun -p /sbin/ldconfig
michael@0 67
michael@0 68 %files
michael@0 69 %defattr(-,root,root,-)
michael@0 70 %doc COPYING* NEWS TODO
michael@0 71 %{_libdir}/libschroedinger-%{abi}.so.*
michael@0 72
michael@0 73 %files devel
michael@0 74 %defattr(-,root,root,-)
michael@0 75 %doc %{_datadir}/gtk-doc/html/schroedinger
michael@0 76 %{_includedir}/schroedinger-%{abi}
michael@0 77 %{_libdir}/*.so
michael@0 78 %{_libdir}/pkgconfig/schroedinger-%{abi}.pc
michael@0 79
michael@0 80
michael@0 81 %changelog
michael@0 82 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.9-1
michael@0 83 - Build for MeeGo 1.1

mercurial