libdvbpsi/libdvbpsi.spec

Name: libdvbpsi
Summary: Library for decoding and generating MPEG TS and DVB PSI tables
Version: 0.1.7
Release: 1
License: GPLv2
Group: System Environment/Libraries
URL: http://developers.videolan.org/libdvbpsi/
Description: The libdvbpsi is part of the VideoLAN project, a full MPEG2 client/server solution. The libdvbpsi can also be used with extra programs that need DVB and PSI decoders and generators.

The VideoLAN team decided to write the libdvbpsi to make the VideoLAN Client and the VideoLAN Server capable of demultiplexing a satellite DVB stream. The library aims at making it easy to decode PSI tables (such as PAT, PMT etc.) present in a TS/DVB stream.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: yury
# Upstream: <libdvbpsi-devel$videolan,org>

Summary: Library for decoding and generating MPEG TS and DVB PSI tables
Name: libdvbpsi
Version: 0.1.7
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Libraries
URL: http://developers.videolan.org/libdvbpsi/
Source: http://download.videolan.org/pub/libdvbpsi/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++

%description
The libdvbpsi is part of the VideoLAN project, a full MPEG2 client/server
solution. The libdvbpsi can also be used with extra programs that need DVB
and PSI decoders and generators.

The VideoLAN team decided to write the libdvbpsi to make the VideoLAN Client
and the VideoLAN Server capable of demultiplexing a satellite DVB stream.
The library aims at making it easy to decode PSI tables (such as PAT, PMT
etc.) present in a TS/DVB stream.


%package devel
Summary: Development files from the libdvbpsi library
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
The libdvbpsi is part of the VideoLAN project, a full MPEG2 client/server
solution. The libdvbpsi can also be used with extra programs that need DVB
and PSI decoders and generators.

You will need to install these development files if you intend to rebuild
programs with libdvbpsi support.

%prep
%setup

%build
%configure \
    --enable-release \
    --disable-static
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/dvbpsi/
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc

%changelog
* Sat Jun 12 2010 Yury V. Zaytsev <yury@shurup.com> - 0.1.7-1
- Applied updates by Bjarne Saltbaek, thanks!

* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> - 0.1.5-2
- Disable/remove static library, nothing seems to use it.

* Thu Dec 08 2005 Matthias Saou <http://freshrpms.net/> - 0.1.5-1
- Update to 0.1.5 (soname change from .3 to .4).

* Wed May 19 2004 Matthias Saou <http://freshrpms.net/> - 0.1.4-2
- Rebuild for Fedora Core 2.

* Tue Feb 24 2004 Matthias Saou <http://freshrpms.net/> - 0.1.4-1
- Update to 0.1.4.
- Added %%{real_name} since it changed to libdvbpsi3.
- Updated the Source URL to reflect new download location.

* Tue Nov 11 2003 Matthias Saou <http://freshrpms.net/> - 0.1.3-2
- Rebuild for Fedora Core 1.

* Sun Aug 03 2003 Matthias Saou <http://freshrpms.net/> - 0.1.3-1
- Update to 0.1.3.

* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/> - 0.1.2-2
- Rebuilt for Red Hat Linux 9.

* Tue Feb 04 2003 Matthias Saou <http://freshrpms.net/> - 0.1.2-1
- Initial rpm release, 0.1.2.