-
Notifications
You must be signed in to change notification settings - Fork 0
/
imyplay.spi
93 lines (79 loc) · 2.63 KB
/
imyplay.spi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#
# IMYplay - A program for playing iMelody ringtones (IMY files).
# -- imyplay.spi, part of the build system.
#
# @configure_input@
#
# Copyright (C) 2009-2023 Bogdan Drozdowski, bogdro (at) users . sourceforge . net
# License: GNU General Public License, v3+
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Special names here like {__make} come from /usr/lib/rpm/macros, /usr/lib/rpm/macros.rpmbuild
%define imyp_version @VERSION@
%define imyp_release 1
%define imyp_name imyplay
%define imyp_url https://imyplay.sourceforge.io
%define imyp_descr IMYplay is a program for playing iMelody ringtones (IMY files). \
IMYplay can use the following libraries to produce sound: the Allegro game \
library, SDL v1/v2, ALSA, OSS, libao, PortAudiov19, PulseAudio, JACK1/JACK2, \
GStreamer (gstreamer-plugin-base required). \
It can also write raw samples to an output file, use the PC-speaker or \
call an external program on each note.
%define imyp_lic GPLv3
%define imyp_summary A program for playing iMelody ringtones (IMY files)
Summary: %{imyp_summary}
Name: %{imyp_name}
Version: %{imyp_version}
Release: %{imyp_release}%{?dist}
URL: %{imyp_url}
BugURL: %{imyp_url}
License: %{imyp_lic}
# group must be one of the listed in /usr/share/doc/rpm-.../GROUPS or /usr/share/rpmlint/config.d/distro.conf
Group: Sound
#Group: Applications/Multimedia
Source: %{imyp_name}-%{imyp_version}.tar.gz
BuildRoot: %{_tmppath}/%{imyp_name}-build
BuildRequires: gcc, glibc, glibc-devel, make, texinfo
%description
%{imyp_descr}
%prep
%setup -q
%configure
%build
#make
%make_build
%post
#install-info
%postun
#install-info
%install
#makeinstall_std
%make_install
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%define _unpackaged_files_terminate_build 0
%files
%defattr(-,root,root)
%{_bindir}/imyplay
%doc %{_infodir}/imyplay.info%_extension
%doc %{_mandir}/man1/imyplay.1%_extension
%{_localedir}/pl/LC_MESSAGES/imyplay.mo %lang(pl)
%{_localedir}/en@boldquot/LC_MESSAGES/imyplay.mo %lang(en)
%{_localedir}/en@quot/LC_MESSAGES/imyplay.mo %lang(en)
%doc README
%doc COPYING
%doc AUTHORS
%doc ChangeLog
%changelog