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