]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- moved data files back to %{_datadir}/aspell
[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=%{_datadir}/aspell
110
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115 install -d $RPM_BUILD_ROOT%{_libdir}/aspell
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 %dir %{_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.093562 seconds and 4 git commands to generate.