Blame SPECS/gavl.spec

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