]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- resolved conflict with ispell, removed Provides/Obsoletes: ispell -
[packages/aspell.git] / aspell.spec
1 %define         ver     .33.7.1
2
3 Summary:        Aspell is an Open Source spell checker
4 Summary(pl):    Aspell jest kontrolerem pisowni
5 Name:           aspell
6 Version:        0%{ver}
7 Release:        12
8 Epoch:          2
9 License:        LGPL
10 Group:          Applications/Text
11 Vendor:         Kevin Atkinson <kevinatk@home.com>
12 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/aspell/%{name}-%{ver}.tar.gz
13 Patch0:         ftp://ftp.sourceforge.net/pub/sourceforge/aspell/%{name}-.33-fix2.diff
14 Patch1:         %{name}-noinstalled.patch
15 Patch2:         %{name}-amfix.patch
16 URL:            http://aspell.sourceforge.net/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool
21 BuildRequires:  pspell-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Obsoletes:      libaspell10
24
25 %description
26 Aspell is an Open Source spell checker designed to eventually replace
27 Ispell. Its main feature is that it does a much better job of coming
28 up with possible suggestions than Ispell does. In fact recent tests
29 shows that it even does better than Microsoft Word 97's spell checker
30 in some cases. In addition it has both compile time and run time
31 support for other non English languages. Aspell also doubles as a
32 powerful C++ library with C and Perl interfaces in the works.
33
34 %description -l pl
35 Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc zast±piæ
36 ispella. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿ angielski.
37 Interfejs aspella napisany zosta³ w C++, a interfejsy w Perlu i C s±
38 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
47 %description devel
48 Aspell is an Open Source spell checker. This package contains header
49 files for aspell development.
50
51 %description -l pl devel
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
61 %description static
62 Aspell is an Open Source spell checker. This package contains static
63 aspell libraries.
64
65 %description -l pl static
66 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
67 statyczne aspella.
68
69 %package en
70 Summary:        English dictionary for aspell
71 Summary(pl):    Angielski s³ownik dla aspella
72 Group:          Applications/Text
73 Requires:       %{name} = %{version}
74
75 %description en
76 English dictionary (i.e. word list) for aspell.
77
78 %description en -l pl
79 Angielski s³ownik (lista s³ów) dla aspella.
80
81 %prep
82 %setup -q -n %{name}-%{ver}
83 %patch0 -p0
84 %patch1 -p1
85 %patch2 -p1
86
87 %build
88 %{__libtoolize}
89 aclocal
90 %{__autoconf}
91 %{__automake}
92 %configure \
93         --enable-shared \
94         --enable-static
95
96 %{__make} 
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 rm -f $RPM_BUILD_ROOT{%{_bindir}/run-with-aspell,%{_datadir}/aspell/ispell}
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %post   -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
111
112 %files
113 %defattr(644,root,root,755)
114 %doc manual/manual2.lyx manual/man-text/*.txt
115 %attr(755,root,root) %{_bindir}/*
116 %attr(755,root,root) %{_libdir}/libaspell.so.*.*
117 %attr(755,root,root) %{_libdir}/libpspell_aspell.so.*.*
118 %attr(755,root,root) %{_libdir}/libpspell_aspell.la
119 %dir %{_libdir}/aspell
120 %dir %{_datadir}/aspell
121 %{_datadir}/aspell/[^e]*
122
123 %files devel
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libaspell.so
126 %attr(755,root,root) %{_libdir}/libaspell.la
127 %{_includedir}/aspell
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/libaspell.a
132
133 %files en
134 %defattr(644,root,root,755)
135 %{_libdir}/aspell/*
136 %{_datadir}/aspell/english*
137 %{_datadir}/pspell/*
This page took 0.200204 seconds and 3 git commands to generate.