3 # - add png icon for VisualOS
5 %bcond_without pdf_docs #build pdf-doc
9 Summary: Visual simulator of and operating system
10 Summary(pl): Wizualny symulator systemu operacyjnego
15 Group: Applications/Emulators
16 Source0: http://dl.sourceforge.net/sourceforge/visualos/%{name}-%{version}.tar.gz
17 # Source0-md5: db0db4fe4251038fcfe0b2e7f5feefa4
18 Source1: http://dl.sourceforge.net/sourceforge/visualos/%{name}-%{_doc_ver}-docs-pdf.tar.gz
19 # Source1-md5: c1523518371ec80a9df17476a298ca5f
20 Source2: %{name}.desktop
21 URL: http://visualos.sourceforge.net/
22 BuildRequires: automake
23 BuildRequires: autoconf
24 BuildRequires: libtool
25 BuildRequires: gnome-libs-devel
26 BuildRequires: gettext-devel
27 BuildRequires: libglade-gnome-devel
28 BuildRequires: transfig
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 VisualOS is an "visual simulator of and operating system", that will
33 help study and understand the way a real sistem works.
35 It allows the user to insert processes in the running system,
36 assigning them properties (memory usage, processing bursts, IO
37 accesses) and VisualOS will dynamically show different graphical
38 representations of each subsystem. It is also posible to select the
39 algorithm to be used in each case.
42 VisualOS jest "wizualnym symulatorem systemu operacyjnego", który
43 pomaga studiowaæ i zrozumieæ jak dzia³a prawdziwy system operacyjny.
45 Pozwala u¿ytkownikowi wstawiaæ procesy do uruchomionego systemu,
46 przypisywaæ im w³a¶ciwo¶ci(wykorzystanie pamiêci, procesora, IO) a
47 VisualOS bêdzie dynamicznie pokazywaæ reprezentacje ka¿dego
48 podsystemu. Mo¿na tak¿e wybraæ algorytm do wykorzystania w ka¿dym
52 Summary: VisualOS documentation, pdf format
53 Summary(pl): Dokumentacja do VisualOS w formacie PostScript
54 Group: Applications/Emulators
58 VisualOS documentation in pdf format.
60 %description doc-pdf -l pl
61 Dokumentacja do VisualOS w formacie pdf.
67 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
68 mv -f configure.in.tmp configure.in
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_desktopdir}
83 DESTDIR=$RPM_BUILD_ROOT
84 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
89 rm -rf $RPM_BUILD_ROOT
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc README TODO NEWS ChangeLog
94 %attr(755,root,root) %{_bindir}/*
96 %{_desktopdir}/%{name}.desktop
102 %defattr(644,root,root,755)
103 %doc %{name}-%{_doc_ver}/docs/*