Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > a287f84969117538e0c7da15c68d789b > files > 2

gavl-1.0.0-5mdv2009.0.src.rpm

%define name	gavl
%define version	1.0.0
%define release %mkrel 5

%define major	0
%define libname %mklibname %name %major
%define develname %mklibname -d %name

Name: 	 	%{name}
Summary: 	Gmerlin Audio Video Library
Version: 	%{version}
Release: 	%{release}
Source:		http://prdownloads.sourceforge.net/gmerlin/%{name}-%{version}.tar.gz
URL:		http://gmerlin.sourceforge.net/
License:	GPLv2+
Group:		System/Libraries
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	pkgconfig 
BuildRequires:  libsamplerate-devel
BuildRequires:  png-devel
BuildRequires:	doxygen

%description
GAVL is short for Gmerlin Audio Video Library. It standardized types audio
and video formats, and defines generic container types for video frames and
blocks of audio samples.

In addition, it handles the sometimes ugly task to convert between all these
formats. The idea is to be able to convert from any format to any other with
the lowest possible CPU usage. 

%package -n     %{libname}
Summary:        Dynamic libraries from %name
Group:          System/Libraries

%description -n %{libname}
Dynamic libraries from %name.

%package -n     %{develname}
Summary:        Header files and static libraries from %name
Group:          Development/C
Requires:       %{libname} >= %{version}
Provides:       lib%{name}-devel = %{version}-%{release}
Provides:       %{name}-devel = %{version}-%{release}
Obsoletes:      %{name}-devel < %{version}-%{release}
Obsoletes:	%mklibname gavl 0 -d

%description -n %{develname}
Libraries and includes files for developing programs based on %name.

%prep
%setup -q

%build
%configure2_5x
%make
										
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

%if %mdkversion < 200900
%post -n %{libname} -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %{libname} -p /sbin/ldconfig
%endif

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/*.so.%{major}*

%files -n %{develname}
%defattr(-,root,root)
%doc AUTHORS TODO README
%doc %_datadir/doc/gavl/apiref
%{_libdir}/pkgconfig/*
%{_includedir}/gavl
%{_prefix}/lib/gavl/include/gavlconfig.h
%{_libdir}/*.so
%{_libdir}/*.la


%changelog
* Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0.0-5mdv2009.0
+ Revision: 266837
- rebuild early 2009.0 package (before pixel changes)

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Fri May 30 2008 Funda Wang <fundawang@mandriva.org> 1.0.0-4mdv2009.0
+ Revision: 213354
- put the header file into its original location

* Fri May 30 2008 Funda Wang <fundawang@mandriva.org> 1.0.0-3mdv2009.0
+ Revision: 213345
- move config.h into correct dir
- obsoletes old devel name

* Fri May 30 2008 Funda Wang <fundawang@mandriva.org> 1.0.0-1mdv2009.0
+ Revision: 213314
- New version 1.0.0

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.2.5-2mdv2008.1
+ Revision: 136426
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Tue Sep 18 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.5-2mdv2008.0
+ Revision: 89661
- rebuild


* Thu Mar 15 2007 Austin Acton <austin@mandriva.org> 0.2.5-1mdv2007.1
+ Revision: 144176
- new release
- Import gavl

* Sat Mar 04 2006 Austin Acton <austin@mandriva.org> 0.2.3-1mdk
- New release 0.2.3

* Sat Oct 08 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.2.2-2mdk
- Fix BuildRequires
- %%mkrel

* Mon Jun 06 2005 Austin Acton <austin@mandriva.org> 0.2.2-1mdk
- 0.2.2

* Mon Jan 17 2005 Austin Acton <austin@mandrake.org> 0.2.1-1mdk
- initial package