]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
fa32a8347a7d133b961b5abb60b0ac14a2d8f985
[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:        http://aspell.net/%{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
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113 install -d $RPM_BUILD_ROOT%{_libdir}/aspell
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %post   -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
123
124 %files
125 %defattr(644,root,root,755)
126 %doc README manual/man-html/*.{html,png,css}
127 %attr(755,root,root) %{_bindir}/aspell*
128 %attr(755,root,root) %{_bindir}/word-list-compress
129 %attr(755,root,root) %{_libdir}/lib*.so.*.*
130 %{_datadir}/aspell
131 %dir %{_libdir}/aspell
132
133 %files devel
134 %defattr(644,root,root,755)
135 %doc manual/dev-html/*.{html,png,css}
136 %attr(755,root,root) %{_bindir}/pspell-config
137 %attr(755,root,root) %{_libdir}/lib*.so
138 %{_libdir}/lib*.la
139 %{_includedir}/pspell
140 %{_includedir}/*.h
141
142 %files static
143 %defattr(644,root,root,755)
144 %{_libdir}/lib*.a
This page took 0.063114 seconds and 3 git commands to generate.