/[packages]/cauldron/libdvdread/current/SPECS/libdvdread.spec
ViewVC logotype

Annotation of /cauldron/libdvdread/current/SPECS/libdvdread.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31656 - (hide annotations) (download)
Sat Jan 22 08:03:38 2011 UTC (11 years, 8 months ago) by dmorgan
File size: 1885 byte(s)
imported package libdvdread
1 dmorgan 31656 %define major 4
2     %define libname %mklibname dvdread %{major}
3     %define develname %mklibname dvdread -d
4    
5     Summary: Library to read DVD images
6     Name: libdvdread
7     Version: 4.1.3
8     Release: %mkrel 6
9     License: GPLv2+
10     Group: System/Libraries
11     URL: http://www.mplayerhq.hu/
12     Source0: http://www.mplayerhq.hu/MPlayer/releases/dvdnav/%{name}-%{version}.tar.bz2
13     Patch0: libdvdread-4.1.3-backward-compatibility.patch
14     Patch1: libdvdread-4.1.3-m4.patch
15     BuildRoot: %{_tmppath}/%{name}-buildroot
16    
17     %description
18     libdvdread provides a simple foundation for reading DVD-Video images.
19    
20     %package -n %{libname}
21     Summary: Library to read DVD images
22     Group: System/Libraries
23    
24     %description -n %{libname}
25     Libdvdread provides a simple foundation for reading DVD-Video images.
26     This package contains the shared library to run applications utilizing
27     libdvdread.
28    
29     %package -n %{develname}
30     Summary: Libdvdread library headers
31     Group: Development/C
32     Requires: %{libname} = %{version}
33     Provides: %{name}-devel = %{version}-%{release}
34     Obsoletes: %{mklibname dvdread 3 -d}
35    
36     %description -n %{develname}
37     This is the libraries, include files and other resources you can use
38     to incorporate libdvdread into applications.
39    
40     %prep
41    
42     %setup -q -n %name-%version
43     %apply_patches
44     ./autogen.sh
45    
46     %build
47     %configure2_5x
48     %make
49    
50     %install
51     rm -rf %{buildroot}
52    
53     %makeinstall_std
54     mkdir -p %{buildroot}/%{_bindir}
55     %multiarch_binaries %{buildroot}%{_bindir}/dvdread-config
56    
57     %clean
58     rm -rf %{buildroot}
59    
60     %files -n %{libname}
61     %defattr(644,root,root,755)
62     %doc README AUTHORS TODO
63     %attr(755,root,root) %{_libdir}/lib*.so.%{major}*
64    
65     %files -n %{develname}
66     %defattr(644,root,root,755)
67     %{_includedir}/dvdread
68     %attr(755,root,root) %{_libdir}/lib*.so
69     %attr(755,root,root) %{_libdir}/lib*.la
70     %_datadir/aclocal/dvdread.m4
71     %_libdir/pkgconfig/dvdread.pc
72     %attr(755,root,root) %_bindir/dvdread-config
73     %attr(755,root,root) %{_bindir}/*/dvdread-config
74    
75    

  ViewVC Help
Powered by ViewVC 1.1.28