]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- updated to 2.1.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 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 cp -f ltmain.sh ltmain.sh.org
83 %configure \
84         --enable-shared \
85         --enable-static
86 cp -f ltmain.sh.org ltmain.sh
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 install -d $RPM_BUILD_ROOT%{_libdir}/aspell
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 rm -f $RPM_BUILD_ROOT{%{_bindir}/run-with-aspell,%{_datadir}/aspell/{i,}spell}
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %files
106 %defattr(644,root,root,755)
107 %doc README manual/man-html/*.{html,png,css}
108 %attr(755,root,root) %{_bindir}/a*
109 %attr(755,root,root) %{_bindir}/w*
110 %attr(755,root,root) %{_libdir}/lib*.so.*
111 %attr(755,root,root) %{_libdir}/lib*-common-*.so
112 %{_datadir}/aspell
113 %dir %{_libdir}/aspell
114
115 %files devel
116 %defattr(644,root,root,755)
117 %doc manual/dev-html/*.{html,png,css}
118 %attr(755,root,root) %{_bindir}/p*
119 %attr(755,root,root) %{_libdir}/lib*.so
120 %exclude %{_libdir}/lib*-common-*.so
121 %attr(755,root,root) %{_libdir}/lib*.la
122 %{_includedir}/pspell
123 %{_includedir}/*.h
124
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/lib*.a
This page took 0.094842 seconds and 4 git commands to generate.