4e3ea8
Name:           gavl
c02efd
Version:        1.4.0
36d0df
Release:        15%{?dist}
4e3ea8
Summary:        A library for handling uncompressed audio and video data
4e3ea8
4e3ea8
License:        GPLv3+
4e3ea8
URL:            http://gmerlin.sourceforge.net/
4e3ea8
Source0:        http://downloads.sourceforge.net/gmerlin/gavl-%{version}.tar.gz
375ecd
Patch1:         gavl-1.1.1-system_libgdither.patch
4e3ea8
4e3ea8
BuildRequires:  libtool
4e3ea8
4e3ea8
BuildRequires:  doxygen
4e3ea8
4e3ea8
BuildRequires:  libpng-devel >= 1.0.8
4e3ea8
BuildRequires:  libgdither-devel
4e3ea8
# Gavl use an internal tweaked libsamplerate version
4e3ea8
# ufortunately the libsamplerate doesn't want a patch 
4e3ea8
# that will break ABI
4e3ea8
#BuildRequires: libsamplerate-devel
4e3ea8
4e3ea8
4e3ea8
4e3ea8
%description
4e3ea8
Gavl is a library for handling and converting uncompressed audio and
4e3ea8
video data. It provides datatypes for audio/video formats and standardized
4e3ea8
structures to store the data. It supports converting between all formats.
4e3ea8
Some conversion functions are available in multiple versions (MMX...),
4e3ea8
which are selected by compile time configuration, CPU autodetection and
4e3ea8
user options.
4e3ea8
4e3ea8
4e3ea8
%package        devel
4e3ea8
Summary:        Development files for %{name}
4e3ea8
Requires:       %{name} = %{version}-%{release}
4e3ea8
Requires:       pkgconfig
4e3ea8
4e3ea8
%description    devel
4e3ea8
The %{name}-devel package contains libraries and header files for
4e3ea8
developing applications that use %{name}.
4e3ea8
4e3ea8
4e3ea8
%prep
4e3ea8
%setup -q
4e3ea8
%patch1 -p1 -b .gdither
4e3ea8
4e3ea8
#Disable buildtime cpu detection
4e3ea8
sed -i -i 's/LQT_TRY_CFLAGS/dnl LQT_TRY_CFLAGS/g' configure.ac
4e3ea8
sed -i -i 's/LQT_OPT_CFLAGS/dnl LQT_OPT_CFLAGS/g' configure.ac
4e3ea8
4e3ea8
#Regenerate build tool
4e3ea8
sh autogen.sh
4e3ea8
4e3ea8
375ecd
4e3ea8
%build
4e3ea8
%configure \
4e3ea8
  --disable-static \
4e3ea8
  --disable-cpu-clip \
4e3ea8
  --enable-libgdither
4e3ea8
4e3ea8
4e3ea8
make %{?_smp_mflags}
4e3ea8
4e3ea8
4e3ea8
%install
4e3ea8
rm -rf $RPM_BUILD_ROOT
4e3ea8
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
4e3ea8
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
4e3ea8
4e3ea8
# Prevent timestamps build difference
4e3ea8
touch -r include/gavl/gavl.h $RPM_BUILD_ROOT%{_includedir}/gavl/gavl_version.h
4e3ea8
4e3ea8
4e3ea8
46f50b
%ldconfig_scriptlets
4e3ea8
4e3ea8
4e3ea8
%files
4e3ea8
%doc AUTHORS COPYING README TODO
575e6c
%exclude %{_docdir}/gavl/apiref
4e3ea8
%{_libdir}/*.so.*
4e3ea8
4e3ea8
%files devel
4e3ea8
%doc %{_docdir}/gavl/apiref/
4e3ea8
%{_includedir}/gavl/
4e3ea8
%{_libdir}/*.so
4e3ea8
%{_libdir}/pkgconfig/gavl.pc
4e3ea8
4e3ea8
4e3ea8
%changelog
36d0df
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-15
36d0df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
36d0df
837bae
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-14
837bae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
837bae
f10cb0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-13
f10cb0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f10cb0
1630cd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-12
1630cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1630cd
943a0a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-11
943a0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
943a0a
b75ba8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-10
b75ba8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b75ba8
97de4d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-9
97de4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
97de4d
cbfa40
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
cbfa40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cbfa40
c7f012
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-7
c7f012
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c7f012
86110e
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
86110e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
86110e
3d9fef
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
3d9fef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3d9fef
575e6c
* Mon Oct 07 2013 Nicolas Chauvet <kwizart@gmail.com> - 1.4.0-4
575e6c
- Fix apiref bundled as %%doc in main - rhbz#1014820
575e6c
d5a5f0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
d5a5f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d5a5f0
a683e4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
a683e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a683e4
c02efd
* Sat Sep 08 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.4.0-1
c02efd
- Update to 1.4.0
c02efd
a9281e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
a9281e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a9281e
efcdca
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
efcdca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
efcdca
f39187
* Sat Mar 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.2.0-1
f39187
- update to 1.2.0
f39187
53803e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
53803e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
53803e
4cb5e8
* Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.2-1
4cb5e8
- Update to 1.1.2
4cb5e8
a60e98
* Tue Oct 27 2009 kwizart < kwizart at gmail.com > - 1.1.1-1
a60e98
- Update to 1.1.1
a60e98
ad0d67
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
ad0d67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ad0d67
4e3ea8
* Tue Mar 24 2009 kwizart < kwizart at gmail.com > - 1.1.0-1
4e3ea8
- Update to 1.1.0
4e3ea8
- Disable buildtime CPU detection.
4e3ea8
4e3ea8
* Tue Jul 29 2008 kwizart < kwizart at gmail.com > - 1.0.1-1
4e3ea8
- Update to 1.0.1
4e3ea8
4e3ea8
* Tue Jul 22 2008 kwizart < kwizart at gmail.com > - 1.0.0-2
4e3ea8
- Add --enable-libgdither for system libgdither
4e3ea8
- Add --enable-debug to disable LQT_OPT_CFLAGS
4e3ea8
- Add -DHAVE_GAVLCONFIG_H to include gavlconfig.h when needed
4e3ea8
4e3ea8
* Mon May 19 2008 kwizart < kwizart at gmail.com > - 1.0.0-1
4e3ea8
- Update to 1.0.0 api stable
4e3ea8
4e3ea8
* Mon May 19 2008 kwizart < kwizart at gmail.com > - 0.2.7-4
4e3ea8
- Initial package for Fedora