remove RPM stuff

This commit is contained in:
Christopher Mosher 2012-06-03 17:52:35 -04:00
parent a3c58ed780
commit 325df1b862
2 changed files with 1 additions and 55 deletions

View File

@ -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

View File

@ -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}