]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
be9af64fdf62c48bdf2e0212bcf730395219ec9e
[packages/aspell.git] / aspell.spec
1 Summary:        Aspell is an Open Source spell checker
2 Summary(pl):    Aspell jest kontrolerem pisowni
3 Name:           aspell
4 Version:        .27.2
5 Release:        3
6 Epoch:          1
7 License:        LGPL
8 Group:          Applications/Text
9 Group(de):      Applikationen/Text
10 Group(fr):      Utilitaires/Texte
11 Group(pl):      Aplikacje/Tekst
12 Vendor:         Kevin Atkinson <kevinatk@home.com>
13 Source0:        http://metalab.unc.edu/kevina/aspell/%{name}-%{version}.tar.gz
14 URL:            http://metalab.unc.edu/kevina/aspell/
15 BuildRequires:  libstdc++-devel
16 Provides:       ispell
17 Obsoletes:      ispell
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Aspell is an Open Source spell checker designed to eventually replace
22 Ispell. Its main feature is that it does a much better job of coming
23 up with possible suggestions than Ispell does. In fact recent tests
24 shows that it even does better than Microsoft Word 97's spell checker
25 in some cases. In addition it has both compile time and run time
26 support for other non English languages. Aspell also doubles as a
27 powerful C++ library with C and Perl interfaces in the works.
28
29 %description -l pl
30 Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc zast±piæ
31 ispell'a. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿ angielski.
32 Interfejs aspella napisany zosta³ w C++, a interfejsy w Perlu i C s±
33 aktualnie rozwijane.
34
35 %package devel
36 Summary:        Libraries and header files for aspell development
37 Summary(pl):    Biblioteki i pliki nag³ówkowe dla developerów aspella
38 Group:          Development/Libraries
39 Group(de):      Entwicklung/Libraries
40 Group(fr):      Development/Librairies
41 Group(pl):      Programowanie/Biblioteki
42 Epoch:          %{serial}
43 Requires:       %{name} = %{version}
44
45 %description devel
46 Aspell is an Open Source spell checker.
47
48 Libraries and header files for aspell development.
49
50 %description -l pl devel
51 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki i pliki
52 nag³ówkowe dla developerów aspella.
53
54 %package static
55 Summary:        Static Libraries for aspell development
56 Summary(pl):    Biblioteki statyczne dla developerów aspella
57 Group:          Development/Libraries
58 Group(de):      Entwicklung/Libraries
59 Group(fr):      Development/Librairies
60 Group(pl):      Programowanie/Biblioteki
61 Epoch:          %{serial}
62 Requires:       %{name}-devel = %{version}
63
64 %description static
65 Aspell is an Open Source spell checker.
66
67 Static Libraries for aspell development.
68
69 %description -l pl static
70 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
71 statyczne dla developerów aspella.
72
73 %prep
74 %setup -q
75
76 cp -p %{_includedir}/g++/stl_rope.h .
77 patch <misc/stl_rope-30.diff
78
79 %build
80 CFLAGS="%{rpmcflags}" CXXFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
81 ./configure %{_target_platform} \
82 --prefix=%{_prefix} \
83         --libdir=%{_datadir} \
84         --enable-shared \
85         --enable-static
86 %{__make} 
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT \
93         pkgdatadir=%{_datadir}/aspell \
94         libdir=%{_libdir}
95
96 #cp -pr $RPM_BUILD_ROOT%{_prefix}/doc/aspell .
97
98 ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
99 rm -rf $RPM_BUILD_ROOT%{_prefix}/{bin/run-with-aspell,share/aspell/ispell}
100
101 gzip -9nf manual/manual2.lyx manual/man-text/*.txt
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
110 %defattr(644,root,root,755)
111 %doc README TODO manual/{*,man-text/*.txt}.gz
112 %attr(755,root,root) %{_bindir}/*
113 %{_datadir}/aspell
114 %{_libdir}/libaspell.so.*.*
115
116 %files  devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libaspell.so
119 %{_includedir}/aspell
120 %{_libdir}/libaspell.la
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/libaspell.a
This page took 0.086934 seconds and 3 git commands to generate.