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