File libde265.spec of Package libde265
97
1
#
2
# spec file for package libde265
3
#
4
# Copyright (c) 2023 Packman Team <packman@links2linux.de>
5
# Copyright (c) 2017 Bjørn Lie, Bryne, Norway.
6
#
7
# All modifications and additions to the file contributed by third parties
8
# remain the property of their copyright owners, unless otherwise agreed
9
# upon. The license for this file, and modifications and additions to the
10
# file, is the same license as for the pristine package itself (unless the
11
# license for the pristine package is not an Open Source License, in which
12
# case the license is the MIT License). An "Open Source License" is a
13
# license that conforms to the Open Source Definition (Version 1.9)
14
# published by the Open Source Initiative.
15
16
# Please submit bugfixes or comments via https://bugs.links2linux.org/
17
#
18
19
%define so_ver 0
20
Name: libde265
21
Version: 1.0.16
22
Release: 0
23
Summary: Open H.265 video codec implementation
24
License: LGPL-3.0-only
25
Group: System/Libraries
26
URL: https://www.libde265.org/
27
Source0: https://github.com/strukturag/libde265/releases/download/v%{version}/%{name}-%{version}.tar.gz
28
Source99: baselibs.conf
29
Patch0: libde265-disable_tools.patch
30
Patch1: https://github.com/strukturag/libde265/commit/03219835991f44c7ecf4dcc6fa8066967561be7e.patch
31
Patch2: https://github.com/strukturag/libde265/commit/67831118e3d6961fab4c29fc4364fa0eccfb8473.patch
32
BuildRequires: automake
33
BuildRequires: c++_compiler
34
BuildRequires: libtool
35
BuildRequires: pkgconfig
36
37
%description
38
libde265 is an open source implementation of the H.265 video codec.
39
It is written from scratch for simplicity and efficiency. Its simple
40
API makes it easy to integrate it into other software.
41
42
%package -n %{name}-%{so_ver}
43
Summary: Open H.265 video codec implementation - libraries
44
Group: System/Libraries
45
46
%description -n %{name}-%{so_ver}
47
libde265 is an open source implementation of the H.265 video codec.
48
It is written from scratch for simplicity and efficiency. Its simple
49
API makes it easy to integrate it into other software.
50
51
This package contains the library files.
52
53
%package devel
54
Summary: Open H.265 video codec implementation - development files
55
Group: Development/Libraries/Other
56
Requires: %{name}-%{so_ver} = %{version}
57
58
%description devel
59
libde265 is an open source implementation of the H.265 video codec.
60
It is written from scratch for simplicity and efficiency. Its simple
61
API makes it easy to integrate it into other software.
62
63
The development headers for compiling programs that use libde265
64
are provided by this package.
65
66
%prep
67
%autosetup -p1
68
69
%build
70
NOCONFIGURE=1 ./autogen.sh
71
%configure \
72
--disable-static \
73
--enable-shared \
74
--disable-encoder \
75
--disable-dec265 \
76
--disable-sherlock265 \
77
%{nil}
78
%make_build
79
80
%install
81
%make_install
82
find %{buildroot} -type f -name "*.la" -delete -print
83
84
%ldconfig_scriptlets -n %{name}-%{so_ver}
85
86
%files -n %{name}-%{so_ver}
87
%license COPYING
88
%{_libdir}/%{name}.so.*
89
90
%files devel
91
%doc AUTHORS README.md
92
%{_includedir}/%{name}/
93
%{_libdir}/%{name}.so
94
%{_libdir}/pkgconfig/%{name}.pc
95
96
%changelog
97