diff --git a/.gitignore b/.gitignore index 34aa4c8..c6f968f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,3 @@ xmp-3.1.0-free.tar.gz /xmp-4.0.10.tar.gz /xmp-4.0.11.tar.gz /xmp-4.1.0.tar.gz -/xmp-4.2.0.tar.gz -/xmp-4.3.0.tar.gz -/xmp-4.3.1.tar.gz diff --git a/sources b/sources index aff9c40..f482b14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xmp-4.3.1.tar.gz) = 273b2cdc711a2ba9bd2d96c4aa64fa4aee7f2b972b4b63e46785458ef48e6e097fc19c1a9843f2a520de0be9261bef0f2a9913865bc65d82b812a554fba33306 +d9661b0be1a7ec79fd6185b166c4e9dd xmp-4.1.0.tar.gz diff --git a/xmp-path-to-xmp-conf.patch b/xmp-path-to-xmp-conf.patch new file mode 100644 index 0000000..92d081c --- /dev/null +++ b/xmp-path-to-xmp-conf.patch @@ -0,0 +1,23 @@ +diff -up xmp-4.1.0/src/Makefile.am.xmp-conf xmp-4.1.0/src/Makefile.am +--- xmp-4.1.0/src/Makefile.am.xmp-conf 2014-11-22 23:29:40.000000000 +0100 ++++ xmp-4.1.0/src/Makefile.am 2016-08-20 01:21:54.467176350 +0200 +@@ -1,6 +1,6 @@ + # -*- Makefile -*- + +-AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}\" ${libxmp_CFLAGS} \ ++AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}/${PACKAGE_NAME}\" ${libxmp_CFLAGS} \ + ${alsa_CFLAGS} ${pulseaudio_CFLAGS} + AM_CFLAGS = -Wall + +diff -up xmp-4.1.0/src/Makefile.in.xmp-conf xmp-4.1.0/src/Makefile.in +--- xmp-4.1.0/src/Makefile.in.xmp-conf 2016-07-16 13:30:05.119883306 +0200 ++++ xmp-4.1.0/src/Makefile.in 2016-08-20 01:22:39.732941728 +0200 +@@ -382,7 +382,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}\" ${libxmp_CFLAGS} \ ++AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}/${PACKAGE_NAME}\" ${libxmp_CFLAGS} \ + ${alsa_CFLAGS} ${pulseaudio_CFLAGS} + + AM_CFLAGS = -Wall diff --git a/xmp.spec b/xmp.spec index 2b0729f..d2d24a3 100644 --- a/xmp.spec +++ b/xmp.spec @@ -1,11 +1,13 @@ Name: xmp -Version: 4.3.1 -Release: 1%{?dist} +Version: 4.1.0 +Release: 15%{?dist} Summary: A multi-format module player Source0: https://downloads.sourceforge.net/project/xmp/xmp/%{version}/xmp-%{version}.tar.gz # use pulseaudio output by default Patch0: xmp-pulse.patch -License: GPL-2.0-or-later +# fix path to files in /etc +Patch1: xmp-path-to-xmp-conf.patch +License: GPLv2+ URL: http://xmp.sourceforge.net/ BuildRequires: make Buildrequires: alsa-lib-devel @@ -25,7 +27,7 @@ Fasttracker II XM, Scream Tracker 3 S3M and Impulse Tracker IT files. %configure \ --enable-pulseaudio \ -%make_build +%{__make} V=1 %{?_smp_mflags} %install %make_install @@ -40,41 +42,6 @@ Fasttracker II XM, Scream Tracker 3 S3M and Impulse Tracker IT files. %{_mandir}/man1/xmp.1* %changelog -* Sun Aug 02 2026 Dominik Mierzejewski - 4.3.1-1 -- update to 4.3.1 (resolves rhbz#2510116) - -* Fri Jul 17 2026 Fedora Release Engineering - 4.3.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Thu May 14 2026 Dominik Mierzejewski - 4.3.0-1 -- update to 4.3.0 (resolves rhbz#2468559) - -* Sat Jan 17 2026 Fedora Release Engineering - 4.2.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 4.2.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 4.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Jul 20 2024 Fedora Release Engineering - 4.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 4.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 4.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Mon Jul 10 2023 Dominik Mierzejewski - 4.2.0-1 -- update to 4.2.0 (#2216922) -- drop obsolete patch -- update License tag with SPDX identifier - -* Sat Jan 21 2023 Fedora Release Engineering - 4.1.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - * Sat Jul 23 2022 Fedora Release Engineering - 4.1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild