]> git.pld-linux.org Git - packages/lttoolbox.git/blame - lttoolbox.spec
- updated to 3.3.1 (note: soname changed)
[packages/lttoolbox.git] / lttoolbox.spec
CommitLineData
6b9e13ca
JB
1Summary: Augmented letter transducer tools for natural language processing
2Summary(pl.UTF-8): Narzędzia do przetwarzania słów w językach naturalnych
3Name: lttoolbox
78ddaac8
JB
4Version: 3.3.1
5Release: 1
6b9e13ca
JB
6License: GPL v2+
7Group: Applications/Text
8Source0: http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz
78ddaac8
JB
9# Source0-md5: d50479b2376a4839b7acac352505623e
10Patch0: %{name}-opt.patch
6b9e13ca
JB
11URL: http://wiki.apertium.org/wiki/Lttoolbox
12BuildRequires: autoconf >= 2.52
13BuildRequires: automake
14BuildRequires: libstdc++-devel
15BuildRequires: libtool >= 2:1.5
16BuildRequires: libxml2-devel >= 1:2.6.17
17BuildRequires: pkgconfig
18Requires: libxml2 >= 1:2.6.17
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22lttoolbox is a toolbox for lexical processing, morphological analysis
23and generation of words. The analysis is the process of splitting a
24word (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
28lttoolbox to zestaw narzędzi do przetwarzania leksykalnego, analizy
29morfologicznej i tworzenia słów. Analiza to proces podziału słowa (np.
30"koty") na rdzeń "kot" i informację gramatyczną (rzeczownik liczby
31mnogiej). Tworzenie słów to proces odwrotny.
32
33%package devel
34Summary: Header files for lttoolbox library
35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki lttoolbox
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38Requires: libstdc++-devel
39Requires: libxml2-devel >= 1:2.6.17
40
41%description devel
42Header files for lttoolbox library.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe biblioteki lttoolbox.
46
47%package static
48Summary: Static lttoolbox library
49Summary(pl.UTF-8): Statyczna biblioteka lttoolbox
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52
53%description static
54Static lttoolbox library.
55
56%description static -l pl.UTF-8
57Statyczna biblioteka lttoolbox.
58
59%prep
60%setup -q
78ddaac8 61%patch0 -p1
6b9e13ca
JB
62
63%build
64%{__libtoolize}
65%{__aclocal}
66%{__autoconf}
67%{__autoheader}
68%{__automake}
69%configure
70
71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
78
79%clean
80rm -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
4306e092 90%attr(755,root,root) %{_bindir}/lt-print
6b9e13ca
JB
91%attr(755,root,root) %{_bindir}/lt-proc
92%attr(755,root,root) %{_bindir}/lt-tmxcomp
93%attr(755,root,root) %{_bindir}/lt-tmxproc
78ddaac8
JB
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
6b9e13ca
JB
97%{_datadir}/lttoolbox
98%{_mandir}/man1/lt-comp.1*
99%{_mandir}/man1/lt-expand.1*
4306e092 100%{_mandir}/man1/lt-print.1*
6b9e13ca
JB
101%{_mandir}/man1/lt-proc.1*
102%{_mandir}/man1/lt-tmxcomp.1*
103%{_mandir}/man1/lt-tmxproc.1*
78ddaac8 104%{_mandir}/man1/lt-trim.1*
6b9e13ca
JB
105
106%files devel
107%defattr(644,root,root,755)
108%attr(755,root,root) %{_libdir}/liblttoolbox3.so
109%{_libdir}/liblttoolbox3.la
78ddaac8
JB
110%{_includedir}/lttoolbox-3.3
111%{_pkgconfigdir}/lttoolbox.pc
6b9e13ca
JB
112
113%files static
114%defattr(644,root,root,755)
115%{_libdir}/liblttoolbox3.a
This page took 0.090257 seconds and 4 git commands to generate.