]> git.pld-linux.org Git - packages/mp4v2.git/blob - mp4v2.spec
d554502465f314fbad7e47808ae7cc881d6fece6
[packages/mp4v2.git] / mp4v2.spec
1 # TODO
2 # - drop mp4v2 lib/progs from mpeg4ip
3 Summary:        MP4v2 library provides API for creation and modification of MP4 files
4 Name:           mp4v2
5 Version:        1.9.1
6 Release:        2
7 License:        MPL v1.1
8 Group:          Applications/Multimedia
9 Source0:        http://mp4v2.googlecode.com/files/%{name}-%{version}.tar.bz2
10 # Source0-md5:  986701929ef15b03155ac4fb16444797
11 URL:            http://code.google.com/p/mp4v2/
12 BuildRequires:  libstdc++-devel
13 Requires:       %{name}-libs = %{version}-%{release}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The MP4v2 library provides an API to create and modify MP4 files as
18 defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is
19 derived from Apple's QuickTime file format that has been used as a
20 multimedia file format in a variety of platforms and applications. It
21 is a very powerful and extensible format that can accomodate
22 practically any type of media.
23
24 %package libs
25 Summary:        Header files for MP4v2
26 Group:          Libraries
27 Conflicts:      mp4v2 < 1.9.1-2
28
29 %description libs
30 The libmp4v2 library provides an abstraction layer for working with
31 files using the mp4 container format.
32
33 %package devel
34 Summary:        Header files for MP4v2
35 Group:          Development/Libraries
36 Requires:       %{name}-libs = %{version}-%{release}
37
38 %description devel
39 Header files for MP4v2.
40
41 %package static
42 Summary:        Static MP4v2 library
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 This package contains static version of MP4v2.
48
49 %prep
50 %setup -q
51
52 %build
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   libs -p /sbin/ldconfig
66 %postun libs -p /sbin/ldconfig
67
68 %files
69 %defattr(644,root,root,755)
70 %doc doc/*.txt
71 %attr(755,root,root) %{_bindir}/mp4track
72 %attr(755,root,root) %{_bindir}/mp4extract
73 %attr(755,root,root) %{_bindir}/mp4trackdump
74 %attr(755,root,root) %{_bindir}/mp4art
75 %attr(755,root,root) %{_bindir}/mp4tags
76 %attr(755,root,root) %{_bindir}/mp4subtitle
77 %attr(755,root,root) %{_bindir}/mp4chaps
78 %attr(755,root,root) %{_bindir}/mp4info
79 %attr(755,root,root) %{_bindir}/mp4file
80 %{_mandir}/man1/mp4art.1*
81 %{_mandir}/man1/mp4file.1*
82 %{_mandir}/man1/mp4subtitle.1*
83 %{_mandir}/man1/mp4track.1*
84
85 %files libs
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libmp4v2.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libmp4v2.so.1
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libmp4v2.so
93 %{_libdir}/libmp4v2.la
94 %{_includedir}/mp4v2
95
96 %files static
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libmp4v2.a
This page took 0.10903 seconds and 2 git commands to generate.