source: projects/specs/trunk/g/gavl/gavl-vl.spec @ 10587

Revision 10587, 5.2 KB checked in by tomop, 8 years ago (diff)

mlt-6.2.0-3

Line 
1%bcond_with system_libgdither
2
3Name:           gavl
4Version:        1.4.0
5Release:        9%{?_dist_release}
6Summary:        A library for handling uncompressed audio and video data
7
8Group:          System Environment/Libraries
9License:        GPLv3+
10URL:            http://gmerlin.sourceforge.net/
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
14
15Source0:        http://downloads.sourceforge.net/gmerlin/gavl-%{version}.tar.gz
16Patch1:         gavl-1.1.1-system_libgdither.patch
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18
19BuildRequires:  libtool
20
21BuildRequires:  doxygen
22
23BuildRequires:  libpng-devel >= 1.0.8
24%if %{with system_libgdither}
25BuildRequires:  libgdither-devel
26%endif
27# Gavl use an internal tweaked libsamplerate version
28# ufortunately the libsamplerate doesn't want a patch
29# that will break ABI
30#BuildRequires: libsamplerate-devel
31
32
33
34%description
35Gavl is a library for handling and converting uncompressed audio and
36video data. It provides datatypes for audio/video formats and standardized
37structures to store the data. It supports converting between all formats.
38Some conversion functions are available in multiple versions (MMX...),
39which are selected by compile time configuration, CPU autodetection and
40user options.
41
42
43%package        devel
44Summary:        Development files for %{name}
45Group:          Development/Libraries
46Requires:       %{name} = %{version}-%{release}
47Requires:       pkgconfig
48
49%description    devel
50The %{name}-devel package contains libraries and header files for
51developing applications that use %{name}.
52
53
54%prep
55%setup -q
56%if %{with system_libgdither}
57%patch1 -p1 -b .gdither
58%endif
59
60#Disable buildtime cpu detection
61sed -i -i 's/LQT_TRY_CFLAGS/dnl LQT_TRY_CFLAGS/g' configure.ac
62sed -i -i 's/LQT_OPT_CFLAGS/dnl LQT_OPT_CFLAGS/g' configure.ac
63
64#Regenerate build tool
65sh autogen.sh
66
67
68
69%build
70%configure \
71  --disable-static \
72  --disable-cpu-clip \
73  --enable-libgdither
74
75
76make %{?_smp_mflags}
77
78
79%install
80rm -rf $RPM_BUILD_ROOT
81make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
82find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
83
84# Prevent timestamps build difference
85touch -r include/gavl/gavl.h $RPM_BUILD_ROOT%{_includedir}/gavl/gavl_version.h
86
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91
92%post
93/sbin/ldconfig
94
95%postun
96/sbin/ldconfig
97
98
99%files
100%defattr(-,root,root,-)
101%doc AUTHORS COPYING README TODO
102%exclude %{_docdir}/gavl/apiref
103%{_libdir}/*.so.*
104
105%files devel
106%defattr(-,root,root,-)
107%doc %{_docdir}/gavl/apiref/
108%{_includedir}/gavl/
109%{_libdir}/*.so
110%{_libdir}/pkgconfig/gavl.pc
111
112
113%changelog
114* Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-9
115- initial build for Vine Linux.
116
117* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
118- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
119
120* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-7
121- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
122
123* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
124- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
125
126* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
127- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
128
129* Mon Oct 07 2013 Nicolas Chauvet <kwizart@gmail.com> - 1.4.0-4
130- Fix apiref bundled as %%doc in main - rhbz#1014820
131
132* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
133- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
134
135* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
136- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
137
138* Sat Sep 08 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.4.0-1
139- Update to 1.4.0
140
141* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
142- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
143
144* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
145- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
146
147* Sat Mar 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.2.0-1
148- update to 1.2.0
149
150* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
151- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
152
153* Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.2-1
154- Update to 1.1.2
155
156* Tue Oct 27 2009 kwizart < kwizart at gmail.com > - 1.1.1-1
157- Update to 1.1.1
158
159* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
160- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
161
162* Tue Mar 24 2009 kwizart < kwizart at gmail.com > - 1.1.0-1
163- Update to 1.1.0
164- Disable buildtime CPU detection.
165
166* Tue Jul 29 2008 kwizart < kwizart at gmail.com > - 1.0.1-1
167- Update to 1.0.1
168
169* Tue Jul 22 2008 kwizart < kwizart at gmail.com > - 1.0.0-2
170- Add --enable-libgdither for system libgdither
171- Add --enable-debug to disable LQT_OPT_CFLAGS
172- Add -DHAVE_GAVLCONFIG_H to include gavlconfig.h when needed
173
174* Mon May 19 2008 kwizart < kwizart at gmail.com > - 1.0.0-1
175- Update to 1.0.0 api stable
176
177* Mon May 19 2008 kwizart < kwizart at gmail.com > - 0.2.7-4
178- Initial package for Fedora
Note: See TracBrowser for help on using the repository browser.