]> git.pld-linux.org Git - packages/lttoolbox.git/blob - lttoolbox.spec
eb4e88a88944918ff155c7a212d46979bf2fe6eb
[packages/lttoolbox.git] / lttoolbox.spec
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
3 Name:           lttoolbox
4 Version:        3.3.3
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Text
8 Source0:        http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz
9 # Source0-md5:  0bfac9f5ae0f8769a75b18c3fdff827f
10 URL:            http://wiki.apertium.org/wiki/Lttoolbox
11 BuildRequires:  autoconf >= 2.52
12 BuildRequires:  automake
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  libtool >= 2:1.5
15 BuildRequires:  libxml2-devel >= 1:2.6.17
16 BuildRequires:  pkgconfig
17 Requires:       libxml2 >= 1:2.6.17
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 lttoolbox is a toolbox for lexical processing, morphological analysis
22 and generation of words. The analysis is the process of splitting a
23 word (e.g. cats) into its lemma 'cat' and the grammatical information
24 <n><pl>. The generation is the opposite process.
25
26 %description -l pl.UTF-8
27 lttoolbox to zestaw narzędzi do przetwarzania leksykalnego, analizy
28 morfologicznej i tworzenia słów. Analiza to proces podziału słowa (np.
29 "koty") na rdzeń "kot" i informację gramatyczną (rzeczownik liczby
30 mnogiej). Tworzenie słów to proces odwrotny.
31
32 %package devel
33 Summary:        Header files for lttoolbox library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki lttoolbox
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       libstdc++-devel
38 Requires:       libxml2-devel >= 1:2.6.17
39
40 %description devel
41 Header files for lttoolbox library.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki lttoolbox.
45
46 %package static
47 Summary:        Static lttoolbox library
48 Summary(pl.UTF-8):      Statyczna biblioteka lttoolbox
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Static lttoolbox library.
54
55 %description static -l pl.UTF-8
56 Statyczna biblioteka lttoolbox.
57
58 %prep
59 %setup -q
60
61 %build
62 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %{__autoheader}
66 %{__automake}
67 %configure
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README
86 %attr(755,root,root) %{_bindir}/lt-comp
87 %attr(755,root,root) %{_bindir}/lt-expand
88 %attr(755,root,root) %{_bindir}/lt-print
89 %attr(755,root,root) %{_bindir}/lt-proc
90 %attr(755,root,root) %{_bindir}/lt-tmxcomp
91 %attr(755,root,root) %{_bindir}/lt-tmxproc
92 %attr(755,root,root) %{_bindir}/lt-trim
93 %attr(755,root,root) %{_libdir}/liblttoolbox3-3.3.so.*.*.*
94 %attr(755,root,root) %ghost %{_libdir}/liblttoolbox3-3.3.so.0
95 %{_datadir}/lttoolbox
96 %{_mandir}/man1/lt-comp.1*
97 %{_mandir}/man1/lt-expand.1*
98 %{_mandir}/man1/lt-print.1*
99 %{_mandir}/man1/lt-proc.1*
100 %{_mandir}/man1/lt-tmxcomp.1*
101 %{_mandir}/man1/lt-tmxproc.1*
102 %{_mandir}/man1/lt-trim.1*
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/liblttoolbox3.so
107 %{_libdir}/liblttoolbox3.la
108 %{_includedir}/lttoolbox-3.3
109 %{_pkgconfigdir}/lttoolbox.pc
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/liblttoolbox3.a
This page took 0.046962 seconds and 2 git commands to generate.