1 |
slords |
1.2 |
# $Id$ |
2 |
|
|
|
3 |
slords |
1.1 |
%define lang pt |
4 |
|
|
%define langrelease 2 |
5 |
|
|
Summary: Portuguese dictionaries for Aspell. |
6 |
|
|
Name: aspell-%{lang} |
7 |
|
|
Epoch: 50 |
8 |
|
|
Version: 0.50 |
9 |
|
|
Release: 10.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-pt-0.50-2.utf-filename.patch |
15 |
|
|
Patch2: aspell-pt-0.50-2.brasileiro.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: European Portuguese, |
24 |
|
|
Brazilian Portuguese |
25 |
|
|
|
26 |
|
|
%prep |
27 |
|
|
rm -rf $RPM_BUILD_ROOT |
28 |
|
|
%setup -q -n aspell-%{lang}-%{version}-%{langrelease} |
29 |
|
|
%patch -p1 -b .utf-filename |
30 |
|
|
%patch2 -p1 -b .brasileiro |
31 |
|
|
mv $(echo -e 'portugu\352s.alias') $(echo -e 'portugu\303\252s.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-10.2.2 |
64 |
|
|
- rebuild |
65 |
|
|
|
66 |
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-10.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-10.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 |
|
|
* Tue Jul 19 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-10 |
76 |
|
|
- build with aspell-0.60.3 |
77 |
|
|
|
78 |
|
|
* Wed Oct 21 2004 Adrian Havill <havill@redhat.com> 50:0.50-9 |
79 |
|
|
- add brasileiro alias (#104843) |
80 |
|
|
|
81 |
|
|
* Tue Sep 28 2004 Adrian Havill <havill@redhat.com> 50:0.50-8 |
82 |
|
|
- n-v-r, alias to utf-8 filename, epoch, no debuginfo |
83 |
|
|
|
84 |
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
85 |
|
|
- rebuilt |
86 |
|
|
|
87 |
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
88 |
|
|
- rebuilt |
89 |
|
|
|
90 |
|
|
* Wed Jul 10 2003 Adrian Havill <havill@redhat.com> 0.50-6 |
91 |
|
|
- removed non-ascii alias |
92 |
|
|
|
93 |
|
|
* Mon Jun 23 2003 Adrian Havill <havill@redhat.com> 0.50-5 |
94 |
|
|
- remove buildarch; data files are platform dependent |
95 |
|
|
|
96 |
|
|
* Fri Jun 20 2003 Adrian Havill <havill@redhat.com> 0.50-4 |
97 |
|
|
- first build for new aspell (0.50) |