libdvdnav/libdvdnav.spec

Fri, 11 Mar 2011 21:36:51 +0100

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

Adjust specification build configurations to port packages to MeeGo.

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

mercurial