So I just want to upload some source code from here: http://www.hampa.ch/pce/

Builds without a problem on my system

./configure
make
make install

I must have wasted hours just trying to figure out what the name of the spec file was supposed to be, changes file. OK got that.

Then I got a sample spec file.

Can't someone make the web interface make the user fill out a web page and then it will create the spec file?

There are so many **** variables - the log keeps coming back with:

error: File not found by glob: /home/abuild/rpmbuild/BUILDROOT/pce-0.2.2-47.1.x86_64/usr/bin/*

WTF am I supposed to do list every binary that builds separately in the spec? I tried that and it gets appended to BUILDROOT.

Pkgsrc is easier to use.

Spec File:

#
# spec file for package pce
#
# -- Copyright omitted --

Name: pce


Version: 0.2.2


Release: 0


License: GPL-2.0


Group: Emulation


Summary: Mac Plus / PC and Atari Emulator


Url: http://www.hampa.ch/pce/


Source: http://www.hampa.ch/pub/pce/pce-0.2.2.tar.gz


BuildRequires: gcc


BuildRequires: make


BuildRoot: %{_tmppath}/%{name}-build

%description

PCE is a collection of microcomputer emulators. At the moment it contains three emulators:

PCE/atarist is an Atari ST emulator. It emulates the various ST and Mega ST models.

PCE/ibmpc is an IBM PC 5150 emulator. It emulates an IBM PC 5150 or an IBM PC/XT 5160.

PCE/macplus is a classic Macintosh emulator. It emulates a Macintosh 128K, Macintosh 512k, Macintosh 512ke, Macintosh Plus, Macintosh SE or a Macintosh Classic.

PCE/rc759 is a Regnecentralen RC759 Piccoline emulator.

%prep


%setup -q -n %{name}-%{version}

%build



%install



%files



%defattr(-,root,root,-)
%doc README LICENSE *.txt
%{_bindir}/*

%changelog