]> git.pld-linux.org Git - packages/gtksourceviewmm2.git/blame - gtksourceviewmm2.spec
- new
[packages/gtksourceviewmm2.git] / gtksourceviewmm2.spec
CommitLineData
49825823
MB
1#
2# Conditional build:
3%bcond_without apidocs # don't generate documentation with doxygen
4#
5Summary: A C++ binding of GtkSourceView2
6Summary(pl.UTF-8): Wiązania C++ dla GtkSourceView2
7Name: libgtksourceviewmm2
8Version: 1.9.3
9Release: 1
10License: LGPL
11Group: Libraries
12Source0: http://ftp.gnome.org/pub/GNOME/sources/libgtksourceviewmm/1.9/libgtksourceviewmm-%{version}.tar.bz2
13# Source0-md5: bdd4586b3dbddd00a475d5569a36b391
14URL: http://home.gna.org/gtksourceviewmm/
15BuildRequires: autoconf >= 2.59
16BuildRequires: automake >= 1:1.9
17%{?with_apidocs:BuildRequires: doxygen}
18BuildRequires: gtkmm-devel >= 2.12.1
19BuildRequires: gtksourceview2-devel >= 2.0.0
20BuildRequires: libtool
21BuildRequires: pkgconfig
22Requires(post,postun): /sbin/ldconfig
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26GtkSourceViewMM2 is a C++ binding of GtkSourceView2, an extension to
27the text widget included in GTK+ 2.x adding syntax highlighting and
28other features typical for a source file editor.
29
30%description -l pl.UTF-8
31GtkSourceViewMM2 to wiązania C++ dla GtkSourceView2 - rozszerzenia
32tekstowego widgetu będącego częścią GTK+ 2.x, dodającego kolorowanie
33składni oraz inne właściwości typowe dla edytora kodu źródłowego.
34
35%package devel
36Summary: Header files for libgtksourceviewmm2 library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgtksourceviewmm2
38Group: Development/Libraries
39Requires: gtkmm-devel >= 2.12.1
40Requires: gtksourceview2-devel >= 2.0.0
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44Header files for libgtksourceviewmm2 library.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki libgtksourceviewmm2.
48
49%package static
50Summary: Static libgtksourceviewmm2 library
51Summary(pl.UTF-8): Statyczna biblioteka libgtksourceviewmm2
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static libgtksourceviewmm2 library.
57
58%description static -l pl.UTF-8
59Statyczna biblioteka libgtksourceviewmm2.
60
61%package apidocs
62Summary: libgtksourceviewmm2 API documentation
63Summary(pl.UTF-8): Dokumentacja API libgtksourceviewmm2
64Group: Documentation
65
66%description apidocs
67libgtksourceviewmm2 API documentation.
68
69%description apidocs -l pl.UTF-8
70Dokumentacja API libgtksourceviewmm2.
71
72%prep
73%setup -q -n libgtksourceviewmm-%{version}
74
75%build
76%{__libtoolize}
77%{__aclocal} -I scripts
78%{__autoconf}
79%{__autoheader}
80%{__automake}
81%configure \
82 --%{?with_apidocs:en}%{!?with_apidocs:dis}able-docs \
83 --enable-static
84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
92%if %{with apidocs}
93rm -rf $RPM_BUILD_ROOT%{_docdir}/libgtksourceviewmm-1.0
94%endif
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
99%post -p /sbin/ldconfig
100%postun -p /sbin/ldconfig
101
102%files
103%defattr(644,root,root,755)
104%doc AUTHORS ChangeLog NEWS README
105%attr(755,root,root) %{_libdir}/libgtksourceviewmm-2.0.so.*.*.*
106
107%files devel
108%defattr(644,root,root,755)
109%attr(755,root,root) %{_libdir}/libgtksourceviewmm-2.0.so
110%{_libdir}/libgtksourceviewmm-2.0.la
111%{_libdir}/gtksourceviewmm-2.0
112%{_includedir}/gtksourceviewmm-2.0
113%{_pkgconfigdir}/gtksourceviewmm-2.0.pc
114
115%files static
116%defattr(644,root,root,755)
117%{_libdir}/libgtksourceviewmm-2.0.a
118
119%if %{with apidocs}
120%files apidocs
121%defattr(644,root,root,755)
122%doc docs/reference/html
123%endif
This page took 0.074266 seconds and 4 git commands to generate.