--- /dev/null
+Summary: Virtual operating system.
+Summary(pl): Wirtualny system operacyjny.
+Name: argante
+Version: 0.009
+Release: 1
+License: LGPL
+Group: Applications/System
+Group(de): Applikationen/System
+Group(pl): Aplikacje/System
+Source0: http://lcamtuf.na.export.pl/arg.tgz
+Patch0: %{name}-build.patch
+URL: http://agt.buka.org/
+Vendor: Argante Development Team <argante@cgs.pl>
+BuildRequires: grep
+BuildRequires: svgalib-devel
+BuildRequires: openssl-devel
+BuildRequires: ncurses-devel
+BuildRequires: binutils
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Argante is a fully-operational, software-embedded virtual operating
+system environment, designed for high security, efficiency and
+usability, reducing amount of resources required to develop complex
+networked applications and solutions. It supports Hierarchical Access
+Control, remote Inter-Process Communication for distributed computing
+(easy clusters / virtual router development) as well as many other
+features. It comes with comprehensive documentation, many examples, a
+compact HTTP server and DVR (distributed virtual router) examples.
+
+%description -l pl
+Argante to w pe³ni-sprawnym virtualnym systemem operacyjnym
+zaprojektowanym do tworzenia aplikacji i rozwi±zañ sieciowych o
+wysokim poziomie bezpieczeñstwa, skuteczno¶ci i u¿yteczno¶ci. System
+wspiera HAC (hierarchiczne listy dostêpu, zdaln± komunikacjê
+miêdzyprocesow± dla przetwarzania rozproszonego (klastry, wirtualne
+routery) jak i wiele innych. Wraz z systemem dostarczana jest
+dokumentacja, wiele przyk³adów, kompaktowy serwer HTTP oraz DVR
+(rozproszony router wirtualny).
+
+%prep
+%setup -q -n Argante
+%patch -p1
+touch * */* */*/*
+
+%build
+OPT="$RPM_OPT_FLAGS" ./build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_libdir}/argante
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
+install argante $RPM_BUILD_ROOT%{_bindir}
+install tools/{agt*,ripcd} $RPM_BUILD_ROOT%{_bindir}
+install compiler/agtc $RPM_BUILD_ROOT%{_bindir}
+install hll/{ahlt,elim,acc} $RPM_BUILD_ROOT%{_bindir}
+install modules/*.so $RPM_BUILD_ROOT%{_libdir}/argante
+install Documentation/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+gzip -9nf Documentation/{ANNOUNCE,ChangeLog,DVR.README,People,README,TODO}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Documentation/*.gz Documentation/IPC Examples conf
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %dir %{_libdir}/argante
+%attr(755,root,root) %{_libdir}/argante/*.so
+%{_mandir}/man*/*