schroedinger/schroedinger.spec

changeset 0
4f133201e207
child 1
4667f24fe848
equal deleted inserted replaced
-1:000000000000 0:a61723944568
1 %define abi 1.0
2
3 Name: schroedinger
4 Version: 1.0.9
5 Release: 1%{?dist}
6 Summary: Portable libraries for the high quality Dirac video codec
7
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)
16
17 BuildRequires: orc-devel >= 0.4.3
18 BuildRequires: glew-devel >= 1.5.1
19 BuildRequires: gtk-doc
20
21
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.
27
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.
31
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
38
39 %description devel
40 Development files for schroedinger
41
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %build
48 %configure --disable-static --enable-gtk-doc
49
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
53
54 make %{?_smp_mflags}
55
56 %install
57 rm -rf %{buildroot}
58 make install DESTDIR=%{buildroot}
59 find %{buildroot} -name \*.la -delete
60
61 %clean
62 rm -rf %{buildroot}
63
64 %post -p /sbin/ldconfig
65
66 %postun -p /sbin/ldconfig
67
68 %files
69 %defattr(-,root,root,-)
70 %doc COPYING* NEWS TODO
71 %{_libdir}/libschroedinger-%{abi}.so.*
72
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
79
80
81 %changelog
82 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.9-1
83 - Build for MeeGo 1.1

mercurial