]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- Release 2.
[packages/aspell.git] / aspell.spec
1 Summary:        GNU Aspell is an Open Source spell checker
2 Summary(pl):    GNU Aspell jest kontrolerem pisowni
3 Name:           aspell
4 Version:        0.50.3
5 Release:        1.1
6 Epoch:          2
7 License:        LGPL
8 Group:          Applications/Text
9 Vendor:         Kevin Atkinson <kevina@gnu.org>
10 Source0:        ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
11 URL:            http://aspell.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool >= 2:1.4e-0.20021218.3
16 BuildRequires:  gettext-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Obsoletes:      libaspell10
19 Obsoletes:      pspell
20 Provides:       pspell = %{epoch}:%{version}-%{release}
21
22 %description
23 GNU Aspell is a Free and Open Source spell checker designed to
24 eventually replace Ispell. It can either be used as a library or as an
25 independent spell checker. Its main feature is that it does a much
26 better job of coming up with possible suggestions than just about any
27 other spell checker out there for the English language, including
28 Ispell and Microsoft Word. It also has many other technical
29 enhancements over Ispell such as using shared memory for dictionaries
30 and intelligently handling personal dictionaries when more than one
31 Aspell process is open at once.
32
33 %description -l pl
34 GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc
35 zast±piæ ispella. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿
36 angielski. Interfejs aspella napisany zosta³ w C++, a interfejsy w
37 Perlu i C s± aktualnie rozwijane.
38
39 %package devel
40 Summary:        Header files for aspell development
41 Summary(pl):    Pliki nag³ówkowe dla programistów u¿ywaj±cych aspella
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}
44 Obsoletes:      libaspell10-devel
45 Obsoletes:      pspell-devel
46 Provides:       pspell-devel = %{epoch}:%{version}-%{release}
47
48 %description devel
49 Aspell is an Open Source spell checker. This package contains header
50 files for aspell development.
51
52 %description devel -l pl
53 Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nag³ówkowe
54 dla programistów u¿ywaj±cych bibliotek aspella.
55
56 %package static
57 Summary:        Static libraries for aspell development
58 Summary(pl):    Biblioteki statyczne aspella
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}
61 Obsoletes:      pspell-static
62 Provides:       pspell-static = %{epoch}:%{version}-%{release}
63
64 %description static
65 Aspell is an Open Source spell checker. This package contains static
66 aspell libraries.
67
68 %description static -l pl
69 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
70 statyczne aspella.
71
72 %prep
73 %setup -q
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__automake}
80 %configure \
81         --enable-shared \
82         --enable-static
83
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 install -d $RPM_BUILD_ROOT%{_libdir}/aspell
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 rm -f $RPM_BUILD_ROOT{%{_bindir}/run-with-aspell,%{_datadir}/aspell/{i,}spell}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc README manual/man-html/*.{html,png,css}
105 %attr(755,root,root) %{_bindir}/a*
106 %attr(755,root,root) %{_bindir}/w*
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*
108 %{_datadir}/aspell
109 %dir %{_libdir}/aspell
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc manual/dev-html/*.{html,png,css}
114 %attr(755,root,root) %{_bindir}/p*
115 %attr(755,root,root) %{_libdir}/lib*.so
116 %{_libdir}/lib*.la
117 %{_includedir}/pspell
118 %{_includedir}/*.h
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/lib*.a
This page took 0.115782 seconds and 4 git commands to generate.