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