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