]>
Commit | Line | Data |
---|---|---|
51abb36e | 1 | %define fversion %(echo %{version} |tr . _) |
2 | Summary: Finite-State Machine Library | |
f380dab2 | 3 | Summary(pl.UTF-8): Biblioteka automatów skończonych |
51abb36e | 4 | Name: fsm |
5 | Version: 4.0 | |
6 | Release: 1 | |
7 | License: Free for educational use, non-distributable | |
674e9b79 | 8 | Group: Applications/Text |
51abb36e | 9 | # from http://akpublic.research.att.com/cgi-bin/access.cgi/as/vt/ext-software/www-ne-license.cgi?form.fsm.binary |
10 | Source0: %{name}-%{fversion}.linux.i386.tar.gz | |
51abb36e | 11 | URL: http://www.research.att.com/sw/tools/fsm/ |
12 | ExclusiveArch: %{ix86} | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | The FSM library is a set of general-purpose software tools available | |
17 | for Unix, for building, combining, optimizing, and searching weighted | |
18 | finite-state acceptors and transducers. Finite-state transducers are | |
19 | automata for which each transition has an output label in addition to | |
20 | the more familiar input label. Weighted acceptors or transducers are | |
21 | acceptors or transducers in which each transition has a weight as well | |
22 | as the input or input and output labels. | |
23 | ||
f380dab2 JR |
24 | %description -l pl.UTF-8 |
25 | Biblioteka FSM to zbiór narzędzi ogólnego przeznaczenia dostępnych dla | |
26 | Uniksa służących do budowania, łączenia, optymalizacji i | |
27 | przeszukiwania akceptorów i transduktorów ważonych o skończonej | |
28 | liczbie stanów. Transduktory skończone to automaty, dla których każde | |
29 | przejście ma etykietę wyjściową oprócz bardziej znanej etykiety | |
30 | wejściowej. Akceptory i transduktory ważone to akceptory i | |
31 | transduktory, w których każde przejście ma wagę oprócz etykiety | |
32 | wejściowej lub wejściowej i wyjściowej. | |
674e9b79 | 33 | |
51abb36e | 34 | %prep |
35 | %setup -q | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,3}} | |
40 | install bin/* $RPM_BUILD_ROOT%{_bindir} | |
41 | install doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
42 | install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3 | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc doc/CHANGES | |
50 | %attr(755,root,root) %{_bindir}/* | |
51 | %{_mandir}/man?/* |