diff --git a/inline.patch b/inline.patch deleted file mode 100644 index 0115ccd..0000000 --- a/inline.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -Nrup a/src/u_deep.c b/src/u_deep.c ---- a/src/u_deep.c 2006-06-25 09:30:30.000000000 -0600 -+++ b/src/u_deep.c 2019-10-15 13:54:07.360163470 -0600 -@@ -17,9 +17,9 @@ - #include "getbits.h" - - --INLINE USHORT DecodeChar(void); --INLINE USHORT DecodePosition(void); --INLINE void update(USHORT c); -+static INLINE USHORT DecodeChar(void); -+static INLINE USHORT DecodePosition(void); -+static INLINE void update(USHORT c); - static void reconst(void); - - -@@ -98,7 +98,7 @@ USHORT Unpack_DEEP(UCHAR *in, UCHAR *out - - - --INLINE USHORT DecodeChar(void){ -+static INLINE USHORT DecodeChar(void){ - USHORT c; - - c = son[R]; -@@ -117,7 +117,7 @@ INLINE USHORT DecodeChar(void){ - - - --INLINE USHORT DecodePosition(void){ -+static INLINE USHORT DecodePosition(void){ - USHORT i, j, c; - - i = GETBITS(8); DROPBITS(8); -@@ -171,7 +171,7 @@ static void reconst(void){ - - /* increment frequency of given code by one, and update tree */ - --INLINE void update(USHORT c){ -+static INLINE void update(USHORT c){ - USHORT i, j, k, l; - - if (freq[R] == MAX_FREQ) { -diff -Nrup a/src/u_heavy.c b/src/u_heavy.c ---- a/src/u_heavy.c 2006-06-25 09:30:30.000000000 -0600 -+++ b/src/u_heavy.c 2019-10-15 13:53:03.543524151 -0600 -@@ -30,8 +30,8 @@ USHORT heavy_text_loc; - - static USHORT read_tree_c(void); - static USHORT read_tree_p(void); --INLINE USHORT decode_c(void); --INLINE USHORT decode_p(void); -+static INLINE USHORT decode_c(void); -+static INLINE USHORT decode_p(void); - - - -@@ -74,7 +74,7 @@ USHORT Unpack_HEAVY(UCHAR *in, UCHAR *ou - - - --INLINE USHORT decode_c(void){ -+static INLINE USHORT decode_c(void){ - USHORT i, j, m; - - j = c_table[GETBITS(12)]; -@@ -96,7 +96,7 @@ INLINE USHORT decode_c(void){ - - - --INLINE USHORT decode_p(void){ -+static INLINE USHORT decode_p(void){ - USHORT i, j, m; - - j = pt_table[GETBITS(8)]; diff --git a/xdms.spec b/xdms.spec index db2e47b..6453017 100644 --- a/xdms.spec +++ b/xdms.spec @@ -1,14 +1,13 @@ Name: xdms Version: 1.3.2 -Release: 39%{?dist} +Release: 11%{?dist} Summary: Extracts Amiga DMS archives -License: LicenseRef-Fedora-Public-Domain +Group: Applications/Archiving +License: Public Domain URL: http://zakalwe.fi/~shd/foss/%{name} Source0: http://zakalwe.fi/~shd/foss/%{name}/%{name}-%{version}.tar.bz2 -Patch0: inline.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: make -BuildRequires: gcc %description Extracts Amiga DMS (Disk Masher) archives which are compressed Amiga disk images. Xdms is particularly useful with Amiga emulators. @@ -16,7 +15,7 @@ images. Xdms is particularly useful with Amiga emulators. %prep %setup -q -%patch -P0 -p1 + %build # Non standard configure script that does not support libdir for example. @@ -32,98 +31,18 @@ install -p -m0644 xdms.1 %{buildroot}%{_mandir}/man1 install -p -m0755 src/xdms %{buildroot}%{_bindir} +%clean +rm -rf %{buildroot} + %files +%defattr(-,root,root,-) %{_bindir}/xdms %{_mandir}/man1/xdms.1.* %doc ChangeLog.txt %{name}.txt %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 1.3.2-39 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Sat Jan 17 2026 Fedora Release Engineering - 1.3.2-38 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 1.3.2-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 1.3.2-36 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Jul 20 2024 Fedora Release Engineering - 1.3.2-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.3.2-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 1.3.2-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Fri Jul 07 2023 Gwyn Ciesla - 1.3.2-32 -- Convert to SPDX license. - -* Sat Jan 21 2023 Fedora Release Engineering - 1.3.2-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 1.3.2-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 1.3.2-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.3.2-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 1.3.2-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.3.2-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 1.3.2-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Oct 21 2019 Gwyn Ciesla - 1.3.2-24 -- Patch for gcc 10. - -* Sat Jul 27 2019 Fedora Release Engineering - 1.3.2-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 1.3.2-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.3.2-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 1.3.2-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 1.3.2-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.3.2-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.3.2-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 1.3.2-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 1.3.2-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Aug 18 2014 Fedora Release Engineering - 1.3.2-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 1.3.2-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 1.3.2-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - * Fri Feb 15 2013 Fedora Release Engineering - 1.3.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild