3 %bcond_without static_libs # static library
5 Summary: C++ binding for the gtkspell library
6 Summary(pl.UTF-8): Interfejs C++ do biblioteki gtkspell
12 Source0: http://downloads.sourceforge.net/gtkspell/%{name}-%{version}.tar.xz
13 # Source0-md5: abaf93ff39eec716d056edfc1ff8490b
14 URL: http://gtkspell.sourceforge.net/
15 BuildRequires: autoconf >= 2.59
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: glibmm-devel >= 2.16
18 BuildRequires: gtk+3-devel >= 3.0
19 BuildRequires: gtkmm3-devel >= 3.0
20 BuildRequires: gtkspell3-devel >= 3.0.9
21 BuildRequires: intltool >= 0.35.0
22 BuildRequires: libstdc++-devel >= 6:4.3
23 BuildRequires: libtool >= 2:1.5
24 BuildRequires: mm-common >= 0.9
25 BuildRequires: pkgconfig
26 BuildRequires: tar >= 1:1.22
28 Requires: glibmm >= 2.16
29 Requires: gtkspell3 >= 3.0.9
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 gtkspellmm is the C++ binding for the gtkspell library.
35 This module is part of the GNOME C++ bindings effort
36 <http://www.gtkmm.org/>.
38 %description -l pl.UTF-8
39 gtkspellmm to wiązanie C++ do biblioteki gtkspell.
41 Jest to część projektu wiązań C++ dla GNOME <http://www.gtkmm.org/>.
44 Summary: Header files for gtkspellmm
45 Summary(pl.UTF-8): Pliki nagłówkowe dla gtkspellmm
46 Group: X11/Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: glibmm-devel >= 2.16
49 Requires: gtk+3-devel >= 3.0
50 Requires: gtkmm3-devel >= 3.0
51 Requires: gtkspell3-devel >= 3.0.9
52 Requires: libstdc++-devel >= 6:4.3
55 Header files for gtkspellmm.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe dla gtkspellmm.
61 Summary: Static gtkspellmm library
62 Summary(pl.UTF-8): Biblioteka statyczna gtkspellmm
63 Group: X11/Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
67 Static gtkspellmm library.
69 %description static -l pl.UTF-8
70 Biblioteka statyczna gtkspellmm.
73 Summary: gtkspellmm API documentation
74 Summary(pl.UTF-8): Dokumentacja API gtkspellmm
79 gtkspellmm API documentation.
81 %description apidocs -l pl.UTF-8
82 Dokumentacja API gtkspellmm.
93 CXXFLAGS="%{rpmcxxflags} -std=c++0x"
95 --disable-silent-rules \
96 %{?with_static_libs:--enable-static}
100 rm -rf $RPM_BUILD_ROOT
102 DESTDIR=$RPM_BUILD_ROOT
104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspellmm-3.0.la
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc AUTHORS NEWS README
115 %attr(755,root,root) %{_libdir}/libgtkspellmm-3.0.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libgtkspellmm-3.0.so.0
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libgtkspellmm-3.0.so
121 %{_includedir}/gtkspellmm-3.0
122 %dir %{_libdir}/gtkspellmm-3.0
123 %{_libdir}/gtkspellmm-3.0/include
124 %{_pkgconfigdir}/gtkspellmm-3.0.pc
126 %if %{with static_libs}
128 %defattr(644,root,root,755)
129 %{_libdir}/libgtkspellmm-3.0.a
133 %defattr(644,root,root,755)
134 %{_docdir}/gtkspellmm-3.0
135 %{_datadir}/devhelp/books/gtkspellmm-3.0