]> git.pld-linux.org Git - packages/gspell.git/blame - gspell.spec
- new
[packages/gspell.git] / gspell.spec
CommitLineData
2d29eafb
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library
4
5Summary: gspell - a spell-checking library for GTK+
6Summary(pl.UTF-8): gspell - biblioteka sprawdzania pisowni dla GTK+
7Name: gspell
8Version: 0.1.1
9Release: 1
10License: GPL v2+
11Group: X11/Libraries
12Source0: http://ftp.gnome.org/pub/GNOME/sources/gspell/0.1/%{name}-%{version}.tar.xz
13# Source0-md5: ac10b88578144d9f1a8f974efa03a5dc
14URL: https://wiki.gnome.org/Projects/gspell
15BuildRequires: enchant-devel >= 1.6.0
16BuildRequires: gettext-tools >= 0.19.4
17BuildRequires: glib2-devel >= 1:2.44
18BuildRequires: gobject-introspection-devel >= 1.42.0
19BuildRequires: gtk+3-devel >= 3.16
20BuildRequires: gtk-doc >= 1.24
21BuildRequires: gtksourceview3-devel >= 3.16
22BuildRequires: iso-codes >= 0.35
23BuildRequires: libxml2-devel >= 1:2.5.0
24BuildRequires: pkgconfig
25BuildRequires: vala
26BuildRequires: tar >= 1:1.22
27BuildRequires: xz
28Requires: enchant >= 1.6.0
29Requires: glib2 >= 1:2.36.0
30Requires: gtk+3 >= 3.16
31Requires: gtksourceview3 >= 3.16
32Requires: iso-codes >= 0.35
33Requires: libxml2 >= 1:2.5.0
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37gspell is a spell-checking library for GTK+. It provides a flexible
38API to implement the spell checking in a GTK+ application.
39
40
41%description -l pl.UTF-8
42gspell to biblioteka do sprawdzania pisowni dla GTK+. Udostępnia
43elastyczne API do implementowania sprawdzania pisowni w aplikacjach
44GTK+.
45
46%package devel
47Summary: Header files for gspell library
48Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gspell
49Group: X11/Development/Libraries
50Requires: %{name} = %{version}-%{release}
51Requires: enchant-devel >= 1.6.0
52Requires: glib2-devel >= 1:2.44
53Requires: gtk+3-devel >= 3.16
54Requires: gtksourceview3-devel >= 3.16
55Requires: libxml2-devel >= 1:2.5.0
56
57%description devel
58Header files for gspell library.
59
60%description devel -l pl.UTF-8
61Pliki nagłówkowe biblioteki gspell.
62
63%package static
64Summary: Static gspell library
65Summary(pl.UTF-8): Statyczna biblioteka gspell
66Group: X11/Development/Libraries
67Requires: %{name}-devel = %{version}-%{release}
68
69%description static
70Static gspell library.
71
72%description static -l pl.UTF-8
73Statyczna biblioteka gspell.
74
75%package apidocs
76Summary: API documentation for gspell library
77Summary(pl.UTF-8): Dokumentacja API biblioteki gspell
78Group: Documentation
79
80%description apidocs
81API documentation for gspell library.
82
83%description apidocs -l pl.UTF-8
84Dokumentacja API biblioteki gspell.
85
86%package -n vala-gspell
87Summary: Vala API for gspell library
88Summary(pl.UTF-8): API języka Vala do biblioteki gspell
89Group: Development/Libraries
90Requires: %{name}-devel = %{version}-%{release}
91Requires: vala
92
93%description -n vala-gspell
94Vala API for gspell library.
95
96%description -n vala-gspell -l pl.UTF-8
97API języka Vala do biblioteki gspell.
98
99%prep
100%setup -q
101
102%build
103%configure \
104 --disable-silent-rules \
105 %{?with_static_libs:--enable-static} \
106 --with-html-dir=%{_gtkdocdir}
107
108%{__make}
109
110%install
111rm -rf $RPM_BUILD_ROOT
112
113%{__make} install \
114 DESTDIR=$RPM_BUILD_ROOT
115
116# obsoleted by pkg-config
117%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgspell-1.la
118
119%find_lang gspell-1
120
121%clean
122rm -rf $RPM_BUILD_ROOT
123
124%post -p /sbin/ldconfig
125%postun -p /sbin/ldconfig
126
127%files -f gspell-1.lang
128%defattr(644,root,root,755)
129%doc AUTHORS NEWS README
130%attr(755,root,root) %{_libdir}/libgspell-1.so.*.*.*
131%attr(755,root,root) %ghost %{_libdir}/libgspell-1.so.0
132%{_libdir}/girepository-1.0/Gspell-1.typelib
133
134%files devel
135%defattr(644,root,root,755)
136%attr(755,root,root) %{_libdir}/libgspell-1.so
137%{_includedir}/gspell-1
138%{_datadir}/gir-1.0/Gspell-1.gir
139%{_pkgconfigdir}/gspell-1.pc
140
141%if %{with static_libs}
142%files static
143%defattr(644,root,root,755)
144%{_libdir}/libgspell-1.a
145%endif
146
147%files apidocs
148%defattr(644,root,root,755)
149%{_gtkdocdir}/gspell1
150
151%files -n vala-gspell
152%defattr(644,root,root,755)
153%{_datadir}/vala/vapi/gspell-1.deps
154%{_datadir}/vala/vapi/gspell-1.vapi
This page took 0.095957 seconds and 4 git commands to generate.