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