1 |
# $Id$ |
2 |
|
3 |
%define lang es |
4 |
%define langrelease 2 |
5 |
Summary: Spanish dictionaries for Aspell. |
6 |
Name: aspell-%{lang} |
7 |
Epoch: 50 |
8 |
Version: 0.50 |
9 |
Release: 13.2.2%{?dist} |
10 |
License: GPL |
11 |
Group: Applications/Text |
12 |
URL: http://aspell.net/ |
13 |
Source: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2 |
14 |
Patch: aspell-es-0.50-2.utf-filename.patch |
15 |
Patch1: aspell-es-0.50-2-castellano.patch |
16 |
Buildrequires: aspell >= 12:0.60 |
17 |
Requires: aspell >= 12:0.60 |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
19 |
|
20 |
%define debug_package %{nil} |
21 |
|
22 |
%description |
23 |
Provides the word list/dictionaries for the following: Spanish |
24 |
|
25 |
%prep |
26 |
rm -rf $RPM_BUILD_ROOT |
27 |
%setup -q -n aspell-%{lang}-%{version}-%{langrelease} |
28 |
%patch -p1 -b .utf-filename |
29 |
%patch1 -p1 -b .pom |
30 |
cp esponol.alias castellano.alias |
31 |
mv $(echo -e 'espa\361ol.alias') $(echo -e 'espa\303\261ol.alias') |
32 |
|
33 |
%build |
34 |
echo "ASPELL = aspell" > Makefile |
35 |
echo "DEST_DIR = $RPM_BUILD_ROOT" >> Makefile |
36 |
echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile |
37 |
echo "dictdir = ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60" >> Makefile |
38 |
echo "datadir = ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60" >> Makefile |
39 |
cat Makefile.pre >> Makefile |
40 |
make |
41 |
|
42 |
%install |
43 |
make install |
44 |
|
45 |
|
46 |
%clean |
47 |
rm -rf $RPM_BUILD_ROOT |
48 |
|
49 |
%files |
50 |
%defattr(-,root,root) |
51 |
|
52 |
%{_libdir}/aspell-0.60/* |
53 |
#%{_datadir}/aspell/* |
54 |
|
55 |
%changelog |
56 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
57 |
- Clean up spec so package can be built by koji/plague |
58 |
|
59 |
* Thu Feb 08 2007 Shad L. Lords <slords@mail.com> |
60 |
- Update to new release naming. No functional changes. |
61 |
- Make Packager generic |
62 |
|
63 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-13.2.2 |
64 |
- rebuild |
65 |
|
66 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-13.2.1 |
67 |
- bump again for double-long bug on ppc(64) |
68 |
|
69 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-13.2 |
70 |
- rebuilt for new gcc4.1 snapshot and glibc changes |
71 |
|
72 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
73 |
- rebuilt |
74 |
|
75 |
* Thu Aug 25 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-13 |
76 |
- add castellano alias (bug 166286) |
77 |
|
78 |
* Mon Jul 18 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-12 |
79 |
- build with aspell-0.60.3 |
80 |
|
81 |
* Mon Apr 11 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-11 |
82 |
- rebuilt |
83 |
|
84 |
* Wed Sep 29 2004 Adrian Havill <havill@redhat.com> 50:0.50-10 |
85 |
- remove debuginfo, convert latin1 filename to utf-8 |
86 |
|
87 |
* Wed Aug 11 2004 Adrian Havill <havill@redhat.com> 50:0.50-2 |
88 |
- synced epoch with other aspell dicts |
89 |
|
90 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
91 |
- rebuilt |
92 |
|
93 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
94 |
- rebuilt |
95 |
|
96 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
97 |
- rebuilt |
98 |
|
99 |
* Mon Jun 23 2003 Adrian Havill <havill@redhat.com> 0.50-5 |
100 |
- remove buildarch; data files are platform dependent |
101 |
|
102 |
* Fri Jun 20 2003 Adrian Havill <havill@redhat.com> 0.50-4 |
103 |
- first build for new aspell (0.50) |