]> git.pld-linux.org Git - packages/lttoolbox.git/blob - lttoolbox.spec
72b4a691f084cf55b6d1e14860dc6cf821d3c14b
[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.2.0
5 %define subver  svn20130412
6 %define rel     1
7 Release:        2.%{subver}.1
8 License:        GPL v2+
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)
24
25 %description
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.
30
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.
36
37 %package devel
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
44
45 %description devel
46 Header files for lttoolbox library.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki lttoolbox.
50
51 %package static
52 Summary:        Static lttoolbox library
53 Summary(pl.UTF-8):      Statyczna biblioteka lttoolbox
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static lttoolbox library.
59
60 %description static -l pl.UTF-8
61 Statyczna biblioteka lttoolbox.
62
63 %prep
64 %setup -q
65 %patch0 -p0
66 %patch1 -p1
67 %patch2 -p1
68
69 %build
70 %{__libtoolize}
71 %{__aclocal}
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
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*
109
110 %files devel
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
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/liblttoolbox3.a
This page took 0.061739 seconds and 2 git commands to generate.