- 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:
parent
5df227431b
commit
e2f760c2bf
4 changed files with 262 additions and 185 deletions
|
@ -1,9 +1,8 @@
|
|||
Package: sgpemv2
|
||||
Version: 0.9b
|
||||
Section: misc
|
||||
Source: http://www.smoking-gnu.net/res/tar-pit/sgpemv2/sgpemv2-0.9b.tar.bz2
|
||||
Priority: optional
|
||||
Architecture: i386
|
||||
Architecture: i386 ppc
|
||||
Pre-Depends: libstdc++6
|
||||
Depends: libgtkmm-2.4-1c2a, libglademm-2.4-1c2a, libxml2 (>= 2.6.10), libcairo, python (>= 2.3)
|
||||
Installed-Size: 3049.85
|
48
distro/rpm/specfile-0.9b
Normal file
48
distro/rpm/specfile-0.9b
Normal 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.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue