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