]>
Commit | Line | Data |
---|---|---|
97c3296d | 1 | # |
2 | # TODO: | |
3a88338b | 3 | # - add png icon for VisualOS |
bf664c80 JB |
4 | # |
5 | # Conditional build: | |
261de884 | 6 | %bcond_without pdf_docs # don't build pdf documentation |
bf664c80 | 7 | # |
261de884 | 8 | %define _doc_ver 1.0.0 |
3a88338b | 9 | |
8d8b98f3 | 10 | Summary: Visual simulator of and operating system |
c35c2bd0 | 11 | Summary(pl.UTF-8): Wizualny symulator systemu operacyjnego |
600750b0 | 12 | Name: VisualOS |
b2cc415d | 13 | Version: 1.0.5 |
b28e526e | 14 | Release: 2 |
600750b0 | 15 | License: GPL |
16 | Group: Applications/Emulators | |
bf664c80 | 17 | Source0: http://dl.sourceforge.net/visualos/%{name}-%{version}.tar.gz |
b2cc415d | 18 | # Source0-md5: db0db4fe4251038fcfe0b2e7f5feefa4 |
bf664c80 | 19 | Source1: http://dl.sourceforge.net/visualos/%{name}-%{_doc_ver}-docs-pdf.tar.gz |
3a88338b | 20 | # Source1-md5: c1523518371ec80a9df17476a298ca5f |
21 | Source2: %{name}.desktop | |
600750b0 | 22 | URL: http://visualos.sourceforge.net/ |
97c3296d | 23 | BuildRequires: autoconf |
b28e526e | 24 | BuildRequires: automake |
ddb0d011 | 25 | BuildRequires: gettext-tools |
b28e526e | 26 | BuildRequires: gnome-libs-devel |
c0fe355e | 27 | BuildRequires: libglade-gnome-devel |
b28e526e | 28 | BuildRequires: libtool |
600750b0 | 29 | BuildRequires: transfig |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
600750b0 | 32 | %description |
33 | VisualOS is an "visual simulator of and operating system", that will | |
34 | help study and understand the way a real sistem works. | |
35 | ||
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. | |
41 | ||
0fc01a63 JR |
42 | %description -l pl.UTF-8 |
43 | VisualOS jest "wizualnym symulatorem systemu operacyjnego", który | |
44 | pomaga studiować i zrozumieć jak działa prawdziwy system operacyjny. | |
600750b0 | 45 | |
0fc01a63 JR |
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 | |
600750b0 | 50 | przypadku. |
51 | ||
3a88338b | 52 | %package doc-pdf |
bf664c80 | 53 | Summary: VisualOS documentation, PDF format |
c35c2bd0 | 54 | Summary(pl.UTF-8): Dokumentacja do VisualOS w formacie PDF |
0779d6e2 | 55 | Group: Documentation |
bf664c80 | 56 | Requires: %{name} = %{version}-%{release} |
3a88338b | 57 | |
58 | %description doc-pdf | |
bf664c80 | 59 | VisualOS documentation in PDF format. |
3a88338b | 60 | |
0fc01a63 | 61 | %description doc-pdf -l pl.UTF-8 |
bf664c80 | 62 | Dokumentacja do VisualOS w formacie PDF. |
3a88338b | 63 | |
600750b0 | 64 | %prep |
3a88338b | 65 | %setup -q -a1 |
600750b0 | 66 | |
67 | %build | |
97c3296d | 68 | sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp |
69 | mv -f configure.in.tmp configure.in | |
70 | rm -f missing | |
71 | %{__libtoolize} | |
e0cf2c05 | 72 | %{__gettextize} |
73 | %{__aclocal} -I m4 | |
97c3296d | 74 | %{__autoconf} |
75 | %{__automake} | |
76 | %configure | |
600750b0 | 77 | %{__make} |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
3a88338b | 81 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
97c3296d | 82 | |
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
b28e526e | 85 | |
3a88338b | 86 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} |
97c3296d | 87 | |
88 | %find_lang %{name} | |
600750b0 | 89 | |
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
97c3296d | 93 | %files -f %{name}.lang |
600750b0 | 94 | %defattr(644,root,root,755) |
97c3296d | 95 | %doc README TODO NEWS ChangeLog |
600750b0 | 96 | %attr(755,root,root) %{_bindir}/* |
97c3296d | 97 | %{_datadir}/%{name} |
3a88338b | 98 | %{_desktopdir}/%{name}.desktop |
3a88338b | 99 | |
100 | %if %{with pdf_docs} | |
101 | %files doc-pdf | |
102 | %defattr(644,root,root,755) | |
103 | %doc %{name}-%{_doc_ver}/docs/* | |
104 | %endif |