|
|
b0a55b |
Name: gavl
|
|
|
b0a55b |
Version: 1.4.0
|
|
|
b0a55b |
Release: 4%{?dist}
|
|
|
b0a55b |
Summary: A library for handling uncompressed audio and video data
|
|
|
b0a55b |
|
|
|
b0a55b |
Group: System Environment/Libraries
|
|
|
b0a55b |
License: GPLv3+
|
|
|
b0a55b |
URL: http://gmerlin.sourceforge.net/
|
|
|
b0a55b |
Source0: http://downloads.sourceforge.net/gmerlin/gavl-%{version}.tar.gz
|
|
|
b0a55b |
Patch1: gavl-1.1.1-system_libgdither.patch
|
|
|
b0a55b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b0a55b |
|
|
|
b0a55b |
BuildRequires: libtool
|
|
|
b0a55b |
|
|
|
b0a55b |
BuildRequires: doxygen
|
|
|
b0a55b |
|
|
|
b0a55b |
BuildRequires: libpng-devel >= 1.0.8
|
|
|
b0a55b |
BuildRequires: libgdither-devel
|
|
|
b0a55b |
# Gavl use an internal tweaked libsamplerate version
|
|
|
b0a55b |
# ufortunately the libsamplerate doesn't want a patch
|
|
|
b0a55b |
# that will break ABI
|
|
|
b0a55b |
#BuildRequires: libsamplerate-devel
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%description
|
|
|
b0a55b |
Gavl is a library for handling and converting uncompressed audio and
|
|
|
b0a55b |
video data. It provides datatypes for audio/video formats and standardized
|
|
|
b0a55b |
structures to store the data. It supports converting between all formats.
|
|
|
b0a55b |
Some conversion functions are available in multiple versions (MMX...),
|
|
|
b0a55b |
which are selected by compile time configuration, CPU autodetection and
|
|
|
b0a55b |
user options.
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%package devel
|
|
|
b0a55b |
Summary: Development files for %{name}
|
|
|
b0a55b |
Group: Development/Libraries
|
|
|
b0a55b |
Requires: %{name} = %{version}-%{release}
|
|
|
b0a55b |
Requires: pkgconfig
|
|
|
b0a55b |
|
|
|
b0a55b |
%description devel
|
|
|
b0a55b |
The %{name}-devel package contains libraries and header files for
|
|
|
b0a55b |
developing applications that use %{name}.
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%prep
|
|
|
b0a55b |
%setup -q
|
|
|
b0a55b |
%patch1 -p1 -b .gdither
|
|
|
b0a55b |
|
|
|
b0a55b |
#Disable buildtime cpu detection
|
|
|
b0a55b |
sed -i -i 's/LQT_TRY_CFLAGS/dnl LQT_TRY_CFLAGS/g' configure.ac
|
|
|
b0a55b |
sed -i -i 's/LQT_OPT_CFLAGS/dnl LQT_OPT_CFLAGS/g' configure.ac
|
|
|
b0a55b |
|
|
|
b0a55b |
#Regenerate build tool
|
|
|
b0a55b |
sh autogen.sh
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%build
|
|
|
b0a55b |
%configure \
|
|
|
b0a55b |
--disable-static \
|
|
|
b0a55b |
--disable-cpu-clip \
|
|
|
b0a55b |
--enable-libgdither
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
make %{?_smp_mflags}
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%install
|
|
|
b0a55b |
rm -rf $RPM_BUILD_ROOT
|
|
|
b0a55b |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
b0a55b |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
b0a55b |
|
|
|
b0a55b |
# Prevent timestamps build difference
|
|
|
b0a55b |
touch -r include/gavl/gavl.h $RPM_BUILD_ROOT%{_includedir}/gavl/gavl_version.h
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%clean
|
|
|
b0a55b |
rm -rf $RPM_BUILD_ROOT
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%post -p /sbin/ldconfig
|
|
|
b0a55b |
|
|
|
b0a55b |
%postun -p /sbin/ldconfig
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%files
|
|
|
b0a55b |
%defattr(-,root,root,-)
|
|
|
b0a55b |
%doc AUTHORS COPYING README TODO
|
|
|
b0a55b |
%{_libdir}/*.so.*
|
|
|
b0a55b |
|
|
|
b0a55b |
%files devel
|
|
|
b0a55b |
%defattr(-,root,root,-)
|
|
|
b0a55b |
%doc %{_docdir}/gavl/apiref/
|
|
|
b0a55b |
%{_includedir}/gavl/
|
|
|
b0a55b |
%{_libdir}/*.so
|
|
|
b0a55b |
%{_libdir}/pkgconfig/gavl.pc
|
|
|
b0a55b |
|
|
|
b0a55b |
|
|
|
b0a55b |
%changelog
|
|
|
b0a55b |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.0-4
|
|
|
b0a55b |
- Mass rebuild 2014-01-24
|
|
|
b0a55b |
|
|
|
b0a55b |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.0-3
|
|
|
b0a55b |
- Mass rebuild 2013-12-27
|
|
|
b0a55b |
|
|
|
b0a55b |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
|
|
|
b0a55b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b0a55b |
|
|
|
b0a55b |
* Sat Sep 08 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.4.0-1
|
|
|
b0a55b |
- Update to 1.4.0
|
|
|
b0a55b |
|
|
|
b0a55b |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
b0a55b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b0a55b |
|
|
|
b0a55b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
b0a55b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b0a55b |
|
|
|
b0a55b |
* Sat Mar 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.2.0-1
|
|
|
b0a55b |
- update to 1.2.0
|
|
|
b0a55b |
|
|
|
b0a55b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
b0a55b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b0a55b |
|
|
|
b0a55b |
* Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.2-1
|
|
|
b0a55b |
- Update to 1.1.2
|
|
|
b0a55b |
|
|
|
b0a55b |
* Tue Oct 27 2009 kwizart < kwizart at gmail.com > - 1.1.1-1
|
|
|
b0a55b |
- Update to 1.1.1
|
|
|
b0a55b |
|
|
|
b0a55b |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
b0a55b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b0a55b |
|
|
|
b0a55b |
* Tue Mar 24 2009 kwizart < kwizart at gmail.com > - 1.1.0-1
|
|
|
b0a55b |
- Update to 1.1.0
|
|
|
b0a55b |
- Disable buildtime CPU detection.
|
|
|
b0a55b |
|
|
|
b0a55b |
* Tue Jul 29 2008 kwizart < kwizart at gmail.com > - 1.0.1-1
|
|
|
b0a55b |
- Update to 1.0.1
|
|
|
b0a55b |
|
|
|
b0a55b |
* Tue Jul 22 2008 kwizart < kwizart at gmail.com > - 1.0.0-2
|
|
|
b0a55b |
- Add --enable-libgdither for system libgdither
|
|
|
b0a55b |
- Add --enable-debug to disable LQT_OPT_CFLAGS
|
|
|
b0a55b |
- Add -DHAVE_GAVLCONFIG_H to include gavlconfig.h when needed
|
|
|
b0a55b |
|
|
|
b0a55b |
* Mon May 19 2008 kwizart < kwizart at gmail.com > - 1.0.0-1
|
|
|
b0a55b |
- Update to 1.0.0 api stable
|
|
|
b0a55b |
|
|
|
b0a55b |
* Mon May 19 2008 kwizart < kwizart at gmail.com > - 0.2.7-4
|
|
|
b0a55b |
- Initial package for Fedora
|