Compare commits

...
Sign in to create a new pull request.

16 commits

Author SHA1 Message Date
Fedora Release Engineering
535d6f46e1 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:21:47 +00:00
Xavier Bachelot
2cca179777 Acknowledge for bin/sbin merge in F42+ 2025-03-14 10:06:56 +01:00
Xavier Bachelot
7d6b85c779 Update to 0.2.44 (RHBZ#2351225) 2025-03-14 09:44:41 +01:00
Fedora Release Engineering
cc4275d37c Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:54:19 +00:00
Xavier Bachelot
1759f87111 Update to 0.2.43 (RHBZ#2330170) 2024-12-10 12:51:19 +01:00
Xavier Bachelot
676a976638 Merge branch 'rawhide' into epel8 2024-10-05 13:13:40 +02:00
Xavier Bachelot
ba7fe59b68 Merge branch 'rawhide' into epel9 2024-10-05 13:09:42 +02:00
Xavier Bachelot
580382233d Update to 0.2.42 2024-09-14 00:29:18 +02:00
Fedora Release Engineering
71ecef088a Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:58:41 +00:00
Fedora Release Engineering
b4f09b45e9 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 11:20:06 +00:00
Fedora Release Engineering
95a871dde9 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:48:43 +00:00
David Cantrell
eeaf0a4e26 Update License tag to SPDX identifiers; use '%patch -P N'
Examine the source and update the License tag to use SPDX expressions.
Also change the deprecated %patchN macros to the newer '%patch -P N'
style.

Signed-off-by: David Cantrell <dcantrell@redhat.com>
2023-05-17 12:25:02 -04:00
Dmitry Butskoy
3d972b4827 Port to epel9 2021-12-14 00:21:37 +03:00
Troy Dawson
bacde458ad remove package.cfg per new epel-playground policy 2020-09-24 16:14:00 +00:00
Dmitry Butskoy
3b6c803c95 Port to EPEL8 2019-08-09 21:03:23 +03:00
Gwyn Ciesla
075990cdcd "Adding package.cfg file" 2019-08-09 08:45:47 -05:00
3 changed files with 67 additions and 25 deletions

3
.gitignore vendored
View file

@ -1 +1,4 @@
zvbi-0.2.33.tar.bz2
/zvbi-0.2.42.tar.gz
/zvbi-0.2.43.tar.gz
/zvbi-0.2.44.tar.gz

View file

@ -1 +1 @@
95e53eb208c65ba6667fd4341455fa27 zvbi-0.2.35.tar.bz2
SHA512 (zvbi-0.2.44.tar.gz) = 74b7d44faf42f919ebd3ccb69f8567f56909075d3acf4a3b4dfcbdf85489492f27d8a04173e0010f59706356e4078cd10911945f87e2596de2b897672d1e55cb

View file

@ -2,26 +2,29 @@
%define catalogue %{_sysconfdir}/X11/fontpath.d
Name: zvbi
Version: 0.2.35
Release: 19%{?dist}
Version: 0.2.44
Release: 2%{?dist}
Summary: Raw VBI, Teletext and Closed Caption decoding library
# See NEWS for a full breakdown of licensing.
License: LGPLv2+ and GPLv2+ and BSD
URL: http://zapping.sourceforge.net/ZVBI/index.html
Source0: http://downloads.sourceforge.net/zapping/%{name}-%{version}.tar.bz2
License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND MIT
URL: https://github.com/zapping-vbi/zvbi
Source0: https://github.com/zapping-vbi/zvbi/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-0.2.24-tvfonts.patch
Patch1: %{name}-0.2.25-openfix.patch
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bdftopcf
BuildRequires: doxygen
BuildRequires: fontconfig
BuildRequires: gettext >= 0.16.1
BuildRequires: libpng-devel
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: libICE-devel
BuildRequires: bdftopcf
BuildRequires: libpng-devel
BuildRequires: libtool
BuildRequires: make
BuildRequires: mkfontdir
BuildRequires: systemd-units
BuildRequires: tzdata
%description
@ -44,7 +47,7 @@ Development files for zvbi
%package fonts
Summary: Fonts from zvbi converted to X11
BuildArch: noarch
BuildArch: noarch
Obsoletes: xawtv-tv-fonts < 3.95
Provides: xawtv-tv-fonts >= 3.95
@ -54,11 +57,8 @@ Fonts from zvbi converted for use with X11
%prep
%setup -q
%patch0 -p1
%patch1 -p1
# Fix character encodings
iconv -f iso8859-1 README -t utf8 > README.conv && /bin/mv -f README.conv README
%patch -P 0 -p1
%patch -P 1 -p1
# systemd service file
cat >zvbid.service <<EOF
@ -77,6 +77,7 @@ EOF
%build
./autogen.sh
# Note: We don't do --enable-static=no because static libs are needed to build
# x11font during compile time to convert zvbi fonts into x11 fonts. x11font
# is thrown away and not installed as it's not useful for anything else
@ -85,7 +86,7 @@ EOF
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 %{?_smp_mflags}
%make_build
# Generate fonts, fonts.alias and fonts.dir
pushd contrib
@ -103,7 +104,7 @@ popd
%install
mkdir -p %{buildroot}%{fontdir}
make install DESTDIR=%{buildroot}
%make_install
%find_lang %{name}
@ -118,6 +119,13 @@ touch %{buildroot}%{fontdir}/fonts.cache-1
mkdir -p %{buildroot}%{catalogue}
ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
find %{buildroot}%{_libdir} -name '*.a' -delete
%check
cd test
make check
%post
%systemd_post zvbid.service
@ -132,14 +140,16 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%files -f %{name}.lang
%license COPYING.md
%doc AUTHORS BUGS ChangeLog NEWS README.md TODO
%{_bindir}/%{name}*
%if ! (0%{?fedora} >= 42)
%{_sbindir}/zvbid
%endif
%{_unitdir}/zvbid.service
%{_libdir}/*.so.*
%{_mandir}/man1/*
%exclude %{_libdir}/*.a
%exclude %{_libdir}/*.la
%doc AUTHORS BUGS ChangeLog COPYING COPYING.LIB NEWS README TODO
%{_libdir}/libzvbi.so.0*
%{_libdir}/libzvbi-chains.so.0*
%{_mandir}/man1/zvbi*1*
%files devel
@ -158,6 +168,35 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%changelog
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.44-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Mar 14 2025 Xavier Bachelot <xavier@bachelot.org> - 0.2.44-1
- Update to 0.2.44 (RHBZ#2351225)
- Acknowledge for bin/sbin merge in F42+
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.43-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Dec 10 2024 Xavier Bachelot <xavier@bachelot.org> - 0.2.43-1
- Update to 0.2.43 (RHBZ#2330170)
* Fri Sep 13 2024 Xavier Bachelot <xavier@bachelot.org> - 0.2.42-1
- Update to 0.2.42
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.35-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed May 17 2023 David Cantrell <dcantrell@redhat.com> - 0.2.35-20
- Update License tag to use SPDX identifiers
- Change deprecated %%patchN macros to %%patch -P N
* Sun Feb 05 2023 Kalev Lember <klember@redhat.com> - 0.2.35-19
- Avoid requiring systemd for systemd rpm scriptlets