]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- now it works like 0.50 versions, please test and STBR
[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
6 Release:        1
7 Epoch:          2
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:  8fa031d0eb37a5538aa6fefa657e707f
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 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 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 Provides:       pspell-devel = %{epoch}:%{version}-%{release}
57 Requires:       libstdc++-devel
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
100 %build
101 %{__libtoolize}
102 %{__aclocal}
103 %{__autoconf}
104 %{__automake}
105 %configure \
106         --enable-shared \
107         --enable-static \
108         --enable-pkgdatadir=%{_datadir}/aspell \
109         --enable-pkglibdir=%{_libdir}/aspell
110
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115
116 %{__make} install \
117         DESTDIR=$RPM_BUILD_ROOT
118
119 %find_lang %{name}
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post   -p /sbin/ldconfig
125 %postun -p /sbin/ldconfig
126
127 %files -f %{name}.lang
128 %defattr(644,root,root,755)
129 %doc README manual/aspell.html
130 %{_infodir}/aspell.info*
131 %attr(755,root,root) %{_bindir}/aspell*
132 %attr(755,root,root) %{_bindir}/pre*
133 %attr(755,root,root) %{_bindir}/word-list-compress
134 %attr(755,root,root) %{_bindir}/run-with-aspell
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
136 %{_datadir}/aspell
137 %{_libdir}/aspell
138 %{_mandir}/man1/*
139
140 %files devel
141 %defattr(644,root,root,755)
142 %doc manual/aspell-dev.html
143 %{_infodir}/aspell-dev.info*
144 %attr(755,root,root) %{_bindir}/pspell-config
145 %attr(755,root,root) %{_libdir}/lib*.so
146 %{_libdir}/lib*.la
147 %{_includedir}/pspell
148 %{_includedir}/*.h
149
150 %files static
151 %defattr(644,root,root,755)
152 %{_libdir}/lib*.a
This page took 0.170611 seconds and 4 git commands to generate.