]> git.pld-linux.org Git - packages/gtksourceviewmm3.git/blob - gtksourceviewmm3.spec
5d425df707683093eaf2709ea4b8d81f9c4d047a
[packages/gtksourceviewmm3.git] / gtksourceviewmm3.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # don't generate documentation with doxygen
4
5 Summary:        A C++ binding of GtkSourceView3
6 Summary(pl.UTF-8):      Wiązania C++ dla GtkSourceView3
7 Name:           gtksourceviewmm3
8 Version:        3.2.0
9 Release:        4
10 License:        LGPL v2+
11 Group:          X11/Libraries
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
29 BuildRequires:  xz
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)
34
35 %description
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.
39
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.
44
45 %package devel
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
53
54 %description devel
55 Header files for GtkSourceViewMM3 library.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki GtkSourceViewMM3.
59
60 %package static
61 Summary:        Static GtkSourceViewMM3 library
62 Summary(pl.UTF-8):      Statyczna biblioteka GtkSourceViewMM3
63 Group:          X11/Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static GtkSourceViewMM3 library.
68
69 %description static -l pl.UTF-8
70 Statyczna biblioteka GtkSourceViewMM3.
71
72 %package apidocs
73 Summary:        GtkSourceViewMM3 API documentation
74 Summary(pl.UTF-8):      Dokumentacja API GtkSourceViewMM3
75 Group:          Documentation
76 %if "%{_rpmversion}" >= "5"
77 BuildArch:      noarch
78 %endif
79
80
81 %description apidocs
82 GtkSourceViewMM3 API documentation.
83
84 %description apidocs -l pl.UTF-8
85 Dokumentacja API GtkSourceViewMM3.
86
87 %prep
88 %setup -q -n gtksourceviewmm-%{version}
89
90 %build
91 %{__libtoolize}
92 %{__aclocal} -I build
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 %configure \
97         --disable-silent-rules \
98         %{__enable_disable apidocs documentation} \
99         --enable-static
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files
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
120
121 %files devel
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
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/libgtksourceviewmm-3.0.a
131
132 %if %{with apidocs}
133 %files apidocs
134 %defattr(644,root,root,755)
135 %{_datadir}/devhelp/books/gtksourceviewmm-3.0
136 %{_docdir}/gtksourceviewmm-3.0
137 %endif
This page took 0.049258 seconds and 2 git commands to generate.