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