]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- started update to version 0.50.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.2
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 Patch0:         %{name}-libtool.patch
12 URL:            http://aspell.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool
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 %patch0 -p1
75
76 %build
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.077581 seconds and 4 git commands to generate.