mirror of
https://github.com/cmosher01/Epple-II.git
synced 2024-09-27 07:54:58 +00:00
remove RPM stuff
This commit is contained in:
parent
a3c58ed780
commit
325df1b862
25
Makefile.am
25
Makefile.am
@ -1,28 +1,5 @@
|
||||
SUBDIRS = src conf installer
|
||||
|
||||
NAME = epple2
|
||||
VERSION = 1.1
|
||||
ARCH = i386
|
||||
|
||||
EXTRA_DIST = COPYING.sdl COPYING.other epple2.spec
|
||||
|
||||
RPM := $(abspath rpm)
|
||||
|
||||
package: $(NAME).spec dist
|
||||
mkdir -p $(RPM)/BUILD
|
||||
mkdir -p $(RPM)/BUILDROOT
|
||||
mkdir -p $(RPM)/RPMS
|
||||
mkdir -p $(RPM)/SOURCES
|
||||
mkdir -p $(RPM)/SPECS
|
||||
mkdir -p $(RPM)/SRPMS
|
||||
mkdir -p $(RPM)/VPATH
|
||||
cp $(NAME)-$(VERSION).tar.gz $(RPM)/SOURCES
|
||||
touch .rpmmacros
|
||||
echo "%_prefix $(prefix)" >>$(RPM)/.rpmmacros
|
||||
echo "%_sysconfdir $(sysconfdir)" >>$(RPM)/.rpmmacros
|
||||
echo "%_topdir $(RPM)" >>$(RPM)/.rpmmacros
|
||||
HOME=$(RPM) rpmbuild -ba --clean --buildroot $(RPM)/BUILDROOT $<
|
||||
fakeroot alien $(RPM)/RPMS/$(ARCH)/$(NAME)-$(VERSION)-1.$(ARCH).rpm
|
||||
EXTRA_DIST = COPYING.sdl COPYING.other
|
||||
|
||||
.PHONY: site doc
|
||||
|
||||
|
31
epple2.spec
31
epple2.spec
@ -1,31 +0,0 @@
|
||||
Summary: EPPLE ][, The Emulated Apple ][
|
||||
Name: epple2
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
License: GPL
|
||||
Group: System/Emulators/Other
|
||||
|
||||
%description
|
||||
EPPLE ][ is an emulator of Apple ][ and Apple ][ plus computers.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
cd ../../VPATH
|
||||
if [ -x ./config.status ]
|
||||
then
|
||||
./config.status
|
||||
else
|
||||
../BUILD/%{name}-%{version}/configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
|
||||
fi
|
||||
make
|
||||
|
||||
%install
|
||||
cd ../../VPATH
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_sysconfdir}/%{name}
|
Loading…
Reference in New Issue
Block a user