]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[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:        11
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 Provides:       ispell
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Obsoletes:      ispell
25 Obsoletes:      libaspell10
26
27 %description
28 Aspell is an Open Source spell checker designed to eventually replace
29 Ispell. Its main feature is that it does a much better job of coming
30 up with possible suggestions than Ispell does. In fact recent tests
31 shows that it even does better than Microsoft Word 97's spell checker
32 in some cases. In addition it has both compile time and run time
33 support for other non English languages. Aspell also doubles as a
34 powerful C++ library with C and Perl interfaces in the works.
35
36 %description -l pl
37 Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc zast±piæ
38 ispella. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿ angielski.
39 Interfejs aspella napisany zosta³ w C++, a interfejsy w Perlu i C s±
40 aktualnie rozwijane.
41
42 %package devel
43 Summary:        Header files for aspell development
44 Summary(pl):    Pliki nag³ówkowe dla programistów u¿ywaj±cych aspella
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}
47 Obsoletes:      libaspell10-devel
48
49 %description devel
50 Aspell is an Open Source spell checker. This package contains header
51 files for aspell development.
52
53 %description -l pl devel
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
63 %description static
64 Aspell is an Open Source spell checker. This package contains static
65 aspell libraries.
66
67 %description -l pl static
68 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
69 statyczne aspella.
70
71 %prep
72 %setup -q -n %{name}-%{ver}
73 %patch0 -p0
74 %patch1 -p1
75 %patch2 -p1
76
77 %build
78 libtoolize --copy --force
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 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
95 rm -rf $RPM_BUILD_ROOT%{_prefix}/{bin/run-with-aspell,share/aspell/ispell}
96
97 gzip -9nf manual/manual2.lyx manual/man-text/*.txt
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 manual/{*,man-text/*.txt}.gz
108 %attr(755,root,root) %{_bindir}/*
109 %attr(755,root,root) %{_libdir}/libaspell.so.*.*
110 %attr(755,root,root) %{_libdir}/libpspell_aspell.so.*.*
111 %attr(755,root,root) %{_libdir}/libpspell_aspell.la
112 %{_libdir}/aspell
113 %{_datadir}/aspell
114 %{_datadir}/pspell/*
115
116 %files  devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libaspell.so
119 %attr(755,root,root) %{_libdir}/libaspell.la
120 %{_includedir}/aspell
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/libaspell.a
This page took 0.201639 seconds and 3 git commands to generate.