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