1 Summary: Augmented letter transducer tools for natural language processing
2 Summary(pl.UTF-8): Narzędzia do przetwarzania słów w językach naturalnych
5 %define subver svn20130412
9 Group: Applications/Text
10 Source0: http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz
11 # Source0-md5: 708e7de837ed363f7103035ef2849fe4
12 Patch0: %{name}-svn20130412.patch
13 Patch1: %{name}-soname.patch
14 Patch2: %{name}-opt.patch
15 URL: http://wiki.apertium.org/wiki/Lttoolbox
16 BuildRequires: autoconf >= 2.52
17 BuildRequires: automake
18 BuildRequires: libstdc++-devel
19 BuildRequires: libtool >= 2:1.5
20 BuildRequires: libxml2-devel >= 1:2.6.17
21 BuildRequires: pkgconfig
22 Requires: libxml2 >= 1:2.6.17
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 lttoolbox is a toolbox for lexical processing, morphological analysis
27 and generation of words. The analysis is the process of splitting a
28 word (e.g. cats) into its lemma 'cat' and the grammatical information
29 <n><pl>. The generation is the opposite process.
31 %description -l pl.UTF-8
32 lttoolbox to zestaw narzędzi do przetwarzania leksykalnego, analizy
33 morfologicznej i tworzenia słów. Analiza to proces podziału słowa (np.
34 "koty") na rdzeń "kot" i informację gramatyczną (rzeczownik liczby
35 mnogiej). Tworzenie słów to proces odwrotny.
38 Summary: Header files for lttoolbox library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki lttoolbox
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
42 Requires: libstdc++-devel
43 Requires: libxml2-devel >= 1:2.6.17
46 Header files for lttoolbox library.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki lttoolbox.
52 Summary: Static lttoolbox library
53 Summary(pl.UTF-8): Statyczna biblioteka lttoolbox
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Static lttoolbox library.
60 %description static -l pl.UTF-8
61 Statyczna biblioteka lttoolbox.
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README
94 %attr(755,root,root) %{_bindir}/lt-comp
95 %attr(755,root,root) %{_bindir}/lt-expand
96 %attr(755,root,root) %{_bindir}/lt-print
97 %attr(755,root,root) %{_bindir}/lt-proc
98 %attr(755,root,root) %{_bindir}/lt-tmxcomp
99 %attr(755,root,root) %{_bindir}/lt-tmxproc
100 %attr(755,root,root) %{_libdir}/liblttoolbox3-3.2.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/liblttoolbox3-3.2.so.1
102 %{_datadir}/lttoolbox
103 %{_mandir}/man1/lt-comp.1*
104 %{_mandir}/man1/lt-expand.1*
105 %{_mandir}/man1/lt-print.1*
106 %{_mandir}/man1/lt-proc.1*
107 %{_mandir}/man1/lt-tmxcomp.1*
108 %{_mandir}/man1/lt-tmxproc.1*
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/liblttoolbox3.so
113 %{_libdir}/liblttoolbox3.la
114 %{_includedir}/lttoolbox-3.2
115 %{_pkgconfigdir}/lttoolbox-3.2.pc
118 %defattr(644,root,root,755)
119 %{_libdir}/liblttoolbox3.a