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