]> git.pld-linux.org Git - SPECS.git/blob - hfst-morph-sv.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / hfst-morph-sv.spec
1 Summary:        HFST morphological analysis transducer for Swedish language
2 Summary(pl.UTF-8):      Automat HFST do analizy morfologicznej dla języka szwedzkiego
3 Name:           hfst-morph-sv
4 # or 20110316?
5 Version:        0
6 Release:        1
7 License:        CC-SA v1.0
8 Group:          Applications/Text
9 # source is hfst-swedish.tar.gz, but it doesn't contain scripts
10 Source0:        http://downloads.sourceforge.net/hfst/hfst-swedish-installable.tar.gz
11 # Source0-md5:  fac0f40423b416c2d3bbd5ace51f25c3
12 Patch0:         %{name}-DESTDIR.patch
13 URL:            http://hfst.sourceforge.net/
14 Requires:       hfst
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This is a Swedish Swelex morphological transducer for HFST. It's based
19 on "Den stora svenska ordlistan" <http://dsso.se/>.
20
21 %description -l pl.UTF-8
22 Ten pakiet zawiera automat Swelex dla HFST do analizy morfologicznej
23 języka szwedzkiego. Jest oparty na "Den stora svenska ordlistan"
24 <http://dsso.se/>.
25
26 %prep
27 %setup -q -n hfst-swedish-installable
28 %patch0 -p1
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} install \
34         DESTDIR=$RPM_BUILD_ROOT \
35         prefix=%{_prefix}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc README
43 %attr(755,root,root) %{_bindir}/swedish-analyze.sh
44 %attr(755,root,root) %{_bindir}/swedish-generate.sh
45 %{_datadir}/hfst/sv
This page took 0.681454 seconds and 3 git commands to generate.