- Rename deb control file

- Add distro files to makefile for distribution
- Add a draft of an RPM specfile


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1145 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-14 12:29:43 +00:00
parent 5df227431b
commit e2f760c2bf
4 changed files with 262 additions and 185 deletions

48
distro/rpm/specfile-0.9b Normal file
View file

@ -0,0 +1,48 @@
# Please complete this file and keep it up-to-date for each release.
# See: http://www.rpm.org/max-rpm/p5208.html for an explanation.
# todo: set the RPM_BUILD_ROOT in the preable!
Summary: A graphical process management simulator for a multitasking computer
Name: sgpemv2
Version: 0.9b
Release: 1
Copyright: GPL-2
Group: Applications/
Source: http://www.smoking-gnu.net/res/tar-pit/sgpemv2/sgpemv2-0.9b.tar.bz2
URL: http://www.smoking-gnu.net/xhtml/projects.php?sgpemv2
Packager: Luca Vezzaro <lvezzaro@studenti.math.unipd.it>
%description
SGPEM is an Italian acronym, standing for "Simulatore della Gestione
dei Processi in un Elaboratore Multiprogrammato" (in English, "Process
Management Simulator for a Multitasking Computer"). It was initially
developed for use inside the "Operating Systems" teaching, part of the
Computer Science course of the University of Padova, Italy. The aim of
SGPEM is to provide an easy-to-use environment for simulating process
scheduling policies, and for assigning resources in a multitasking
computer. SGPEMv2 is an educational software, and it can help students
to better understand the functionality of operating systems.
%prep
%setup
%build
cd ${RPM_BUILD_DIR}/${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}
mkdir build && cd build
CXXFLAGS="-O3 -pipe" ../configure --prefix=/usr \
--mandir=/usr/share/man --infodir=/usr/share/info \
--datadir=/usr/share --sysconfdir=/etc \
--localstatedir=/var/lib --disable-tests
make
make pdf
%install
make install DESTDIR="${RPM_BUILD_ROOT}"
%files
%doc README AUTHORS ChangeLog NEWS doc/sgpem2uman.pdf doc/sgpem2dman.pdf
# TODO: add here the file list, probably using ``find'' on the
# installation directory and then stripping the leading dot.