From 0ee6bf4ccfc942f8ab872e47cb5522590ec6fda8 Mon Sep 17 00:00:00 2001 From: Dmitry Samoylik Date: Thu, 19 Dec 2024 11:16:43 +0300 Subject: [PATCH] import aribb24-1.0.3.20160216git5e9be27-1.el10 --- .aribb24.metadata | 1 + .gitignore | 1 + SPECS/aribb24.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 .aribb24.metadata create mode 100644 .gitignore create mode 100644 SPECS/aribb24.spec diff --git a/.aribb24.metadata b/.aribb24.metadata new file mode 100644 index 0000000..dda4657 --- /dev/null +++ b/.aribb24.metadata @@ -0,0 +1 @@ +fcc811b122208d0de5793c916ea47f1287584ce7 SOURCES/aribb24-5e9be27.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db037fc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/aribb24-5e9be27.tar.gz diff --git a/SPECS/aribb24.spec b/SPECS/aribb24.spec new file mode 100644 index 0000000..7a7dab4 --- /dev/null +++ b/SPECS/aribb24.spec @@ -0,0 +1,71 @@ +%global commit0 5e9be272f96e00f15a2f3c5f8ba7e124862aec38 +%global date 20160216 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +#global tag %{version} + +Name: aribb24 +Version: 1.0.3.%{date}git%{shortcommit0} +Release: 1%{?dist} +Summary: A library for ARIB STD-B24 +License: LGPL-3.0-only +URL: https://github.com/nkoriyama/%{name} + +%if 0%{?tag:1} +Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz +%else +Source0: %url/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +%endif + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc +BuildRequires: libtool +BuildRequires: libpng-devel + +%description +A library for ARIB STD-B24, decoding JIS 8 bit characters and parsing MPEG-TS +stream. + +%package devel +Summary: Development files for the ARIB STD-B24 library +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Development files and headers for the ARIB STD-B24 library. + +%prep +%if 0%{?tag:1} +%autosetup -p1 +%else +%autosetup -p1 -n %{name}-%{commit0} +%endif + +%build +autoreconf -vif +%configure --disable-static +%make_build + +%install +%make_install +rm -f %{buildroot}%{_libdir}/lib%{name}.la + +# Pick docs in the files section +rm -fr %{buildroot}%{_docdir}/%{name} + +%files +%license COPYING +%doc README.md +%{_libdir}/lib%{name}.so.0 +%{_libdir}/lib%{name}.so.0.0.0 + +%files devel +%{_includedir}/%{name} +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + +%changelog +* Thu Dec 19 2024 Dmitriy Samoylik - 1.0.3.20160216git5e9be27-1 +- Rebuilt for MSVSphere 10 + +* Thu Sep 12 2024 Simone Caronni - 1.0.3^20160216git5e9be27-1 +- First build.