]> git.pld-linux.org Git - packages/gtkspell.git/blob - gtkspell.spec
f8a589c85905a79b43f870db26f87bb6a54c16e2
[packages/gtkspell.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:        7
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-tools
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 %if "%{_rpmversion}" >= "5"
67 BuildArch:      noarch
68 %endif
69
70 %description apidocs
71 gtkspell API documentation.
72
73 %description apidocs -l pl.UTF-8
74 Dokumentacja API gtkspell.
75
76 %prep
77 %setup -q
78
79 %build
80 %{__gtkdocize}
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure \
87         --enable-gtk-doc \
88         --with-html-dir=%{_gtkdocdir}
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT \
95         pkgconfigdir=%{_pkgconfigdir}
96
97 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspell.la
98
99 %find_lang %{name}
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post   -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
106
107 %files -f %{name}.lang
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog README
110 %attr(755,root,root) %{_libdir}/libgtkspell.so.*.*.*
111 %attr(755,root,root) %ghost %{_libdir}/libgtkspell.so.0
112
113 %files devel
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libgtkspell.so
116 %{_includedir}/gtkspell-2.0
117 %{_pkgconfigdir}/gtkspell-2.0.pc
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/libgtkspell.a
122
123 %files apidocs
124 %defattr(644,root,root,755)
125 %{_gtkdocdir}/gtkspell
This page took 0.051243 seconds and 2 git commands to generate.