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