]> git.pld-linux.org Git - packages/gtksourceview2.git/blame - gtksourceview2.spec
- more specific URL
[packages/gtksourceview2.git] / gtksourceview2.spec
CommitLineData
d5d0b186
PZ
1Summary: Text widget that extends the standard GTK+ 2.x
2Summary(pl.UTF-8): Widget tekstowy rozszerzający standardowy z GTK+ 2.x
3Name: gtksourceview2
a23bf7ff 4Version: 2.10.5
fbd81dd4 5Release: 5
9f716b11 6License: GPL v2+ and LGPL v2+
d5d0b186 7Group: X11/Libraries
f5816281 8Source0: http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-%{version}.tar.bz2
a23bf7ff 9# Source0-md5: 1219ad1694df136f126507466aeb41aa
9c5d0c31 10URL: https://wiki.gnome.org/Projects/GtkSourceView
f5816281
MB
11BuildRequires: autoconf >= 2.64
12BuildRequires: automake >= 1:1.10.3
ea0feac1 13BuildRequires: docbook-dtd412-xml
11ae3205 14BuildRequires: gettext-tools >= 0.17
4dd2f88e 15BuildRequires: gnome-common >= 2.24.0
d950a196 16BuildRequires: gtk+2-devel >= 2:2.14.0
f5816281 17BuildRequires: gtk-doc >= 1.11
84888df4
JB
18BuildRequires: intltool >= 0.40
19BuildRequires: libtool >= 2:2.2.6
9f716b11 20BuildRequires: libxml2-devel >= 1:2.6.31
93da476e 21BuildRequires: pkgconfig
ea0feac1 22BuildRequires: rpm-pythonprov
56c1c5d8 23Requires: glib2 >= 1:2.24
22fd88f0 24# sr@Latn vs. sr@latin
25Conflicts: glibc-misc < 6:2.7
d5d0b186
PZ
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29GtkSourceView is a text widget that extends the standard GTK+ 2.x text
30widget GtkTextView. It improves GtkTextView by implementing syntax
31highlighting and other features typical of a source editor.
32
33%description -l pl.UTF-8
34GtkSourceView to widget tekstowy rozszerzający standardowy widget
35tekstowy GtkTextView z GTK+ 2.x. Ulepsza GtkTextView poprzez
36zaimplementowanie podświetlania składni i innych możliwości typowych
37dla edytora źródeł.
38
39%package apidocs
40Summary: GtkSourceView API documentation
41Summary(pl.UTF-8): Dokumentacja API GtkSourceView
42Group: Documentation
43Requires: gtk-doc-common
93da476e 44Conflicts: gtksourceview-apidocs
fbd81dd4
ER
45%if "%{_rpmversion}" >= "5"
46BuildArch: noarch
47%endif
d5d0b186
PZ
48
49%description apidocs
50GtkSourceView API documentation.
51
52%description apidocs -l pl.UTF-8
53Dokumentacja API GtkSourceView.
54
55%package devel
9f716b11
MB
56Summary: Header files for GtkSourceView
57Summary(pl.UTF-8): Pliki nagłówkowe dla GtkSourceView
d5d0b186
PZ
58Group: X11/Development/Libraries
59Requires: %{name} = %{version}-%{release}
d950a196 60Requires: gtk+2-devel >= 2:2.14.0
9f716b11 61Requires: libxml2-devel >= 1:2.6.31
d5d0b186
PZ
62
63%description devel
9f716b11 64Header files for GtkSourceView.
d5d0b186
PZ
65
66%description devel -l pl.UTF-8
9f716b11 67Pliki nagłówkowe dla GtkSourceView.
d5d0b186
PZ
68
69%package static
9f716b11
MB
70Summary: Static GtkSourceView library
71Summary(pl.UTF-8): Statyczna biblioteka GtkSourceView
72Group: X11/Development/Libraries
d5d0b186
PZ
73Requires: %{name}-devel = %{version}-%{release}
74
75%description static
9f716b11 76Static GtkSourceView library.
d5d0b186
PZ
77
78%description static -l pl.UTF-8
9f716b11 79Statyczna biblioteka GtkSourceView.
d5d0b186
PZ
80
81%prep
82%setup -q -n gtksourceview-%{version}
83
84%build
85%{__gtkdocize}
86%{__intltoolize}
87%{__libtoolize}
88%{__aclocal}
89%{__autoconf}
9f716b11 90%{__autoheader}
d5d0b186
PZ
91%{__automake}
92%configure \
84888df4 93 --disable-silent-rules \
d5d0b186
PZ
94 --enable-gtk-doc \
95 --enable-static \
84888df4 96 --with-html-dir=%{_gtkdocdir}
d5d0b186
PZ
97%{__make}
98
99%install
100rm -rf $RPM_BUILD_ROOT
93da476e 101
d5d0b186
PZ
102%{__make} install \
103 DESTDIR=$RPM_BUILD_ROOT
104
e5422980
AF
105%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtksourceview-2.0.la
106
d5d0b186
PZ
107%find_lang gtksourceview-2.0
108
109%clean
110rm -rf $RPM_BUILD_ROOT
111
112%post -p /sbin/ldconfig
113%postun -p /sbin/ldconfig
114
115%files -f gtksourceview-2.0.lang
116%defattr(644,root,root,755)
84888df4 117%doc AUTHORS ChangeLog MAINTAINERS NEWS README
d5d0b186 118%attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so.*.*.*
9f716b11 119%attr(755,root,root) %ghost %{_libdir}/libgtksourceview-2.0.so.0
d5d0b186
PZ
120%{_datadir}/gtksourceview-2.0
121
122%files apidocs
123%defattr(644,root,root,755)
04f61f85 124%{_gtkdocdir}/gtksourceview-2.0
d5d0b186
PZ
125
126%files devel
127%defattr(644,root,root,755)
128%attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so
d5d0b186
PZ
129%{_includedir}/gtksourceview-2.0
130%{_pkgconfigdir}/gtksourceview-2.0.pc
131
132%files static
133%defattr(644,root,root,755)
134%{_libdir}/libgtksourceview-2.0.a
This page took 0.105189 seconds and 4 git commands to generate.