/[packages]/cauldron/hspell/current/SPECS/hspell.spec
ViewVC logotype

Contents of /cauldron/hspell/current/SPECS/hspell.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17745 - (show annotations) (download)
Fri Jan 14 17:59:47 2011 UTC (11 years ago) by mikala
File size: 2374 byte(s)
- Drop mdk macros

1 %define major 0
2 %define libname %mklibname %{name} %{major}
3 %define develname %mklibname %{name} -d
4
5 Summary: Free Hebrew linguistic project
6 Name: hspell
7 Version: 1.1
8 Release: %mkrel 2
9 Group: Text tools
10 License: LGPL
11 URL: http://www.ivrix.org.il/projects/spell-checker/
12 Source0: %{name}-%{version}.tar.bz2
13 BuildRequires: automake1.8
14 Requires: %{libname} = %{version}-%{release}
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16
17 %description
18 The Hspell project is a free Hebrew linguistic project.
19 Its primary goal is to create a free Hebrew spell-checker.
20 In addition to a spell-checker, the project also produced a Hebrew
21 morphological analyzer, which for every valid Hebrew word lists all of its
22 possible readings (valid combinations of prefix and inflected base word).
23 The secondary goal of the project is to make the algorithms and dictionaries,
24 created initially for the spell-checker, freely available. These could be used
25 in more sophisticated research or applications that require Hebrew word lists
26 or a Hebrew morphology engine.
27 Such potential application areas might include search engines, speech
28 synthesis, and much much more. The availability of a free basis will hopefully
29 encourage free development on top of it, to the benefit of the general
30 Hebrew-speaking population.
31
32 %package -n %{libname}
33 Summary: Shared library files for hspell
34 Group: Text tools
35
36 %description -n %{libname}
37 Shared library files for the hspell package.
38
39 %package -n %{develname}
40 Summary: Development files for hspell
41 Group: Development/Other
42 Requires: %{name} = %{version}-%{release}
43 Requires: %{libname} = %{version}-%{release}
44 Provides: libhspell-devel = %{version}-%{release}
45 Provides: hspell-devel = %{version}-%{release}
46 Obsoletes: %{mklibname hspell 0 -d}
47
48 %description -n %{develname}
49 Development headers, and files for development from the hspell package.
50
51 %prep
52
53 %setup -q
54
55 %build
56 CFLAGS="%optflags -fPIC" CPPFLAGS="%optflags -fPIC" FFLAGS="optflags -fPIC" \
57 %configure2_5x --enable-fatverb --enable-fatverb
58 %make
59
60 %install
61 rm -rf %{buildroot}
62
63 %makeinstall_std
64
65
66
67 %clean
68 rm -rf %{buildroot}
69
70 %files
71 %defattr(-,root,root)
72 %_bindir/*
73 %_datadir/hspell/*.wgz*
74 %_mandir/man*/*
75
76 %files -n %{libname}
77 %defattr(-, root, root)
78 %_libdir/libhspell.a
79
80 %files -n %{develname}
81 %defattr(-, root, root)
82 %_includedir/hspell.h
83 %_includedir/linginfo.h
84
85

  ViewVC Help
Powered by ViewVC 1.1.28