-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathfdpp.spec.rpkg
67 lines (53 loc) · 1.27 KB
/
fdpp.spec.rpkg
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
#
# spec file for package fdpp
#
Name: {{{ git_dir_name }}}
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: 64-bit DOS core
Group: System/Emulator
License: GPLv3+
URL: https://github.com/dosemu2/fdpp
VCS: {{{ git_dir_vcs }}}
Source0: {{{ dir_pack }}}
BuildRequires: meson >= 1.3.2
BuildRequires: sed
BuildRequires: bash
BuildRequires: clang
BuildRequires: nasm-segelf
BuildRequires: binutils
BuildRequires: binutils-x86_64-linux-gnu
BuildRequires: coreutils
BuildRequires: libstdc++-devel
BuildRequires: elfutils-libelf-devel
BuildRequires: thunk-gen
BuildRequires: git
BuildRequires: pkgconf-pkg-config
%description
fdpp is a 64-bit DOS core.
It is based on a FreeDOS kernel ported to modern C++.
%prep
{{{ git_dir_setup_macro }}}
%global toolchain clang
%build
./configure.meson --prefix %{_prefix} --libdir %{_libdir} build
meson compile --verbose -C build %{?_smp_mflags}
%check
%install
meson install -C build --destdir %{buildroot}
%files
%defattr(-,root,root)
%{_libdir}/fdpp/*.so.*
%{_datadir}/fdpp
%package devel
Summary: fdpp development headers
Requires: fdpp
%description devel
This package contains headers for fdpp usage.
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/fdpp.pc
%{_libdir}/fdpp/*.so
%{_includedir}/fdpp
%changelog
{{{ git_dir_changelog }}}