/[packages]/cauldron/aspell-ro/current/SPECS/aspell-ro.spec
ViewVC logotype

Annotation of /cauldron/aspell-ro/current/SPECS/aspell-ro.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17050 - (hide annotations) (download)
Fri Jan 14 01:53:53 2011 UTC (11 years, 4 months ago) by ahmad
File size: 1604 byte(s)
imported package aspell-ro
1 ahmad 17050 %define _enable_debug_packages %{nil}
2     %define debug_package %{nil}
3    
4     #
5     # NOTE: rpm is unable to package filenames in an enocidng other than the
6     # the one it is currently using; so this package has to be build with
7     # an iso-8859-* locale; eg: LC_ALL=fr rpm -be specfile
8     #
9    
10     %define src_ver 3.1
11    
12     %define languageenglazy Romanian
13     %define languagecode ro
14     %define lc_ctype ro_RO
15    
16     Summary: %{languageenglazy} files for aspell
17     Name: aspell-%{languagecode}
18     Version: 3.1
19     Release: %mkrel 5
20     Group: System/Internationalization
21     Source: ftp://ftp.gnu.org/gnu/aspell/dict/ro/aspell5-ro-%version.tar.bz2
22     URL: http://aspell.net/
23     License: Free
24     BuildRoot: %{_tmppath}/%{name}-%{version}-root
25    
26     BuildRequires: aspell >= 0.50
27     BuildRequires: make
28     Requires: aspell >= 0.50
29     BuildRequires: locales-fr
30    
31     # Mandriva Stuff
32     Requires: locales-%{languagecode}
33     # aspell = 1, myspell = 2, lang-specific = 3
34     Provides: enchant-dictionary = 1
35     Provides: aspell-dictionary
36     Provides: aspell-%{lc_ctype}
37     Provides: spell-%{languagecode} >= 0.50.2-5mdk
38     Obsoletes: ispell-%{languagecode}
39    
40     Autoreqprov: no
41    
42     %description
43     A %{languageenglazy} dictionary for use with aspell, a spelling checker.
44    
45     %prep
46     %setup -q -n aspell5-ro-%{src_ver}
47    
48     %build
49     export LC_ALL=fr
50     # don't use configure macro
51     ./configure
52    
53     %make
54    
55     %install
56     rm -fr $RPM_BUILD_ROOT
57     export LC_ALL=fr
58    
59     %makeinstall_std
60    
61     #cp doc/README README.%{languagecode}
62     chmod 644 README Copyright
63    
64     %clean
65     rm -fr $RPM_BUILD_ROOT
66    
67     %files
68     %defattr(-,root,root)
69     %doc README Copyright
70     %{_libdir}/aspell-*/*
71    
72    
73    
74    

  ViewVC Help
Powered by ViewVC 1.1.28