Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 6e4378292e2b49ccb2ccb3b21d724b40 > files > 2

ffms2-2.23-3.mga6.src.rpm

%define major		4
%define libname		%mklibname %{name}_ %{major}
%define develname	%mklibname %{name} -d

Name:		ffms2
Version:	2.23
Release:	%mkrel 3
Summary:	Wrapper library around libffmpeg
License:	MIT
Group:		System/Libraries
URL:		https://github.com/FFMS/ffms2/
Source0:	https://github.com/FFMS/%{name}/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires:	libtool
BuildRequires:	ffmpeg-devel
BuildRequires:	pkgconfig(zlib)

%description
FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform wrapper
library around libffmpeg, plus some additional components to deal with file
formats libavformat has (or used to have) problems with.

#---------------------------------------------------------------------------

%package -n	%{libname}
Summary:	Library for %{name}
Group:		System/Libraries

%description -n %{libname}
FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform wrapper
library around libffmpeg, plus some additional components to deal with file
formats libavformat has (or used to have) problems with.

#---------------------------------------------------------------------------

%package -n	%{develname}
Summary:	Development package for %{name}
Group:		Development/C++
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}

%description -n %{develname}
Header files for development with %{name}.

#---------------------------------------------------------------------------
%prep
%setup -q

sed -i 's/\r$//' COPYING

%build
%configure2_5x \
		--docdir=%{_docdir}/lib%{name}-devel \
		--enable-shared \
		--disable-static
%make_build

%install
%make_install

# we don't want these
find %{buildroot} -name '*.la' -delete

%files
%doc COPYING
%{_bindir}/ffmsindex

%files -n %{libname}
%{_libdir}/lib%{name}.so.%{major}
%{_libdir}/lib%{name}.so.%{major}.*

%files -n %{develname}
%{_includedir}/ffms*.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_docdir}/lib%{name}-devel


%changelog
* Tue May 02 2017 akien <akien> 2.23-3.mga6
+ Revision: 1098286
- Rebuild for ffmpeg 3.3

* Wed Mar 08 2017 akien <akien> 2.23-2.mga6
+ Revision: 1089853
- Rebuild for ffmpeg 3.2.4

* Sun Oct 23 2016 daviddavid <daviddavid> 2.23-1.mga6
+ Revision: 1063311
- new version: 2.23

* Sun Feb 14 2016 umeabot <umeabot> 2.22-2.mga6
+ Revision: 960078
- Mageia 6 Mass Rebuild

* Wed Oct 14 2015 daviddavid <daviddavid> 2.22-1.mga6
+ Revision: 891671
- new version: 2.22

* Sat Jun 20 2015 daviddavid <daviddavid> 2.21-1.mga6
+ Revision: 836918
- new version: 2.21
- now major is 4
- update Source url

* Fri Nov 14 2014 akien <akien> 2.20-4.mga5
+ Revision: 797137
- Rebuild for ffmpeg 2.4

* Wed Oct 15 2014 umeabot <umeabot> 2.20-3.mga5
+ Revision: 741440
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.20-2.mga5
+ Revision: 679173
- Mageia 5 Mass Rebuild

* Thu Jun 26 2014 daviddavid <daviddavid> 2.20-1.mga5
+ Revision: 640157
- new version: 2.20

* Mon Apr 07 2014 daviddavid <daviddavid> 2.19.1-1.mga5
+ Revision: 612656
- new version: 2.19.1

* Mon Apr 07 2014 daviddavid <daviddavid> 2.19-1.mga5
+ Revision: 612637
- imported package ffms2