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.

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

mercurial