3 %bcond_without apidocs # don't generate documentation with doxygen
5 Summary: A C++ binding of GtkSourceView3
6 Summary(pl.UTF-8): Wiązania C++ dla GtkSourceView3
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/3.2/gtksourceviewmm-%{version}.tar.xz
13 # Source0-md5: 4ddec81dae02d0681db3ca131a42c59e
14 URL: http://www.gnome.org/projects/gtksourceviewmm/
15 BuildRequires: atkmm-devel
16 BuildRequires: autoconf >= 2.62
17 BuildRequires: automake >= 1:1.11
18 BuildRequires: cairomm-devel
19 %{?with_apidocs:BuildRequires: doxygen}
20 BuildRequires: glibmm-devel >= 2.28.0
21 BuildRequires: gtkmm3-devel >= 3.2.0
22 BuildRequires: gtksourceview3-devel >= 3.2.0
23 BuildRequires: libsigc++-devel
24 BuildRequires: libtool
25 BuildRequires: mm-common >= 0.9.5
26 BuildRequires: pangomm-devel
27 BuildRequires: pkgconfig
28 BuildRequires: tar >= 1:1.22
30 Requires: glibmm >= 2.28.0
31 Requires: gtkmm3 >= 3.2.0
32 Requires: gtksourceview3 >= 3.2.0
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 GtkSourceViewMM3 is a C++ binding of GtkSourceView3, an extension to
37 the text widget included in GTK+ 3.x adding syntax highlighting and
38 other features typical for a source file editor.
40 %description -l pl.UTF-8
41 GtkSourceViewMM3 to wiązania C++ dla GtkSourceView3 - rozszerzenia
42 tekstowego widgetu będącego częścią GTK+ 3.x, dodającego kolorowanie
43 składni oraz inne właściwości typowe dla edytora kodu źródłowego.
46 Summary: Header files for GtkSourceViewMM3 library
47 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GtkSourceViewMM3
48 Group: X11/Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: glibmm-devel >= 2.28.0
51 Requires: gtkmm3-devel >= 3.2.0
52 Requires: gtksourceview3-devel >= 3.2.0
55 Header files for GtkSourceViewMM3 library.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki GtkSourceViewMM3.
61 Summary: Static GtkSourceViewMM3 library
62 Summary(pl.UTF-8): Statyczna biblioteka GtkSourceViewMM3
63 Group: X11/Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
67 Static GtkSourceViewMM3 library.
69 %description static -l pl.UTF-8
70 Statyczna biblioteka GtkSourceViewMM3.
73 Summary: GtkSourceViewMM3 API documentation
74 Summary(pl.UTF-8): Dokumentacja API GtkSourceViewMM3
76 %if "%{_rpmversion}" >= "5"
82 GtkSourceViewMM3 API documentation.
84 %description apidocs -l pl.UTF-8
85 Dokumentacja API GtkSourceViewMM3.
88 %setup -q -n gtksourceviewmm-%{version}
97 --disable-silent-rules \
98 %{__enable_disable apidocs documentation} \
103 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
107 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
116 %defattr(644,root,root,755)
117 %doc AUTHORS ChangeLog NEWS README
118 %attr(755,root,root) %{_libdir}/libgtksourceviewmm-3.0.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libgtksourceviewmm-3.0.so.0
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libgtksourceviewmm-3.0.so
124 %{_libdir}/gtksourceviewmm-3.0
125 %{_includedir}/gtksourceviewmm-3.0
126 %{_pkgconfigdir}/gtksourceviewmm-3.0.pc
129 %defattr(644,root,root,755)
130 %{_libdir}/libgtksourceviewmm-3.0.a
134 %defattr(644,root,root,755)
135 %{_datadir}/devhelp/books/gtksourceviewmm-3.0
136 %{_docdir}/gtksourceviewmm-3.0