diff --git a/vcdimager.spec b/vcdimager.spec index 9265239..302a9b9 100644 --- a/vcdimager.spec +++ b/vcdimager.spec @@ -1,19 +1,23 @@ Summary: VideoCD (pre-)mastering and ripping tool Name: vcdimager Version: 2.0.1 -Release: 25%{?dist} +Release: 17%{?dist} License: GPL-2.0-or-later URL: http://www.gnu.org/software/vcdimager/ -Source: https://ftp.gnu.org/pub/gnu/vcdimager/vcdimager-%{version}.tar.gz +Source: ftp://ftp.gnu.org/pub/gnu/vcdimager/vcdimager-%{version}.tar.gz -BuildRequires: gcc-c++ BuildRequires: libcdio-devel >= 0.72 BuildRequires: libxml2-devel >= 2.3.8 +BuildRequires: zlib-devel BuildRequires: pkgconfig >= 0.9 BuildRequires: popt-devel -BuildRequires: zlib-devel +BuildRequires: gcc-c++ Requires: %{name}-libs%{?_isa} = %{version}-%{release} +%if 0%{?el7} +Requires(post): info +Requires(preun): info +%endif %description @@ -62,9 +66,23 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' # Sometimes this file gets created... but we don't want it! rm -f %{buildroot}%{_infodir}/dir - %ldconfig_scriptlets libs +%if 0%{?el7} +%post +for infofile in vcdxrip.info vcdimager.info vcd-info.info; do + /sbin/install-info %{_infodir}/${infofile} %{_infodir}/dir 2>/dev/null || : +done + +%preun +if [ $1 -eq 0 ]; then + for infofile in vcdxrip.info vcdimager.info vcd-info.info; do + /sbin/install-info --delete %{_infodir}/${infofile} %{_infodir}/dir \ + 2>/dev/null || : + done +fi +%endif + %files %doc AUTHORS BUGS ChangeLog* FAQ NEWS README THANKS TODO @@ -99,32 +117,6 @@ rm -f %{buildroot}%{_infodir}/dir %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 2.0.1-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Wed Jan 28 2026 Adrian Reber - 2.0.1-24 -- Rebuilt for libcdio-2.3.0 - -* Sat Jan 17 2026 Fedora Release Engineering - 2.0.1-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 2.0.1-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 2.0.1-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Oct 03 2024 Xavier Bachelot - 2.0.1-20 -- Change Source: URL to https -- Drop EL7 conditionals -- Sort BR:s - -* Sat Jul 20 2024 Fedora Release Engineering - 2.0.1-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 2.0.1-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - * Sat Jul 22 2023 Fedora Release Engineering - 2.0.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild