sgpemv2/distro/rpm/specfile-0.9b

49 lines
1.7 KiB
Plaintext

# 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.