Permalink
Browse files

remove RPM stuff

  • Loading branch information...
1 parent a3c58ed commit 325df1b86290c41312c91ac3380b983f78dbf125 @cmosher01 committed Jun 3, 2012
Showing with 1 addition and 55 deletions.
  1. +1 −24 Makefile.am
  2. +0 −31 epple2.spec
View
@@ -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
@@ -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}

0 comments on commit 325df1b

Please sign in to comment.