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