]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- updated to 0.60.4 (bugfixes)
[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.4
6 Release:        1
7 Epoch:          3
8 License:        LGPL
9 Vendor:         Kevin Atkinson <kevina@gnu.org>
10 Group:          Applications/Text
11 Source0:        ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
12 # Source0-md5:  4f1737e726d66476b9c7388831305510
13 Patch0:         %{name}-info.patch
14 Patch1:         %{name}-home_etc.patch
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 BuildRequires:  texinfo
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 Requires:       libstdc++-devel
57 Provides:       pspell-devel = %{epoch}:%{version}-%{release}
58 Obsoletes:      libaspell15-devel
59 Obsoletes:      pspell-devel
60
61 %description devel
62 Aspell is an Open Source spell checker. This package contains header
63 files for aspell development.
64
65 %description devel -l pl
66 Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nag³ówkowe
67 dla programistów u¿ywaj±cych bibliotek aspella.
68
69 %description devel -l pt_BR
70 Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas
71 dinâmicas e arquivos de inclusão necessários para o desenvolvimento
72 utilizando o aspell.
73
74 %package static
75 Summary:        Static libraries for aspell development
76 Summary(pl):    Biblioteki statyczne aspella
77 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento usando Aspell
78 Group:          Development/Libraries
79 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
80 Provides:       pspell-static = %{epoch}:%{version}-%{release}
81 Obsoletes:      pspell-static
82
83 %description static
84 Aspell is an Open Source spell checker. This package contains static
85 aspell libraries.
86
87 %description static -l pl
88 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
89 statyczne aspella.
90
91 %description static -l pt_BR
92 Aspell é um corretor ortográfico. O pacote -devel-static inclui as
93 bibliotecas estáticas necessárias para o desenvolvimento utilizando o
94 aspell.
95
96 %prep
97 %setup -q
98 %patch0 -p1
99 %patch1 -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.034831 seconds and 4 git commands to generate.