]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- updated to .33.7.1
[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:        .33.7.1
5 Release:        1
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 BuildRequires:  pspell-devel
17 Provides:       ispell
18 Obsoletes:      ispell
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Aspell is an Open Source spell checker designed to eventually replace
23 Ispell. Its main feature is that it does a much better job of coming
24 up with possible suggestions than Ispell does. In fact recent tests
25 shows that it even does better than Microsoft Word 97's spell checker
26 in some cases. In addition it has both compile time and run time
27 support for other non English languages. Aspell also doubles as a
28 powerful C++ library with C and Perl interfaces in the works.
29
30 %description -l pl
31 Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc zast±piæ
32 ispell'a. Dodatkowo zawiera wsparcie dla innych jêzyków ni¿ angielski.
33 Interfejs aspella napisany zosta³ w C++, a interfejsy w Perlu i C s±
34 aktualnie rozwijane.
35
36 %package devel
37 Summary:        Libraries and header files for aspell development
38 Summary(pl):    Biblioteki i pliki nag³ówkowe dla developerów aspella
39 Group:          Development/Libraries
40 Group(de):      Entwicklung/Libraries
41 Group(fr):      Development/Librairies
42 Group(pl):      Programowanie/Biblioteki
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 Requires:       %{name}-devel = %{version}
62
63 %description static
64 Aspell is an Open Source spell checker.
65
66 Static Libraries for aspell development.
67
68 %description -l pl static
69 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
70 statyczne dla developerów aspella.
71
72 %prep
73 %setup -q
74
75 %build
76 CFLAGS="%{rpmcflags}" CXXFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
77 %configure %{_target_platform} \
78         --libdir=%{_datadir} \
79         --enable-shared \
80         --enable-static
81 %{__make} 
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT \
88         pkgdatadir=%{_datadir}/aspell \
89         libdir=%{_libdir}
90
91 #cp -pr $RPM_BUILD_ROOT%{_prefix}/doc/aspell .
92
93 ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
94 rm -rf $RPM_BUILD_ROOT%{_prefix}/{bin/run-with-aspell,share/aspell/ispell}
95
96 gzip -9nf manual/manual2.lyx manual/man-text/*.txt
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files
105 %defattr(644,root,root,755)
106 %doc README TODO manual/{*,man-text/*.txt}.gz
107 %attr(755,root,root) %{_bindir}/*
108 %{_datadir}/aspell
109 %{_libdir}/libaspell.so.*.*
110
111 %files  devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libaspell.so
114 %{_includedir}/aspell
115 %{_libdir}/libaspell.la
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/libaspell.a
This page took 0.061698 seconds and 4 git commands to generate.