]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- added info patch (direntry unifications)
[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:        2
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 Patch1:         %{name}-info.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 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 devel
53 Summary:        Header files for aspell development
54 Summary(pl):    Pliki nag³ówkowe dla programistów u¿ywaj±cych aspella
55 Summary(pt_BR): Arquivos para desenvolvimento usando Aspell
56 Group:          Development/Libraries
57 Requires:       %{name} = %{epoch}:%{version}-%{release}
58 Requires:       libstdc++-devel
59 Provides:       pspell-devel = %{epoch}:%{version}-%{release}
60 Obsoletes:      libaspell15-devel
61 Obsoletes:      pspell-devel
62
63 %description devel
64 Aspell is an Open Source spell checker. This package contains header
65 files for aspell development.
66
67 %description devel -l pl
68 Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nag³ówkowe
69 dla programistów u¿ywaj±cych bibliotek aspella.
70
71 %description devel -l pt_BR
72 Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas
73 dinâmicas e arquivos de inclusão necessários para o desenvolvimento
74 utilizando o aspell.
75
76 %package static
77 Summary:        Static libraries for aspell development
78 Summary(pl):    Biblioteki statyczne aspella
79 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento usando Aspell
80 Group:          Development/Libraries
81 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
82 Provides:       pspell-static = %{epoch}:%{version}-%{release}
83 Obsoletes:      pspell-static
84
85 %description static
86 Aspell is an Open Source spell checker. This package contains static
87 aspell libraries.
88
89 %description static -l pl
90 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
91 statyczne aspella.
92
93 %description static -l pt_BR
94 Aspell é um corretor ortográfico. O pacote -devel-static inclui as
95 bibliotecas estáticas necessárias para o desenvolvimento utilizando o
96 aspell.
97
98 %prep
99 %setup -q
100 %patch0 -p1
101 %patch1 -p1
102
103 %build
104 %{__libtoolize}
105 %{__aclocal}
106 %{__autoconf}
107 %{__automake}
108 %configure \
109         --enable-shared \
110         --enable-static \
111         --enable-pkgdatadir=%{_datadir}/aspell \
112         --enable-pkglibdir=%{_libdir}/aspell
113
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 %find_lang %{name}
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %post   -p /sbin/ldconfig
128 %postun -p /sbin/ldconfig
129
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc README manual/aspell.html
133 %{_infodir}/aspell.info*
134 %attr(755,root,root) %{_bindir}/aspell*
135 %attr(755,root,root) %{_bindir}/pre*
136 %attr(755,root,root) %{_bindir}/word-list-compress
137 %attr(755,root,root) %{_bindir}/run-with-aspell
138 %attr(755,root,root) %{_libdir}/lib*.so.*.*
139 %{_datadir}/aspell
140 %{_libdir}/aspell
141 %{_mandir}/man1/*
142
143 %files devel
144 %defattr(644,root,root,755)
145 %doc manual/aspell-dev.html
146 %{_infodir}/aspell-dev.info*
147 %attr(755,root,root) %{_bindir}/pspell-config
148 %attr(755,root,root) %{_libdir}/lib*.so
149 %{_libdir}/lib*.la
150 %{_includedir}/pspell
151 %{_includedir}/*.h
152
153 %files static
154 %defattr(644,root,root,755)
155 %{_libdir}/lib*.a
This page took 0.058273 seconds and 4 git commands to generate.