forked from continue88/bjxa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bjxa.spec.in
78 lines (51 loc) · 1.65 KB
/
bjxa.spec.in
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
Name: @PACKAGE@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: BandJAM XA audio codec
License: GPLv3+
URL: https://github.com/dridi/%{name}
Source: %{url}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: /usr/bin/xxd
%description
This is an audio codec for BandJAM XA audio files used in several games, some
of them open source. Unfortunately the source code for xa.exe and xadec.dll
was not available and limited to Windows 32 bit systems. The libbjxa library
and bjxa program offer a portable interface to decode XA files.
Because CDROM XA from which BandJAM XA derives is a lossy codec, it is better
not to convert existing XA files into WAVE files to then re-encode them with a
more modern lossy codec.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%check
%make_build check VERBOSE=1
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README.rst COPYING ChangeLog
%{_bindir}/%{name}
%{_libdir}/lib%{name}.so.0
%{_libdir}/lib%{name}.so.0.*
%{_libdir}/lib%{name}.la
%{_mandir}/man1/%{name}*
%files devel
%{_includedir}/%{name}.h
%{_libdir}/lib%{name}.so
%{_libdir}/lib%{name}.a
%{_libdir}/pkgconfig/%{name}.pc
%{_mandir}/man3/%{name}*
%{_mandir}/man5/%{name}*
%changelog
* Thu Jul 12 2018 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.1
- Initial spec