Skip to content

Commit b8687bf

Browse files
committed
Fix SPEC file to build on FC39
1 parent 779dc3a commit b8687bf

1 file changed

Lines changed: 46 additions & 50 deletions

File tree

‎terminatorX.spec.in‎

Lines changed: 46 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
21
Summary: Real-time Audio Synthesizer
32
Name: terminatorX
43
Version: @VERSION@
54
Release: 1%{?dist}
65
Group: Applications/Multimedia
76
License: GPLv2+ and GFDL
87
URL: http://terminatorx.org/
9-
Source0: http://terminatorx.org/dist/%{name}-%{version}.tar.bz2
8+
Source0: http://terminatorx.org/dist/%{name}-%{version}.tar.xz
109

1110
BuildRequires: alsa-lib-devel
1211
BuildRequires: audiofile-devel
1312
BuildRequires: desktop-file-utils
1413
BuildRequires: libappstream-glib
1514
BuildRequires: gcc-c++
1615
BuildRequires: gtk3-devel
16+
BuildRequires: itstool
1717
BuildRequires: jack-audio-connection-kit-devel
1818
BuildRequires: ladspa-devel
1919
BuildRequires: libcap-devel
@@ -24,17 +24,19 @@ BuildRequires: libxml2-devel
2424
BuildRequires: libX11-devel
2525
BuildRequires: mpg123
2626
BuildRequires: pulseaudio-libs-devel
27-
BuildRequires: rarian-compat
2827
BuildRequires: sox
2928
BuildRequires: vorbis-tools
30-
BuildRequires: gnome-doc-utils
31-
BuildRequires: itstool
29+
BuildRequires: meson
30+
BuildRequires: ninja-build
31+
BuildRequires: xxd
3232

3333
Requires: hicolor-icon-theme
3434
Requires: mpg123
3535
Requires: sox
3636
Requires: vorbis-tools
3737

38+
%define fqn org.terminatorx.terminatorX
39+
3840
%description
3941
terminatorX is a real-time audio synthesizer that allows you to "scratch" on
4042
digitally sampled audio data (*.wav, *.au, *.ogg, *.mp3, etc.) the way
@@ -49,11 +51,11 @@ interface - all accessible through an easy-to-use gtk+ GUI.
4951
sed -i 's|/lib/|/%{_lib}/|g' src/tX_ladspa.cc
5052

5153
%build
52-
%configure
53-
make %{?_smp_mflags}
54+
%meson
55+
%meson_build
5456

5557
%install
56-
make install DESTDIR=%{buildroot}
58+
%meson_install
5759

5860
# desktop file categories
5961
ADD="Audio X-Jack X-DJTools X-DigitalProcessing Sequencer"
@@ -62,42 +64,49 @@ desktop-file-install \
6264
--dir %{buildroot}%{_datadir}/applications \
6365
`for c in ${ADD} ; do echo "--add-category $c " ; done` \
6466
`for c in ${REMOVE} ; do echo "--remove-category $c " ; done` \
65-
%{buildroot}%{_datadir}/applications/%{name}.desktop
66-
67-
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/terminatorX.appdata.xml
68-
69-
%post
70-
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
71-
72-
%postun
73-
if [ $1 -eq 0 ] ; then
74-
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
75-
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
76-
fi
77-
78-
%posttrans
79-
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
67+
%{buildroot}%{_datadir}/applications/%{fqn}.desktop
8068

69+
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{fqn}.metainfo.xml
8170

8271
%files
83-
%doc AUTHORS.md ChangeLog NEWS README* THANKS.md TODO.md
72+
%doc AUTHORS.md README*
8473
%license COPYING*
8574
%{_bindir}/%{name}
8675
%{_mandir}/man1/%{name}.1*
87-
%{_datadir}/mime-info/%{name}.keys
88-
%{_datadir}/mime-info/%{name}.mime
8976
%{_datadir}/help/C/%{name}-manual/
90-
%{_datadir}/pixmaps/%{name}.xpm
91-
%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
92-
%{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-mime.png
93-
%{_datadir}/applications/%{name}.desktop
94-
%{_datadir}/appdata/%{name}.appdata.xml
77+
%{_datadir}/pixmaps/%{fqn}.xpm
78+
%{_datadir}/icons/hicolor/512x512/apps/%{fqn}.png
79+
%{_datadir}/icons/hicolor/512x512/mimetypes/%{fqn}.Set.png
80+
%{_datadir}/applications/%{fqn}.desktop
81+
%{_datadir}/mime/packages/%{fqn}-mime.xml
82+
%{_datadir}/metainfo/%{fqn}.metainfo.xml
9583

9684
%changelog
97-
* Fri Feb 19 2021 Alexander Koenig <alex@lisas.de> - 4.1.0-1
98-
- UI improvements
99-
- more gtk3 adaptations
100-
- minor bug fixes
85+
* Fri Apr 05 2024 Alexander Koenig <alex@lisas.de>
86+
- Merge RPM Fusion downstream
87+
- Adapt to meson build
88+
89+
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 4.2.0-3
90+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
91+
92+
* Wed Aug 02 2023 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 4.2.0-2
93+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
94+
95+
* Sat Oct 01 2022 Leigh Scott <leigh123linux@gmail.com> - 4.2.0-1
96+
- Update to 4.2.0
97+
98+
* Mon Aug 08 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 4.1.0-3
99+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
100+
5.1
101+
102+
* Wed Feb 09 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 4.1.0-2
103+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
104+
105+
* Sat Oct 30 2021 Orcan Ogetbil <oged[DOT]fedora[AT]gmail[DOT]com> - 4.1.0-1
106+
- Version updae
107+
108+
* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 4.0.1-12
109+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
101110

102111
* Thu Feb 04 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 4.0.1-11
103112
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
@@ -138,19 +147,6 @@ fi
138147
- Update to 4.0.0
139148
- Change from gtk2 to gtk3
140149

141-
* Sun Jun 19 2016 Alexander Koenig <alex@lisas.de> - 4.00-1
142-
- fix icon resolutions
143-
- include appdata
144-
145-
* Fri May 13 2016 Alexander Koenig <alex@lisas.de> - 3.99-1
146-
- update to compile on rawhide (fc24)
147-
- install binary setuid root
148-
- require mpg123 instead of mpg321
149-
150-
* Sat Feb 01 2014 Alexander Koenig <alex@lisas.de> - 3.90-1
151-
- Merge RPMFusion version
152-
- Drop obsolete patches
153-
154150
* Sat Dec 06 2014 Nicolas Chauvet <kwizart@gmail.com> - 3.90-3
155151
- Switch to mpg123
156152

@@ -224,10 +220,10 @@ fi
224220
- added patch to compile under redhat 8.0 and gcc 3.2
225221
- erased post warning about suid root executable
226222

227-
* Sat Sep 14 2002 Alexander Koenig <alex@lisas.de>
223+
* Sat Sep 14 2002 Alexander Konig <alex@lisas.de>
228224
- Switch from xpm to pngs for GNOME icons
229225

230-
* Fri May 31 2002 Alexander Koenig <alex@lisas.de>
226+
* Fri May 31 2002 Alexander Konig <alex@lisas.de>
231227
- Added Adrian's man page
232228

233229
* Tue Mar 20 2001 Adrian Reber <adrian@lisas.de>

0 commit comments

Comments
 (0)