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