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