libdvdread/libdvdread.spec

changeset 1
4667f24fe848
parent 0
4f133201e207
equal deleted inserted replaced
0:9ba39e1742f8 1:da75a599f08f
1 Name: libdvdread 1 Name: libdvdread
2 Version: 4.1.4
3 Release: 1.4
4 Summary: A library for reading DVD video discs based on Ogle code 2 Summary: A library for reading DVD video discs based on Ogle code
5 3 Vendor: Europalab Software
4 Packager: Michael Schloh von Bennewitz
5 Distribution: MeeGo Thirdparty
6 Version: 4.1.3
7 Release: 20101201
6 Group: System Environment/Libraries 8 Group: System Environment/Libraries
7 License: GPLv2+ 9 License: GPLv2+
8 #Source: http://www.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdread-%{version}.tar.bz2 10 URL: http://www.dtek.chalmers.se/groups/dvd/
9 # svn export svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread 11 Source0: http://www.mplayerhq.hu/MPlayer/releases/dvdnav/%{name}-%{version}.tar.bz2
10 Source: %{name}-svn1188.tar.bz2 12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12 # fix endianness issues on bigendian platforms
13 Patch0: %{name}-endian.patch
14 # dvdread-config: use pkg-config instead of hard-coded
15 # multilib-conflicting values
16 Patch1: %{name}-multilib.patch
17 13
18 %description 14 %description
19 libdvdread provides a simple foundation for reading DVD video disks. 15 libdvdread provides a simple foundation for reading DVD video disks.
20 It provides the functionality that is required to access many DVDs. 16 It provides the functionality that is required to access many DVDs.
21 17
22 %package devel 18 %package devel
23 Summary: Development files for libdvdread 19 Summary: Development files for libdvdread
20 Vendor: Europalab Software
21 Packager: Michael Schloh von Bennewitz
22 Distribution: MeeGo Thirdparty
24 Group: Development/Libraries 23 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release} 24 Requires: %{name} = %{version}-%{release}
26 Requires: pkgconfig 25 Requires: pkgconfig
27 26
28 %description devel 27 %description devel
29 libdvdread provides a simple foundation for reading DVD video disks. 28 libdvdread provides a simple foundation for reading DVD video disks.
30 It provides the functionality that is required to access many DVDs. 29 It provides the functionality that is required to access many DVDs.
31
32 This package contains development files for libdvdread. 30 This package contains development files for libdvdread.
33 31
34 %prep 32 %prep
35 %setup -q 33 %setup -q
36 %patch0 -p1 -b .endian 34 mv configure2 configure
37 %patch1 -p1 -b .multilib
38 35
39 %build 36 %build
40 ./configure2 \ 37 %configure \
41 --disable-opts \ 38 --disable-static
42 --disable-static \
43 --disable-strip \
44 --extra-cflags="%{optflags}" \
45 --libdir=%{_libdir} \
46 --prefix=%{_prefix} \
47 --shlibdir=%{_libdir} \
48 39
49 %{__make} %{?_smp_mflags} 40 %{__make} %{?_smp_mflags}
50 41
51 %install 42 %install
52 %{__rm} -rf %{buildroot} 43 %{__rm} -rf %{buildroot}
71 %{_includedir}/dvdread 62 %{_includedir}/dvdread
72 %{_libdir}/libdvdread.so 63 %{_libdir}/libdvdread.so
73 %{_libdir}/pkgconfig/dvdread.pc 64 %{_libdir}/pkgconfig/dvdread.pc
74 65
75 %changelog 66 %changelog
67 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 4.1.3-20101201
68 - Adjust packaging
69
76 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 4.1.4-0.3.svn1188 70 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 4.1.4-0.3.svn1188
77 - Build for MeeGo 1.1 71 - Build for MeeGo 1.1
78 72
79 * Sat Dec 12 2009 Dominik Mierzejewski <rpm@greysector.net> 4.1.4-0.2.svn1188 73 * Sat Dec 12 2009 Dominik Mierzejewski <rpm@greysector.net> 4.1.4-0.2.svn1188
80 - updated to SVN r1188 (rhbz#540155) 74 - updated to SVN r1188 (rhbz#540155)

mercurial