-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathons.spec
77 lines (62 loc) · 2.14 KB
/
ons.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
71
72
73
74
75
76
77
#
# RPM spec file for package OUR NEXT STEP (gfalist)
#
# Please send bugfixes or comments to <[email protected]>.
#
Summary: The GFABASIC4 development package
Vendor: PLASMA
Name: ons
Version: 0.01.a
Release: 1
License: GPL
Group: Development/Languages
Source: https://github.com/mmuman/gfalist
URL: https://github.com/mmuman/gfalist
Packager: Markus Hoffmann <[email protected]>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
OUR NEXT STEP aims at growing into a full featured, cross platform
development system retaining compatibility to the famous GFA-BASIC from
ATARI. It is far from being complete because most of the source which
was written in 1992-1996 still needs to be converted from GFA-BASIC 3.6
to C. Currently it contains only a handy utility named gfalist which
reads binary *.GFA files from GFA-BASIC V3.5/3.6 and outputs the
decoded data in the host system's character set.
%prep
%setup -q
%build
make libsky.a gfalist
%install
mkdir $RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT
mkdir -p .%{_mandir}/man1 .%{_bindir} .%{_includedir}/ons/sky .%{_libdir}
cd -
install -p -s -m 755 gfalist $RPM_BUILD_ROOT%{_bindir}/gfalist
cp -p tables.h sky.h $RPM_BUILD_ROOT%{_includedir}/ons/sky
cp -p version.h $RPM_BUILD_ROOT%{_includedir}/ons
cp -p libsky.a $RPM_BUILD_ROOT%{_libdir}
%clean
test "$RPM_BUILD_ROOT" != / && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING HISTORY
%dir %{_includedir}/ons
%dir %{_includedir}/ons/sky
%{_bindir}/gfalist
%{_includedir}/ons/sky/*.h
%{_includedir}/ons/*.h
%{_libdir}/libsky.a
%changelog
* 2016-01-29 update of URL / contact email
* Mon Sep 9 2002 Peter Backes <[email protected]> 0.00.a.pl11-1
- Removed version.h from package as it's not required.
- Replaced obsolete Copyright tag by License tag.
- Removed gfalist subpackage as it's all contained in the main one.
- Timestamp preservation and general cleanup.
- Adjusted paths to new flat scheme.
- Re-added version.h as ons, not sky component.
* Mon Sep 10 2001 Peter Backes <[email protected]>
- Include library and headers.
- Subpackage with only gfalist
* Tue Sep 7 2001 Markus Hoffmann <[email protected]>
- 1st release