blob: f3e5444e4a2b44838870686ee6841670ebe2a833 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# TODO: CFLAGS
Summary: MPEG transport stream decryption
Name: tsdecrypt
Version: 3.0
Release: 2
License: GPL v2+
Group: Applications/Networking
Source0: http://georgi.unixsol.org/programs/tsdecrypt/%{name}-%{version}.tar.bz2
# Source0-md5: 2a04c257306fc769ce0131391af69766
URL: http://georgi.unixsol.org/programs/tsdecrypt/
BuildRequires: libdvbcsa-devel
BuildRequires: openssl-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
tsdecrypt reads incoming mpeg transport stream over UDP/RTP and then
decrypts it using libdvbcsa and keys obtained from OSCAM or similar
CAM server. tsdecrypt communicates with CAM server using camd35 over
TCP protocol also known as cs378x.
%prep
%setup -q
%build
%{__make} \
Q=''
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
PREFIX=%{_prefix} \
INSTALL_DOC_DIR=%{_mandir}/man1 \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog README TODO
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
|