Fri, 11 Mar 2011 21:36:51 +0100
Adjust specification build configurations to port packages to MeeGo.
1 Name: libdvdnav
2 Summary: A library for reading DVD video discs based on Ogle code
3 Vendor: Europalab Software
4 Packager: Michael Schloh von Bennewitz
5 Distribution: MeeGo Thirdparty
6 Version: 4.1.3
7 Release: 20101201
8 Group: System Environment/Libraries
9 License: GPLv2+
10 URL: http://dvd.sourceforge.net/
11 Source0: http://www.mplayerhq.hu/MPlayer/releases/dvdnav/%{name}-%{version}.tar.bz2
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13 BuildRequires: libdvdread-devel
15 %description
16 libdvdnav is a library for developers of multimedia applications. It
17 allows easy use of sophisticated DVD navigation features such as DVD
18 menus, multiangle playback and even interactive DVD games.
20 %package devel
21 Summary: Development files for libdvdnav
22 Vendor: Europalab Software
23 Packager: Michael Schloh von Bennewitz
24 Distribution: MeeGo Thirdparty
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: pkgconfig
29 %description devel
30 libdvdnav is a library for developers of multimedia applications. It
31 allows easy use of sophisticated DVD navigation features such as DVD
32 menus, multiangle playback and even interactive DVD games. This package
33 contains development files for libdvdnav.
35 %prep
36 %setup -q
37 mv configure2 configure
39 %build
40 %configure --disable-static
42 %{__make} %{?_smp_mflags}
44 %install
45 %{__rm} -rf %{buildroot}
46 %{__make} install DESTDIR=%{buildroot}
48 %clean
49 rm -rf %{buildroot}
51 %post -p /sbin/ldconfig
53 %postun -p /sbin/ldconfig
55 %files
56 %defattr(-,root,root,-)
57 %doc AUTHORS COPYING ChangeLog README
58 %{_libdir}/libdvdnav.so.*
59 %{_libdir}/libdvdnavmini.so.*
61 %files devel
62 %defattr(-,root,root,-)
63 %doc DEVELOPMENT-POLICY.txt TODO
64 %{_bindir}/dvdnav-config
65 %{_includedir}/dvdnav
66 %{_libdir}/libdvdnav.so
67 %{_libdir}/libdvdnavmini.so
68 %{_libdir}/pkgconfig/dvdnav.pc
69 %{_libdir}/pkgconfig/dvdnavmini.pc
71 %changelog
72 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 4.1.3-20101201
73 - Package for MeeGo 1.1