]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- mass commit; now req: name = epoch:version
[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.50.3
6 Release:        1.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: a3bf0d46303ffb0beab8121bbc3311a3
13 Patch0:         %{name}-assert.patch
14 URL:            http://aspell.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtool >= 2:1.4e-0.20021218.3
19 BuildRequires:  gettext-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Provides:       pspell = %{epoch}:%{version}-%{release}
22 Obsoletes:      libaspell15
23 Obsoletes:      pspell
24
25 %description
26 GNU Aspell is a Free and Open Source spell checker designed to
27 eventually replace Ispell. It can either be used as a library or as an
28 independent spell checker. Its main feature is that it does a much
29 better job of coming up with possible suggestions than just about any
30 other spell checker out there for the English language, including
31 Ispell and Microsoft Word. It also has many other technical
32 enhancements over Ispell such as using shared memory for dictionaries
33 and intelligently handling personal dictionaries when more than one
34 Aspell process is open at once.
35
36 %description -l pl
37 GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc
38 zast±piæ ispella. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿
39 angielski. Interfejs aspella napisany zosta³ w C++, a interfejsy w
40 Perlu i C s± aktualnie rozwijane.
41
42 %description -l pt_BR
43 GNU Aspell é um verificador ortográfico criado para substituir o
44 antigo "ispell". Sua principal vantagem (sobre o Ispell) é uma melhor
45 sugestão de correções. Aspell inclui suporte a vários idiomas e pode
46 fazer a checagem de arquivos LaTeX e HTML.
47
48 %package devel
49 Summary:        Header files for aspell development
50 Summary(pl):    Pliki nag³ówkowe dla programistów u¿ywaj±cych aspella
51 Summary(pt_BR): Arquivos para desenvolvimento usando Aspell
52 Group:          Development/Libraries
53 Requires:       %{name} = %{epoch}:%{version}
54 Provides:       pspell-devel = %{epoch}:%{version}-%{release}
55 Obsoletes:      libaspell15-devel
56 Obsoletes:      pspell-devel
57
58 %description devel
59 Aspell is an Open Source spell checker. This package contains header
60 files for aspell development.
61
62 %description devel -l pl
63 Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nag³ówkowe
64 dla programistów u¿ywaj±cych bibliotek aspella.
65
66 %description devel -l pt_BR
67 Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas
68 dinâmicas e arquivos de inclusão necessários para o desenvolvimento
69 utilizando o aspell.
70
71 %package static
72 Summary:        Static libraries for aspell development
73 Summary(pl):    Biblioteki statyczne aspella
74 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento usando Aspell
75 Group:          Development/Libraries
76 Requires:       %{name}-devel = %{epoch}:%{version}
77 Obsoletes:      pspell-static
78 Provides:       pspell-static = %{epoch}:%{version}-%{release}
79
80 %description static
81 Aspell is an Open Source spell checker. This package contains static
82 aspell libraries.
83
84 %description static -l pl
85 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
86 statyczne aspella.
87
88 %description static -l pt_BR
89 Aspell é um corretor ortográfico. O pacote -devel-static inclui as
90 bibliotecas estáticas necessárias para o desenvolvimento utilizando o
91 aspell.
92
93 %prep
94 %setup -q
95 %patch -p1
96
97 %build
98 %{__libtoolize}
99 %{__aclocal}
100 %{__autoconf}
101 %{__automake}
102 %configure \
103         --enable-shared \
104         --enable-static
105
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT%{_libdir}/aspell
111
112 %{__make} install \
113         DESTDIR=$RPM_BUILD_ROOT
114
115 rm -f $RPM_BUILD_ROOT{%{_bindir}/run-with-aspell,%{_datadir}/aspell/{i,}spell}
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %post   -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
122
123 %files
124 %defattr(644,root,root,755)
125 %doc README manual/man-html/*.{html,png,css}
126 %attr(755,root,root) %{_bindir}/a*
127 %attr(755,root,root) %{_bindir}/w*
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*
129 %{_datadir}/aspell
130 %dir %{_libdir}/aspell
131
132 %files devel
133 %defattr(644,root,root,755)
134 %doc manual/dev-html/*.{html,png,css}
135 %attr(755,root,root) %{_bindir}/p*
136 %attr(755,root,root) %{_libdir}/lib*.so
137 %{_libdir}/lib*.la
138 %{_includedir}/pspell
139 %{_includedir}/*.h
140
141 %files static
142 %defattr(644,root,root,755)
143 %{_libdir}/lib*.a
This page took 0.093562 seconds and 3 git commands to generate.