]> git.pld-linux.org Git - packages/gtksourceview5.git/blame - gtksourceview3.spec
Update to 3.12.2
[packages/gtksourceview5.git] / gtksourceview3.spec
CommitLineData
896eb13d
MB
1#
2# Conditional build:
44df7ec3
AF
3%bcond_with glade # install glade catalog
4#
5Summary: Text widget that extends the standard GTK+ 3.x
6Summary(pl.UTF-8): Widget tekstowy rozszerzający standardowy z GTK+ 3.x
7Name: gtksourceview3
8ecd71b7 8Version: 3.12.2
44df7ec3 9Release: 1
2a83e144 10License: LGPL v2+ (library), GPL v2+ (some language specs files)
44df7ec3 11Group: X11/Libraries
4254a2aa 12Source0: http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.12/gtksourceview-%{version}.tar.xz
8ecd71b7 13# Source0-md5: 92b42622337c428f75363d411f18d734
44df7ec3
AF
14URL: http://www.gnome.org/
15BuildRequires: autoconf >= 2.64
ff08bc53 16BuildRequires: automake >= 1:1.11
44df7ec3
AF
17BuildRequires: docbook-dtd412-xml
18BuildRequires: gettext-devel >= 0.17
d6606fc1 19BuildRequires: glib2-devel >= 1:2.38.0
44df7ec3 20BuildRequires: gnome-common >= 2.24.0
b2ed2af9 21BuildRequires: gobject-introspection-devel >= 0.10.0
4254a2aa 22BuildRequires: gtk+3-devel >= 3.12.0
44df7ec3
AF
23BuildRequires: gtk-doc >= 1.11
24BuildRequires: intltool >= 0.40.0
25%if %{with glade}
a4f31e42 26BuildRequires: libgladeui-devel >= 3.9.0
44df7ec3 27%endif
896eb13d 28BuildRequires: libtool >= 2:2.2.6
44df7ec3
AF
29BuildRequires: libxml2-devel >= 1:2.6.31
30BuildRequires: pkgconfig
31BuildRequires: rpm-pythonprov
67ae3529
MB
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
d6606fc1 34Requires: glib2 >= 1:2.38.0
4254a2aa 35Requires: gtk+3 >= 3.12.0
6a1741b2 36Requires: libxml2 >= 1:2.6.31
44df7ec3
AF
37# sr@Latn vs. sr@latin
38Conflicts: glibc-misc < 6:2.7
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42GtkSourceView is a text widget that extends the standard GTK+ 3.x text
43widget GtkTextView. It improves GtkTextView by implementing syntax
44highlighting and other features typical of a source editor.
45
46%description -l pl.UTF-8
47GtkSourceView to widget tekstowy rozszerzający standardowy widget
48tekstowy GtkTextView z GTK+ 3.x. Ulepsza GtkTextView poprzez
49zaimplementowanie podświetlania składni i innych możliwości typowych
50dla edytora źródeł.
51
52%package apidocs
53Summary: GtkSourceView API documentation
54Summary(pl.UTF-8): Dokumentacja API GtkSourceView
55Group: Documentation
56Requires: gtk-doc-common
44df7ec3
AF
57
58%description apidocs
59GtkSourceView API documentation.
60
61%description apidocs -l pl.UTF-8
62Dokumentacja API GtkSourceView.
63
64%package devel
65Summary: Header files for GtkSourceView
66Summary(pl.UTF-8): Pliki nagłówkowe dla GtkSourceView
67Group: X11/Development/Libraries
68Requires: %{name} = %{version}-%{release}
d6606fc1 69Requires: glib2-devel >= 1:2.38.0
4254a2aa 70Requires: gtk+3-devel >= 3.12.0
44df7ec3
AF
71Requires: libxml2-devel >= 1:2.6.31
72
73%description devel
74Header files for GtkSourceView.
75
76%description devel -l pl.UTF-8
77Pliki nagłówkowe dla GtkSourceView.
78
79%package static
80Summary: Static GtkSourceView library
81Summary(pl.UTF-8): Statyczna biblioteka GtkSourceView
82Group: X11/Development/Libraries
83Requires: %{name}-devel = %{version}-%{release}
84
85%description static
86Static GtkSourceView library.
87
88%description static -l pl.UTF-8
89Statyczna biblioteka GtkSourceView.
90
91%package -n glade3-gtksourceview
92Summary: Glade3 catalog entry for GtkSourceView library
2a83e144 93Summary(pl.UTF-8): Wpis katalogu Glade3 dla biblioteki GtkSourceView
44df7ec3
AF
94Group: X11/Development/Libraries
95Requires: %{name}-devel = %{version}-%{release}
2a83e144 96Requires: libgladeui >= 3.9.0
44df7ec3
AF
97
98%description -n glade3-gtksourceview
99Glade3 catalog entry for GtkSourceView library.
100
2a83e144
JB
101%description -n glade3-gtksourceview -l pl.UTF-8
102Wpis katalogu Glade3 dla biblioteki GtkSourceView.
103
44df7ec3
AF
104%prep
105%setup -q -n gtksourceview-%{version}
44df7ec3
AF
106
107%build
108%{__gtkdocize}
109%{__intltoolize}
110%{__libtoolize}
111%{__aclocal}
112%{__autoconf}
113%{__autoheader}
114%{__automake}
115%configure \
44df7ec3 116 %{__enable glade glade-catalog} \
2a83e144 117 --enable-gtk-doc \
44df7ec3 118 --enable-providers \
2a83e144
JB
119 --disable-silent-rules \
120 --enable-static \
121 --with-html-dir=%{_gtkdocdir}
44df7ec3
AF
122%{__make}
123
124%install
125rm -rf $RPM_BUILD_ROOT
126
127%{__make} install \
128 DESTDIR=$RPM_BUILD_ROOT
129
e40ce944
AF
130%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
131
44df7ec3
AF
132%find_lang gtksourceview-3.0
133
134%clean
135rm -rf $RPM_BUILD_ROOT
136
137%post -p /sbin/ldconfig
138%postun -p /sbin/ldconfig
139
140%files -f gtksourceview-3.0.lang
141%defattr(644,root,root,755)
142%attr(755,root,root) %{_libdir}/libgtksourceview-3.0.so.*.*.*
792e5866 143%attr(755,root,root) %ghost %{_libdir}/libgtksourceview-3.0.so.1
44df7ec3
AF
144%{_datadir}/gtksourceview-3.0
145%{_libdir}/girepository-1.0/GtkSource-3.0.typelib
146
147%files apidocs
148%defattr(644,root,root,755)
149%{_gtkdocdir}/gtksourceview-3.0
150
151%files devel
152%defattr(644,root,root,755)
153%attr(755,root,root) %{_libdir}/libgtksourceview-3.0.so
44df7ec3
AF
154%{_includedir}/gtksourceview-3.0
155%{_pkgconfigdir}/gtksourceview-3.0.pc
156%{_datadir}/gir-1.0/GtkSource-3.0.gir
157
158%files static
159%defattr(644,root,root,755)
160%{_libdir}/libgtksourceview-3.0.a
161
162%if %{with glade}
163%files -n glade3-gtksourceview
164%defattr(644,root,root,755)
165%{_datadir}/glade3/catalogs/gtksourceview.xml
166%endif
This page took 0.127776 seconds and 4 git commands to generate.