source: projects/specs/trunk/nonfree/self-build-libmp4v2/libmp4v2-vl.spec @ 615

Revision 615, 3.7 KB checked in by munepi, 14 years ago (diff)

added many self-build-* specs

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