-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPCem-v17.spec
70 lines (62 loc) · 2.56 KB
/
PCem-v17.spec
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
%global debug_package %{nil}
Name: PCem
Version: 17
Release: 1%{?dist}
Summary: PCem (short for PC Emulator) is an IBM PC emulator for Windows and Linux that specializes in running old operating systems and software that are designed for IBM PC compatibles. Originally developed as an IBM PC XT emulator, it later emulates other IBM PC compatible computers as well. (from wikipedia)
License: GPLv2
URL: http://pcem-emulator.co.uk
Source0: http://pcem-emulator.co.uk/files/PCemV%{version}Linux.tar.gz
Source1: https://github.com/ajacocks/PCem-RPM/raw/master/PCemV%{version}.man
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: openal-soft-devel
BuildRequires: SDL2-devel
BuildRequires: wxGTK3-devel
Requires: openal-soft
Requires: SDL2
Requires: wxGTK3
%description
PCem (short for PC Emulator) is an IBM PC emulator for Windows and Linux that specializes in running old operating systems and software that are designed for IBM PC compatibles. Originally developed as an IBM PC XT emulator, it later emulates other IBM PC compatible computers as well. (from wikipedia)
%prep
%setup -c
%build
./configure
aclocal
automake
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_docdir}
install -p -m 755 pcem %{buildroot}/%{_bindir}
install -d -p -m 755 %{buildroot}/%{_docdir}/pcem
install -p -m 644 AUTHORS %{buildroot}/%{_docdir}/pcem
install -p -m 644 ChangeLog %{buildroot}/%{_docdir}/pcem
install -p -m 644 COPYING %{buildroot}/%{_docdir}/pcem
install -p -m 644 INSTALL %{buildroot}/%{_docdir}/pcem
install -p -m 644 readme.html %{buildroot}/%{_docdir}/pcem
install -p -m 644 tested.html %{buildroot}/%{_docdir}/pcem
install -p -m 644 README.md %{buildroot}/%{_docdir}/pcem
install -p -m 644 README %{buildroot}/%{_docdir}/pcem
install -d -p -m 755 %{buildroot}/%{_mandir}/man1
gzip -c %{_sourcedir}/PCemV17.man > %{buildroot}/%{_mandir}/man1/pcem.1.gz
install -d -p -m 755 %{buildroot}/%{_datadir}/pcem
install -d -p -m 755 %{buildroot}/%{_datadir}/pcem/roms
%files
%{_bindir}/pcem
%doc %{_docdir}/pcem/AUTHORS
%doc %{_docdir}/pcem/ChangeLog
%doc %{_docdir}/pcem/COPYING
%doc %{_docdir}/pcem/INSTALL
%doc %{_docdir}/pcem/readme.html
%doc %{_docdir}/pcem/tested.html
%doc %{_docdir}/pcem/README.md
%doc %{_docdir}/pcem/README
%doc %{_mandir}/man1/pcem.1.gz
%dir %{_datadir}/pcem
%dir %{_datadir}/pcem/roms
%changelog
* Mon Feb 01 2021 <[email protected]>
- Updated for PCem v17
* Sat Jun 13 2020 <[email protected]>
- Initial revision of package