]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- added %%__gettextize
[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:        4
7 Epoch:          3
8 License:        LGPL
9 Group:          Applications/Text
10 Source0:        ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
11 # Source0-md5:  4f1737e726d66476b9c7388831305510
12 Patch0:         %{name}-info.patch
13 Patch1:         %{name}-home_etc.patch
14 Patch2:         %{name}-gcc4.patch
15 URL:            http://aspell.net/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool >= 2:1.5
21 BuildRequires:  texinfo
22 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
23 Provides:       pspell = %{epoch}:%{version}-%{release}
24 Obsoletes:      libaspell15
25 Obsoletes:      pspell
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 GNU Aspell is a Free and Open Source spell checker designed to
30 eventually replace Ispell. It can either be used as a library or as an
31 independent spell checker. Its main feature is that it does a much
32 better job of coming up with possible suggestions than just about any
33 other spell checker out there for the English language, including
34 Ispell and Microsoft Word. It also has many other technical
35 enhancements over Ispell such as using shared memory for dictionaries
36 and intelligently handling personal dictionaries when more than one
37 Aspell process is open at once.
38
39 %description -l pl
40 GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc
41 zast±piæ ispella. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿
42 angielski. Interfejs aspella napisany zosta³ w C++, a interfejsy w
43 Perlu i C s± aktualnie rozwijane.
44
45 %description -l pt_BR
46 GNU Aspell é um verificador ortográfico criado para substituir o
47 antigo "ispell". Sua principal vantagem (sobre o Ispell) é uma melhor
48 sugestão de correções. Aspell inclui suporte a vários idiomas e pode
49 fazer a checagem de arquivos LaTeX e HTML.
50
51 %package libs
52 Summary:        aspell libraries
53 Summary(pl):    Biblioteki aspella
54 Group:          Libraries
55 Conflicts:      aspell < 0.60.4-1.2
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 %{__gettextize}
117 %{__libtoolize}
118 %{__aclocal}
119 %{__autoconf}
120 %{__automake}
121 %configure \
122         --enable-shared \
123         --enable-static \
124         --enable-pkgdatadir=%{_datadir}/aspell \
125         --enable-pkglibdir=%{_libdir}/aspell
126
127 %{__make}
128
129 %install
130 rm -rf $RPM_BUILD_ROOT
131
132 %{__make} install \
133         DESTDIR=$RPM_BUILD_ROOT
134
135 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
136 %find_lang %{name}
137
138 %clean
139 rm -rf $RPM_BUILD_ROOT
140
141 %post   libs -p /sbin/ldconfig
142 %postun libs -p /sbin/ldconfig
143
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
146 %doc README manual/aspell.html
147 %{_infodir}/aspell.info*
148 %attr(755,root,root) %{_bindir}/aspell*
149 %attr(755,root,root) %{_bindir}/pre*
150 %attr(755,root,root) %{_bindir}/word-list-compress
151 %attr(755,root,root) %{_bindir}/run-with-aspell
152 %{_datadir}/aspell
153 %{_mandir}/man1/*
154
155 %files libs
156 %defattr(644,root,root,755)
157 %attr(755,root,root) %{_libdir}/lib*.so.*.*
158 %{_libdir}/aspell
159
160 %files devel
161 %defattr(644,root,root,755)
162 %doc manual/aspell-dev.html
163 %{_infodir}/aspell-dev.info*
164 %attr(755,root,root) %{_bindir}/pspell-config
165 %attr(755,root,root) %{_libdir}/lib*.so
166 %{_libdir}/lib*.la
167 %{_includedir}/pspell
168 %{_includedir}/*.h
169
170 %files static
171 %defattr(644,root,root,755)
172 %{_libdir}/lib*.a
This page took 0.075716 seconds and 3 git commands to generate.