-
Notifications
You must be signed in to change notification settings - Fork 0
/
pkg.spec
42 lines (34 loc) · 1002 Bytes
/
pkg.spec
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
Name: libdvdcss
Version: 1.4.3
Release: 1%{?dist}
Summary: A library designed for accessing DVDs like a block device without having to bother about the decryption
License: GPLv2+
URL: https://www.videolan.org/developers/libdvdcss.html
Source0: https://download.videolan.org/pub/videolan/%name/%version/%name-%version.tar.bz2
BuildRequires: gcc, make
%description
A DVD player can be built around the libdvdcss API using no more than
4 or 5 library calls. Unlike most similar projects, libdvdcss does not
require the region of your drive to be set.
%package devel
Summary: Development files for libdvdcss
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Development files for libdvdcss.
%prep
%setup -q
%build
%configure
make V=1 %{?_smp_mflags}
%install
%make_install
%ldconfig_scriptlets
%files
%{_libdir}/libdvdcss.so.2*
%files devel
%{_datarootdir}/doc/*
%{_includedir}/dvdcss
%{_libdir}/libdvdcss.so
%{_libdir}/libdvdcss.a
%{_libdir}/pkgconfig/libdvdcss.pc