]> git.pld-linux.org Git - packages/yasr.git/blob - yasr.spec
- updated gettext BR
[packages/yasr.git] / yasr.spec
1 Summary:        Yet another screen reader
2 Summary(pl.UTF-8):      Jeszcze jeden screen reader
3 Name:           yasr
4 Version:        0.6.9
5 Release:        2
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/yasr/%{name}-%{version}.tar.gz
9 # Source0-md5:  daec224676fb2db5a1936b399f559473
10 Patch0:         %{name}-am.patch
11 Patch1:         %{name}-conf_settings.patch
12 Patch2:         %{name}-gcc43.patch
13 URL:            http://yasr.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-tools
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Yasr is a general-purpose console screen reader for GNU/Linux and
21 other Unix-like operating systems. The name "yasr" is an acronym that
22 can stand for either "Yet Another Screen Reader" or "Your All-purpose
23 Screen Reader" (take your pick; it doesn't really matter much). It
24 supports a number of synthesizers, although interfacing issues exist
25 with some of them at the moment. Currently, yasr attempts to support
26 the Speak-out, DEC-talk, BNS, Apollo, and DoubleTalk. It is also able
27 to communicate with Emacspeak servers and can thus be used with
28 synthesizers not directly supported, such as Festival Lite (via
29 eflite) or FreeTTS. It is small enough to fit on a root disk if
30 necessary (provided an Emacspeak server is not needed, of course). It
31 is written in C and works by opening a pseudo-terminal and running a
32 shell, intercepting all input and output. It looks at the escape
33 sequences being sent and maintains a virtual "window" containing what
34 it believes to be on the screen. It thus does not use any features
35 specific to Linux and can be ported to other Unix-like operating
36 systems without too much trouble.
37
38 %description -l pl.UTF-8
39 Yasr to czytnik ekranu ogólnego przeznaczenia dla Linuksa i innych
40 uniksowych systemów operacyjnych. Nazwa "yasr" to skrót oznaczający
41 "Yet Another Screen Reader" (jeszcze jeden czytnik ekranu) albo
42 "Your All-purpose Screen Reader" (Twój czytnik ekranu dowolnego
43 zastosowania) - można wybrać dowolny z nich. Obsługuje wiele
44 syntezatorów mowy, choć obecnie z niektórymi są pewne problemy.
45 Aktualnie yasr próbuje obsługiwać Speak-out, DEC-talk, BNS, Apollo
46 i DoubleTalk. Może także komunikować się z serwerami Emacspeak, dzięki
47 czemu może być używany z syntezatorami nie obsługiwanymi bezpośrednio,
48 takimi jak Festival Lite (poprzez eflite) czy FreeTTS. Jest na tyle
49 mały, by w razie potrzeby zmieścić się na głównym dysku (o ile nie
50 potrzebny jest serwer Emacspeak). Jest napisany w C i działa
51 poprzez otwarcie pseudoterminala, uruchomienie powłoki i
52 przechwytywanie całego wejścia i wyjścia. Wyszukuje wysyłane sekwencje
53 sterujące i utrzymuje wirtualne "okno" zawierające wszystko co uważa
54 za wyświetlone na ekranie. W ten sposób nie wykorzystuje niczego
55 specyficznego dla Linuksa, więc może być bez większych problemów
56 przenoszony na inne uniksowe systemy operacyjne.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62 %patch2 -p1
63
64 %build
65 %{__gettextize}
66 %{__aclocal}
67 %{__autoconf}
68 %{__autoheader}
69 %{__automake}
70 %configure
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %find_lang %{name}
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files -f %{name}.lang
85 %defattr(644,root,root,755)
86 %doc AUTHORS BUGS CREDITS ChangeLog NEWS README TODO
87 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yasr.conf
88 %attr(755,root,root) %{_bindir}/*
89 %{_mandir}/man1/*.1*
This page took 0.063601 seconds and 4 git commands to generate.