]> git.pld-linux.org Git - packages/tmispell.git/blob - tmispell.spec
- new
[packages/tmispell.git] / tmispell.spec
1 Summary:        Ispell compatible front-end for spell-checking modules
2 Summary(pl.UTF-8):      Zgodny z Ispellem frontend dla modułów sprawdzających pisownię
3 Name:           tmispell
4 Version:        0.5.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Text
8 #Source0Download: https://github.com/voikko/tmispell/releases
9 Source0:        https://github.com/voikko/tmispell/archive/rel-0.5.0/%{name}-%{version}.tar.gz
10 # Source0-md5:  d7f745f3618c2f480faa36fd4fb0fe72
11 Patch0:         %{name}-glibmm.patch
12 URL:            http://voikko.puimula.org/
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake
15 BuildRequires:  enchant-devel >= 1.1.6
16 BuildRequires:  gettext-tools
17 BuildRequires:  glib2-devel >= 2.0.0
18 BuildRequires:  glibmm-devel >= 2.4.0
19 BuildRequires:  libstdc++-devel >= 6:4.3
20 BuildRequires:  libtool >= 2:1.5
21 BuildRequires:  ncurses-devel
22 BuildRequires:  pkgconfig
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Tmispell is a transparent wrapper around Ispell. Many programs (e.g.
27 mail clients and document processors) use Ispell for spell-checking.
28 Since Tmispell imitates Ispell, these programs use automatically
29 Tmispell (and therefore e.g. Voikko) without any changes needed.
30 Additionally Tmispell can launch the real Ispell if there is no module
31 for the selected language.
32
33 %description -l pl.UTF-8
34 Tmispell to przezroczysty wrapper na Ispella. Wiele programów (np.
35 klientów pocztowych czy procesorów tekstu) wykorzystuje Ispella do
36 sprawdzania pisowni. Ponieważ Tmispell imituje Ispella, programy te
37 automatycznie używają Tmispella (i poprzez niego np. Voikko) bez
38 potrzeby żadnych zmian. Ponadto Tmispell potrafi uruchomić prawdziwego
39 Ispella, jeśli nie ma modułu dla wybranego języka.
40
41 %prep
42 %setup -q -n tmispell-rel-%{version}
43 %patch0 -p1
44
45 # force system glibmm
46 %{__rm} -r src/glibmm
47
48 # missing file
49 grep -l -e '\<_\>' src/*.cc enchant/*.cc > po/POTFILES.in
50
51 %build
52 %{__glib_gettextize}
53 %{__libtoolize}
54 %{__aclocal}
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58 CXXFLAGS="%{rpmcxxflags} -std=c++0x"
59 %configure \
60         --disable-static
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 # voikko module already included in enchant sources
70 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/enchant
71
72 %find_lang tmispell-voikko
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f tmispell-voikko.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README
80 %lang(fi) %doc LUEMINUT NEWS.fi
81 %attr(755,root,root) %{_bindir}/tmispell
82 %{_mandir}/man1/tmispell.1*
83 %{_mandir}/man5/tmispell.conf.5*
This page took 0.081738 seconds and 3 git commands to generate.