]> git.pld-linux.org Git - packages/gtkspell3.git/blob - gtkspell.spec
c95e1f8b879c5910ae63cd34ef4ae152245d2769
[packages/gtkspell3.git] / gtkspell.spec
1 Summary:        GTK+ Spell Checker Interface Library
2 Summary(pl.UTF-8):      Biblioteka z interfejsem do narzędzia sprawdzającego pisownię dla GTK+
3 Name:           gtkspell
4 Version:        2.0.16
5 Release:        4
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Libraries
9 Source0:        http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
10 # Source0-md5:  f75dcc9338f182c571b321d37c606a94
11 URL:            http://gtkspell.sourceforge.net/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake
14 BuildRequires:  docbook-dtd42-xml
15 BuildRequires:  enchant-devel >= 0.4.0
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 2:2.10.0
18 BuildRequires:  gtk-doc >= 1.6
19 BuildRequires:  intltool >= 0.35.0
20 BuildRequires:  libtool
21 BuildRequires:  pango-devel >= 1:1.13.3
22 BuildRequires:  pkgconfig
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 GtkSpell provides MSWord/MacOSX-style highlighting of misspelled words
27 in a GtkTextView widget. Right-clicking a misspelled word pops up a
28 menu of suggested replacements.
29
30 %description -l pl.UTF-8
31 GtkSpell udostępnia podobne do MS Worda lub MacOSX podświetlanie
32 błędnie napisanych słów w widgecie GtkTextView. Kliknięcie prawym
33 przyciskiem na błędne słowo otwiera menu z sugerowanymi poprawkami.
34
35 %package devel
36 Summary:        Header files for gtkspell
37 Summary(pl.UTF-8):      Pliki nagłówkowe dla gtkspella
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{epoch}:%{version}-%{release}
40 Requires:       enchant-devel >= 0.4.0
41 Requires:       gtk+2-devel >= 2:2.10.0
42
43 %description devel
44 Header files for gtkspell.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe dla gtkspella.
48
49 %package static
50 Summary:        Static libraries for gtkspell
51 Summary(pl.UTF-8):      Biblioteki statyczne dla gtkspella
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
54
55 %description static
56 Static libraries for gtkspell.
57
58 %description static -l pl.UTF-8
59 Biblioteki statyczne dla gtkspella.
60
61 %package apidocs
62 Summary:        gtkspell API documentation
63 Summary(pl.UTF-8):      Dokumentacja API gtkspell
64 Group:          Documentation
65 Requires:       gtk-doc-common
66
67 %description apidocs
68 gtkspell API documentation.
69
70 %description apidocs -l pl.UTF-8
71 Dokumentacja API gtkspell.
72
73 %prep
74 %setup -q
75
76 %build
77 %{__gtkdocize}
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__autoheader}
82 %{__automake}
83 %configure \
84         --enable-gtk-doc \
85         --with-html-dir=%{_gtkdocdir}
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT \
93         pkgconfigdir=%{_pkgconfigdir}
94
95 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspell.la
96
97 %find_lang %{name}
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog README
108 %attr(755,root,root) %{_libdir}/libgtkspell.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libgtkspell.so.0
110
111 %files devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libgtkspell.so
114 %{_includedir}/gtkspell-2.0
115 %{_pkgconfigdir}/gtkspell-2.0.pc
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/libgtkspell.a
120
121 %files apidocs
122 %defattr(644,root,root,755)
123 %{_gtkdocdir}/gtkspell
This page took 0.05008 seconds and 2 git commands to generate.