]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- security -buffer-fix.patch obtained from gentoo
[packages/aspell.git] / aspell.spec
1 Summary:        GNU Aspell is an Open Source spell checker
2 Summary(pl):    GNU Aspell jest kontrolerem pisowni
3 Summary(pt_BR): Verificador ortográfico
4 Name:           aspell
5 Version:        0.50.5
6 Release:        2
7 Epoch:          2
8 License:        LGPL
9 Group:          Applications/Text
10 Vendor:         Kevin Atkinson <kevina@gnu.org>
11 Source0:        http://aspell.net/%{name}-%{version}.tar.gz
12 # Source0-md5:  14403d2ea5ded5d3fc9bb259bf65aab5
13 # Security patch from gentoo: http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-text/aspell/files/aspell-buffer-fix.patch
14 # ref.: http://securitytracker.com/alerts/2004/Jun/1010435.html
15 Patch0:         %{name}-buffer-fix.patch
16 URL:            http://aspell.net/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gettext-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool >= 2:1.5
22 Provides:       pspell = %{epoch}:%{version}-%{release}
23 Obsoletes:      libaspell15
24 Obsoletes:      pspell
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 GNU Aspell is a Free and Open Source spell checker designed to
29 eventually replace Ispell. It can either be used as a library or as an
30 independent spell checker. Its main feature is that it does a much
31 better job of coming up with possible suggestions than just about any
32 other spell checker out there for the English language, including
33 Ispell and Microsoft Word. It also has many other technical
34 enhancements over Ispell such as using shared memory for dictionaries
35 and intelligently handling personal dictionaries when more than one
36 Aspell process is open at once.
37
38 %description -l pl
39 GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc
40 zast±piæ ispella. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿
41 angielski. Interfejs aspella napisany zosta³ w C++, a interfejsy w
42 Perlu i C s± aktualnie rozwijane.
43
44 %description -l pt_BR
45 GNU Aspell é um verificador ortográfico criado para substituir o
46 antigo "ispell". Sua principal vantagem (sobre o Ispell) é uma melhor
47 sugestão de correções. Aspell inclui suporte a vários idiomas e pode
48 fazer a checagem de arquivos LaTeX e HTML.
49
50 %package devel
51 Summary:        Header files for aspell development
52 Summary(pl):    Pliki nag³ówkowe dla programistów u¿ywaj±cych aspella
53 Summary(pt_BR): Arquivos para desenvolvimento usando Aspell
54 Group:          Development/Libraries
55 Requires:       %{name} = %{epoch}:%{version}-%{release}
56 Provides:       pspell-devel = %{epoch}:%{version}-%{release}
57 Obsoletes:      libaspell15-devel
58 Obsoletes:      pspell-devel
59
60 %description devel
61 Aspell is an Open Source spell checker. This package contains header
62 files for aspell development.
63
64 %description devel -l pl
65 Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nag³ówkowe
66 dla programistów u¿ywaj±cych bibliotek aspella.
67
68 %description devel -l pt_BR
69 Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas
70 dinâmicas e arquivos de inclusão necessários para o desenvolvimento
71 utilizando o aspell.
72
73 %package static
74 Summary:        Static libraries for aspell development
75 Summary(pl):    Biblioteki statyczne aspella
76 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento usando Aspell
77 Group:          Development/Libraries
78 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
79 Provides:       pspell-static = %{epoch}:%{version}-%{release}
80 Obsoletes:      pspell-static
81
82 %description static
83 Aspell is an Open Source spell checker. This package contains static
84 aspell libraries.
85
86 %description static -l pl
87 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
88 statyczne aspella.
89
90 %description static -l pt_BR
91 Aspell é um corretor ortográfico. O pacote -devel-static inclui as
92 bibliotecas estáticas necessárias para o desenvolvimento utilizando o
93 aspell.
94
95 %prep
96 %setup -q
97 %patch0 -p1
98
99 %build
100 %{__libtoolize}
101 %{__aclocal}
102 %{__autoconf}
103 %{__automake}
104 %configure \
105         --enable-shared \
106         --enable-static
107
108 %{__make}
109
110 %install
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT%{_libdir}/aspell
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT
116
117 rm -f $RPM_BUILD_ROOT{%{_bindir}/run-with-aspell,%{_datadir}/aspell/{i,}spell}
118
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %post   -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
124
125 %files
126 %defattr(644,root,root,755)
127 %doc README manual/man-html/*.{html,png,css}
128 %attr(755,root,root) %{_bindir}/aspell*
129 %attr(755,root,root) %{_bindir}/word-list-compress
130 %attr(755,root,root) %{_libdir}/lib*.so.*.*
131 %{_datadir}/aspell
132 %dir %{_libdir}/aspell
133
134 %files devel
135 %defattr(644,root,root,755)
136 %doc manual/dev-html/*.{html,png,css}
137 %attr(755,root,root) %{_bindir}/pspell-config
138 %attr(755,root,root) %{_libdir}/lib*.so
139 %{_libdir}/lib*.la
140 %{_includedir}/pspell
141 %{_includedir}/*.h
142
143 %files static
144 %defattr(644,root,root,755)
145 %{_libdir}/lib*.a
This page took 0.043812 seconds and 3 git commands to generate.