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