]> git.pld-linux.org Git - packages/aspell.git/blob - aspell.spec
- removed unnecessary Epoch:
[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 Requires:       %{name} = %{version}
43
44 %description devel
45 Aspell is an Open Source spell checker.
46
47 Libraries and header files for aspell development.
48
49 %description -l pl devel
50 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki i pliki
51 nag³ówkowe dla developerów aspella.
52
53 %package static
54 Summary:        Static Libraries for aspell development
55 Summary(pl):    Biblioteki statyczne dla developerów aspella
56 Group:          Development/Libraries
57 Group(de):      Entwicklung/Libraries
58 Group(fr):      Development/Librairies
59 Group(pl):      Programowanie/Biblioteki
60 Requires:       %{name}-devel = %{version}
61
62 %description static
63 Aspell is an Open Source spell checker.
64
65 Static Libraries for aspell development.
66
67 %description -l pl static
68 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
69 statyczne dla developerów aspella.
70
71 %prep
72 %setup -q
73
74 cp -p %{_includedir}/g++/stl_rope.h .
75 patch <misc/stl_rope-30.diff
76
77 %build
78 CFLAGS="%{rpmcflags}" CXXFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
79 ./configure %{_target_platform} \
80 --prefix=%{_prefix} \
81         --libdir=%{_datadir} \
82         --enable-shared \
83         --enable-static
84 %{__make} 
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT \
91         pkgdatadir=%{_datadir}/aspell \
92         libdir=%{_libdir}
93
94 #cp -pr $RPM_BUILD_ROOT%{_prefix}/doc/aspell .
95
96 ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
97 rm -rf $RPM_BUILD_ROOT%{_prefix}/{bin/run-with-aspell,share/aspell/ispell}
98
99 gzip -9nf manual/manual2.lyx manual/man-text/*.txt
100
101 %post   -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files
108 %defattr(644,root,root,755)
109 %doc README TODO manual/{*,man-text/*.txt}.gz
110 %attr(755,root,root) %{_bindir}/*
111 %{_datadir}/aspell
112 %{_libdir}/libaspell.so.*.*
113
114 %files  devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libaspell.so
117 %{_includedir}/aspell
118 %{_libdir}/libaspell.la
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/libaspell.a
This page took 0.04308 seconds and 4 git commands to generate.