]> git.pld-linux.org Git - packages/VisualOS.git/blob - VisualOS.spec
- added subpackage pdf_docs
[packages/VisualOS.git] / VisualOS.spec
1 #
2 # TODO:
3 # - add png icon for VisualOS
4
5 %bcond_without  pdf_docs        #build pdf-doc
6
7 %define         _doc_ver        1.0.0
8
9 Summary:        Visual simulator of and operating system
10 Summary(pl):    Wizualny symulator systemu operacyjnego
11 Name:           VisualOS
12 Version:        1.0.5
13 Release:        1
14 License:        GPL
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)
30
31 %description
32 VisualOS is an "visual simulator of and operating system", that will
33 help study and understand the way a real sistem works.
34
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.
40
41 %description -l pl
42 VisualOS jest "wizualnym symulatorem systemu operacyjnego", który
43 pomaga studiowaæ i zrozumieæ jak dzia³a prawdziwy system operacyjny.
44
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
49 przypadku.
50
51 %package doc-pdf
52 Summary:        VisualOS documentation, pdf format
53 Summary(pl):    Dokumentacja do VisualOS w formacie PostScript
54 Group:          Applications/Emulators
55 Requires:       %{name}
56
57 %description doc-pdf
58 VisualOS documentation in pdf format.
59
60 %description doc-pdf -l pl
61 Dokumentacja do VisualOS w formacie pdf.
62
63 %prep
64 %setup -q -a1
65
66 %build
67 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
68 mv -f configure.in.tmp configure.in
69 rm -f missing
70 %{__libtoolize}
71 %{__gettextize}
72 %{__aclocal} -I m4
73 %{__autoconf}
74 %{__automake}
75 %configure
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_desktopdir}
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
85
86 %find_lang %{name}
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc README TODO NEWS ChangeLog
94 %attr(755,root,root) %{_bindir}/*
95 %{_datadir}/%{name}
96 %{_desktopdir}/%{name}.desktop
97 #empty file!
98 #%%{_mandir}/man?/*
99
100 %if %{with pdf_docs}
101 %files doc-pdf
102 %defattr(644,root,root,755)
103 %doc %{name}-%{_doc_ver}/docs/*
104 %endif
This page took 0.435696 seconds and 3 git commands to generate.