Browse Source

initial package creation

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 weeks ago
commit
e54e9ab7fc
  1. 0
      SOURCES/.gitkeeper
  2. 220
      SPECS/libde265.spec

0
SOURCES/.gitkeeper

220
SPECS/libde265.spec

@ -0,0 +1,220 @@ @@ -0,0 +1,220 @@
Name: libde265
Summary: Open H.265 video codec implementation
Version: 1.0.15
Release: 2%{?dist}
License: LGPLv3+
Source: https://github.com/strukturag/libde265/releases/download/v%{version}/%{name}-%{version}.tar.gz
URL: https://www.libde265.org/

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig(libswscale)
%ifnarch i686
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
%endif
BuildRequires: pkgconfig(sdl)


%description
libde265 is an open source implementation of the H.265 video codec.
It is written from scratch for simplicity and efficiency. Its simple
API makes it easy to integrate it into other software.


%package devel
Summary: Open H.265 video codec implementation - development files
Requires: %{name}%{?_isa} = %{version}-%{release}

%description devel
libde265 is an open source implementation of the H.265 video codec.
It is written from scratch for simplicity and efficiency. Its simple
API makes it easy to integrate it into other software.

The development headers for compiling programs that use libde265
are provided by this package.

%package examples
# The entire examples source code is GPLv3+ except extra/getopt* which is BSD.
License: GPLv3+ and BSD
Summary: Open H.265 video codec implementation - examples
Requires: %{name}%{?_isa} = %{version}-%{release}

%description examples
libde265 is an open source implementation of the H.265 video codec.
It is written from scratch for simplicity and efficiency. Its simple
API makes it easy to integrate it into other software.

Sample applications using libde265 are provided by this package.

%prep
%autosetup -p1

%build
%configure \
--disable-silent-rules \
--disable-static \
%ifarch i686
--disable-sherlock265 \
%endif
--enable-shared

sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build

%install
%make_install
find %buildroot -name '*.la' -or -name '*.a' | xargs rm -f
mv %{buildroot}%{_bindir}/dec265 %{buildroot}%{_bindir}/libde265-dec265
%ifnarch i686
mv %{buildroot}%{_bindir}/sherlock265 %{buildroot}%{_bindir}/libde265-sherlock265
%endif
# Don't package internal development tools.
rm -f %{buildroot}%{_bindir}/bjoentegaard
rm -f %{buildroot}%{_bindir}/block-rate-estim
rm -f %{buildroot}%{_bindir}/enc265
rm -f %{buildroot}%{_bindir}/gen-enc-table
rm -f %{buildroot}%{_bindir}/hdrcopy
rm -f %{buildroot}%{_bindir}/rd-curves
rm -f %{buildroot}%{_bindir}/tests
rm -f %{buildroot}%{_bindir}/yuv-distortion

%ldconfig_scriptlets

%files
%doc AUTHORS
%license COPYING
%{_libdir}/*.so.*

%files devel
%doc README.md
%{_includedir}/libde265/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc


%files examples
%doc README.md
%{_bindir}/libde265-dec265
%ifnarch i686
%{_bindir}/libde265-sherlock265
%endif
%{_bindir}/acceleration_speed

%changelog
* Sat Feb 03 2024 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1.0.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Wed Dec 20 2023 Leigh Scott <leigh123linux@gmail.com> - 1.0.15-1
- Update to 1.0.15

* Thu Dec 14 2023 Leigh Scott <leigh123linux@gmail.com> - 1.0.14-1
- Update to 1.0.14

* Tue Nov 21 2023 Leigh Scott <leigh123linux@gmail.com> - 1.0.13-1
- Update to 1.0.13

* Wed Aug 02 2023 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1.0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Wed Jun 14 2023 Leigh Scott <leigh123linux@gmail.com> - 1.0.12-1
- Update to 1.0.12

* Wed Mar 01 2023 Leigh Scott <leigh123linux@gmail.com> - 1.0.11-2
- Rebuild for new ffmpeg

* Sat Feb 11 2023 Leigh Scott <leigh123linux@gmail.com> - 1.0.11-1
- Update to 1.0.11

* Tue Oct 18 2022 Leigh Scott <leigh123linux@gmail.com> - 1.0.9-1
- Update to 1.0.9

* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1.0.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1

* Sun Feb 06 2022 Leigh Scott <leigh123linux@gmail.com> - 1.0.8-5
- Rebuilt for ffmpeg

* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Wed Feb 03 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Thu Dec 31 2020 Leigh Scott <leigh123linux@gmail.com> - 1.0.8-2
- Rebuilt for new ffmpeg snapshot

* Fri Nov 6 2020 Leigh Scott <leigh123linux@gmail.com> - 1.0.8-1
- Update to 1.0.8

* Tue Oct 27 2020 Leigh Scott <leigh123linux@gmail.com> - 1.0.7-1
- Update to 1.0.7

* Fri Aug 28 2020 Leigh Scott <leigh123linux@gmail.com> - 1.0.6-1
- Update to 1.0.6

* Tue Aug 18 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Thu Mar 12 2020 Leigh Scott <leigh123linux@gmail.com> - 1.0.5-4
- Rebuilt for i686

* Sat Feb 22 2020 RPM Fusion Release Engineering <leigh123linux@googlemail.com> - 1.0.5-3
- Rebuild for ffmpeg-4.3 git

* Fri Jan 24 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.0.5-2
- rebuilt

* Sat Jan 18 2020 Leigh Scott <leigh123linux@googlemail.com> - 1.0.5-1
- Update to 1.0.5

* Sun Dec 22 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.0.4-1
- Update to 1.0.4

* Wed Aug 07 2019 Leigh Scott <leigh123linux@gmail.com> - 1.0.3-5
- Rebuild for new ffmpeg version

* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Tue Nov 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.3-3
- Remove Group tag
- Switch to QT5
- Update ldconfig scriptlet
- Add BuildRequires gcc-c++
- Remove BuildRequires pkgconfig

* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Sun Apr 29 2018 Sérgio Basto <sergio@serjux.com> - 1.0.3-1
- Update to 1.0.3
- Add the new /usr/bin file to examples package

* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux@googlemail.com> - 1.0.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Wed Jan 17 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-7
- Rebuilt for ffmpeg-3.5 git

* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 1.0.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Apr 29 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-5
- Rebuild for ffmpeg update

* Sun Mar 19 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 1.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Sat Jul 30 2016 Julian Sikorski <belegdol@fedoraproject.org> - 1.0.2-3
- Rebuilt for ffmpeg-3.1.1

* Tue Jul 19 2016 Joachim Bauch <bauch@struktur.de> 1.0.2-2
- Fixed compatibility when compiling against FFmpeg 2.9 and newer.

* Thu Jun 09 2016 Joachim Bauch <bauch@struktur.de> 1.0.2-1
- Initial version.
Loading…
Cancel
Save