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