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