1 | %define projname mp4v2 |
---|
2 | |
---|
3 | Summary: Library for working with files using the mp4 container format |
---|
4 | Name: libmp4v2 |
---|
5 | Version: 1.9.1 |
---|
6 | Release: 6%{?_dist_release} |
---|
7 | License: MPLv1.1 |
---|
8 | Group: System Environment/Libraries |
---|
9 | #URL: http://resare.com/libmp4v2/ |
---|
10 | # Source0: http://resare.com/libmp4v2/dist/libmp4v2-%{version}.tar.bz2 |
---|
11 | # # Only here to be in the source package, "just in case, and FYI" |
---|
12 | # Source1: http://resare.com/libmp4v2/mklibmp4v2/mklibmp4v2-r51.tar.bz2 |
---|
13 | URL: http://code.google.com/p/mp4v2/ |
---|
14 | Source0: http://mp4v2.googlecode.com/files/%{projname}-%{version}.tar.bz2 |
---|
15 | |
---|
16 | Obsoletes: self-build-libmp4v2 |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: munepi |
---|
23 | |
---|
24 | %description |
---|
25 | The libmp4v2 library provides an abstraction layer for working with files |
---|
26 | using the mp4 container format. This library is developed by mpeg4ip project |
---|
27 | and is an exact copy of the library distributed in the mpeg4ip package. |
---|
28 | |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Development files for the mp4v2 library |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: %{name} = %{version}-%{release} |
---|
34 | |
---|
35 | %description devel |
---|
36 | Development files and documentation needed to develop and compile programs |
---|
37 | using the libmp4v2 library. |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q -n %{projname}-%{version} |
---|
42 | |
---|
43 | |
---|
44 | %build |
---|
45 | %configure \ |
---|
46 | --disable-static \ |
---|
47 | --disable-dependency-tracking \ |
---|
48 | --disable-gch \ |
---|
49 | ; |
---|
50 | %{__make} %{?_smp_mflags} |
---|
51 | |
---|
52 | |
---|
53 | %install |
---|
54 | %{__rm} -rf %{buildroot} |
---|
55 | %{__make} install DESTDIR=%{buildroot} |
---|
56 | |
---|
57 | # remove unpackaged files |
---|
58 | %{__rm} -rf %{buildroot}%{_mandir}/manm/ |
---|
59 | %{__rm} -f %{buildroot}%{_libdir}/*.{a,la} |
---|
60 | |
---|
61 | %clean |
---|
62 | %{__rm} -rf %{buildroot} |
---|
63 | |
---|
64 | |
---|
65 | %post -p /sbin/ldconfig |
---|
66 | |
---|
67 | %postun -p /sbin/ldconfig |
---|
68 | |
---|
69 | |
---|
70 | %files |
---|
71 | %defattr(-,root,root) |
---|
72 | %doc README COPYING |
---|
73 | %{_bindir}/* |
---|
74 | %{_libdir}/*.so.* |
---|
75 | %{_mandir}/man?/* |
---|
76 | |
---|
77 | %files devel |
---|
78 | %defattr(-,root,root) |
---|
79 | %{_includedir}/%{projname}/*.h |
---|
80 | %{_libdir}/*.so |
---|
81 | |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-6 |
---|
85 | - s/self-build-liblibmp4v2/self-build-libmp4v2/ |
---|
86 | |
---|
87 | * Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-5 |
---|
88 | - added Obsoletes: self-build-liblibmp4v2 |
---|
89 | - added Vendor, Distribution, Packager tags |
---|
90 | - fixed %%files |
---|
91 | |
---|
92 | * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-4 |
---|
93 | - change release to sync with self-build-libmp4v2 |
---|
94 | |
---|
95 | * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-3 |
---|
96 | - fixed the permission of /usr/include/mp4v2 to access it by group, others |
---|
97 | |
---|
98 | * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-2 |
---|
99 | - added --disable-gch in configure options |
---|
100 | |
---|
101 | * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-1 |
---|
102 | - new upstream release |
---|
103 | - changed URL: to http://code.google.com/p/mp4v2/ |
---|
104 | MP4v2 was originally bundled with mpeg4ip library, |
---|
105 | but has been moved into its own maintained library |
---|
106 | due to a combination of the cessation of support of mpeg4ip |
---|
107 | and the usefulness of this library on its own. |
---|
108 | |
---|
109 | * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-2 |
---|
110 | - change release to sync with self-build-libmp4v2 |
---|
111 | |
---|
112 | * Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-1 |
---|
113 | - initial build |
---|
114 | |
---|
115 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.1-6 |
---|
116 | - Autorebuild for GCC 4.3 |
---|
117 | |
---|
118 | * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-5 |
---|
119 | - Rebuild for new BuildID feature. |
---|
120 | |
---|
121 | * Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-4 |
---|
122 | - Update License field. |
---|
123 | |
---|
124 | * Fri Dec 15 2006 Matthias Saou <http://freshrpms.net/> 1.5.0.1-3 |
---|
125 | - Spec file cleanup (habits, mostly) preparing to submit for Extras inclusion. |
---|
126 | |
---|
127 | * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.5.0.1-2 |
---|
128 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
129 | |
---|
130 | * Tue Jul 18 2006 Noa Resare <noa@resare.com> 1.5.0.1-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Sat May 13 2006 Noa Resare <noa@resare.com> 1.4.1-3 |
---|
134 | - disabled static lib |
---|
135 | - use DESTDIR |
---|
136 | - disable-dependency-tracking for faster builds |
---|
137 | - removed a manpage template file apt.mpt.gz |
---|
138 | |
---|
139 | * Mon May 08 2006 Noa Resare <noa@resare.com> 1.4.1-2 |
---|
140 | - specfile cleanups |
---|
141 | |
---|
142 | * Fri May 05 2006 Noa Resare <noa@resare.com> 1.4.1-1.lvn5 |
---|
143 | - initial release |
---|
144 | |
---|