forked from jwt27/djgpp-cvs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdj64dev.spec.rpkg
139 lines (114 loc) · 2.71 KB
/
dj64dev.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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#
# spec file for package dj64dev
#
Name: dj64dev
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: 64-bit djgpp-compatible dev suite
Group: Development/Libraries
License: GPLv3+
URL: https://github.com/stsp/dj64dev
VCS: {{{ git_dir_vcs }}}
Source0: {{{ git_dir_archive }}}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: make
BuildRequires: sed
BuildRequires: bash
BuildRequires: gcc
BuildRequires: binutils
BuildRequires: binutils-x86_64-linux-gnu
BuildRequires: coreutils
BuildRequires: elfutils-libelf-devel
BuildRequires: thunk-gen
BuildRequires: pkgconf-pkg-config
BuildRequires: ctags
%description
dj64 is a 64-bit djgpp-compatible dev suite.
%end
%prep
{{{ git_dir_setup_macro }}}
%end
%build
autoreconf -v -i -I m4
%configure
make
%end
%check
%end
%install
make install DESTDIR=%{buildroot}
%end
%package dj64
Summary: dj64 runtime libraries
%description dj64
This package contains runtime libraries for dj64-built programs.
%end
%files dj64
%defattr(-,root,root)
%{_prefix}/i386-pc-dj64/lib64/*.so.*
%{_prefix}/i386-pc-dj64/lib/crt0.elf
%end
%package dj64-devel
Summary: dj64 development tools and headers
Requires: dj64dev-dj64 = {{{ git_dir_version }}}
Requires: thunk-gen
Requires: djstub
Requires: gcc
Requires: binutils
Requires: binutils-x86_64-linux-gnu
Requires: pkgconf-pkg-config
Requires: bash
Requires: sed
%description dj64-devel
This package contains tools and headers for building dj64-enabled programs.
%end
%files dj64-devel
%defattr(-,root,root)
%{_prefix}/i386-pc-dj64/include
%{_prefix}/i386-pc-dj64/lib/*.o
%{_prefix}/i386-pc-dj64/lib64/*.so
%{_prefix}/i386-pc-dj64/share/*
%{_datadir}/pkgconfig/dj64.pc
%{_docdir}/dj64
%end
%package dj64-devel-static
Summary: dj64 static libraries
Requires: dj64dev-dj64-devel = {{{ git_dir_version }}}
%description dj64-devel-static
This package contains static libraries for dj64.
May be needed on non-glibc systems.
%end
%files dj64-devel-static
%defattr(-,root,root)
%{_prefix}/i386-pc-dj64/lib/libc.a
%{_prefix}/i386-pc-dj64/lib64/*.a
%{_datadir}/pkgconfig/dj64_s.pc
%{_datadir}/pkgconfig/dj64static.pc
%end
%package djdev64
Summary: djdev64 runtime libraries
%description djdev64
This package contains runtime libraries for djdev64-enabled DPMI host.
%end
%files djdev64
%defattr(-,root,root)
%{_libdir}/*.so.*
%end
%package djdev64-devel
Summary: djdev64 development libraries and headers
Requires: dj64dev-djdev64 = {{{ git_dir_version }}}
%description djdev64-devel
This package contains development libraries and headers for
djdev64-enabled DPMI host.
%end
%files djdev64-devel
%defattr(-,root,root)
%{_includedir}/djdev64
%{_libdir}/*.so
%{_datadir}/pkgconfig/djdev64.pc
%{_datadir}/pkgconfig/djstub64.pc
%end
%changelog
{{{ git_dir_changelog }}}
%end