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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17725 - (hide annotations) (download)
Fri Jan 14 17:56:08 2011 UTC (11 years, 4 months ago) by mikala
File size: 2516 byte(s)
imported package hspell
1 mikala 17725 %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     %if %mdkversion < 200900
66     %post -n %{libname} -p /sbin/ldconfig
67     %endif
68    
69     %if %mdkversion < 200900
70     %postun -n %{libname} -p /sbin/ldconfig
71     %endif
72    
73     %clean
74     rm -rf %{buildroot}
75    
76     %files
77     %defattr(-,root,root)
78     %_bindir/*
79     %_datadir/hspell/*.wgz*
80     %_mandir/man*/*
81    
82     %files -n %{libname}
83     %defattr(-, root, root)
84     %_libdir/libhspell.a
85    
86     %files -n %{develname}
87     %defattr(-, root, root)
88     %_includedir/hspell.h
89     %_includedir/linginfo.h
90    
91    

  ViewVC Help
Powered by ViewVC 1.1.28