]> git.pld-linux.org Git - packages/VisualOS.git/blame - VisualOS.spec
- updated gettext BR
[packages/VisualOS.git] / VisualOS.spec
CommitLineData
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 10Summary: Visual simulator of and operating system
c35c2bd0 11Summary(pl.UTF-8): Wizualny symulator systemu operacyjnego
600750b0 12Name: VisualOS
b2cc415d 13Version: 1.0.5
b28e526e 14Release: 2
600750b0 15License: GPL
16Group: Applications/Emulators
bf664c80 17Source0: http://dl.sourceforge.net/visualos/%{name}-%{version}.tar.gz
b2cc415d 18# Source0-md5: db0db4fe4251038fcfe0b2e7f5feefa4
bf664c80 19Source1: http://dl.sourceforge.net/visualos/%{name}-%{_doc_ver}-docs-pdf.tar.gz
3a88338b 20# Source1-md5: c1523518371ec80a9df17476a298ca5f
21Source2: %{name}.desktop
600750b0 22URL: http://visualos.sourceforge.net/
97c3296d 23BuildRequires: autoconf
b28e526e 24BuildRequires: automake
ddb0d011 25BuildRequires: gettext-tools
b28e526e 26BuildRequires: gnome-libs-devel
c0fe355e 27BuildRequires: libglade-gnome-devel
b28e526e 28BuildRequires: libtool
600750b0 29BuildRequires: transfig
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
600750b0 32%description
33VisualOS is an "visual simulator of and operating system", that will
34help study and understand the way a real sistem works.
35
36It allows the user to insert processes in the running system,
37assigning them properties (memory usage, processing bursts, IO
38accesses) and VisualOS will dynamically show different graphical
39representations of each subsystem. It is also posible to select the
40algorithm to be used in each case.
41
0fc01a63
JR
42%description -l pl.UTF-8
43VisualOS jest "wizualnym symulatorem systemu operacyjnego", który
44pomaga studiować i zrozumieć jak działa prawdziwy system operacyjny.
600750b0 45
0fc01a63
JR
46Pozwala użytkownikowi wstawiać procesy do uruchomionego systemu,
47przypisywać im właściwości (wykorzystanie pamięci, procesora, IO) a
48VisualOS będzie dynamicznie pokazywać reprezentacje każdego
49podsystemu. Można także wybrać algorytm do wykorzystania w każdym
600750b0 50przypadku.
51
3a88338b 52%package doc-pdf
bf664c80 53Summary: VisualOS documentation, PDF format
c35c2bd0 54Summary(pl.UTF-8): Dokumentacja do VisualOS w formacie PDF
0779d6e2 55Group: Documentation
bf664c80 56Requires: %{name} = %{version}-%{release}
3a88338b 57
58%description doc-pdf
bf664c80 59VisualOS documentation in PDF format.
3a88338b 60
0fc01a63 61%description doc-pdf -l pl.UTF-8
bf664c80 62Dokumentacja do VisualOS w formacie PDF.
3a88338b 63
600750b0 64%prep
3a88338b 65%setup -q -a1
600750b0 66
67%build
97c3296d 68sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
69mv -f configure.in.tmp configure.in
70rm -f missing
71%{__libtoolize}
e0cf2c05 72%{__gettextize}
73%{__aclocal} -I m4
97c3296d 74%{__autoconf}
75%{__automake}
76%configure
600750b0 77%{__make}
78
79%install
80rm -rf $RPM_BUILD_ROOT
3a88338b 81install -d $RPM_BUILD_ROOT%{_desktopdir}
97c3296d 82
83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
b28e526e 85
3a88338b 86install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
97c3296d 87
88%find_lang %{name}
600750b0 89
90%clean
91rm -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
This page took 0.085461 seconds and 4 git commands to generate.