]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- rebuild with gnutls 3.5
[packages/vte.git] / vte.spec
1 #
2 # Conditional build:
3 %bcond_without  glade   # Glade catalog
4
5 Summary:        VTE terminal widget library
6 Summary(pl.UTF-8):      Biblioteka z kontrolką terminala VTE
7 Name:           vte
8 Version:        0.48.1
9 Release:        3
10 License:        LGPL v2.1+
11 Group:          X11/Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/vte/0.48/%{name}-%{version}.tar.xz
13 # Source0-md5:  de6dcb6af34ffe18763d17da3900fb20
14 Patch0:         %{name}-wordsep.patch
15 BuildRequires:  autoconf >= 2.63
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  docbook-dtd412-xml
18 BuildRequires:  gettext-devel
19 %{?with_glade:BuildRequires:    glade-devel >= 3}
20 BuildRequires:  glib2-devel >= 1:2.40.0
21 BuildRequires:  gnutls-devel >= 3.2.7
22 BuildRequires:  gobject-introspection-devel >= 0.10.0
23 BuildRequires:  gtk+3-devel >= 3.8.0
24 BuildRequires:  gtk-doc >= 1.13
25 BuildRequires:  gtk-doc-automake >= 1.13
26 BuildRequires:  intltool >= 0.40.0
27 BuildRequires:  libstdc++-devel >= 6:4.7
28 BuildRequires:  libtool >= 2:2.2
29 BuildRequires:  libxml2-progs >= 2
30 BuildRequires:  ncurses-devel
31 BuildRequires:  pango-devel >= 1:1.22.0
32 BuildRequires:  pcre2-8-devel >= 10.21
33 BuildRequires:  pkgconfig
34 BuildRequires:  rpmbuild(macros) >= 1.592
35 BuildRequires:  tar >= 1:1.22
36 # for test application
37 #BuildRequires: vala >= 2:0.24
38 BuildRequires:  xz
39 BuildRequires:  zlib-devel
40 Requires:       glib2 >= 1:2.40.0
41 Requires:       gnutls >= 3.2.7
42 Requires:       gtk+3 >= 3.8.0
43 Requires:       pango >= 1:1.22.0
44 Obsoletes:      vte-common < 0.42.0
45 # sr@Latn vs. sr@latin
46 Conflicts:      glibc-misc < 6:2.7
47 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
49 %description
50 The vte package contains a terminal widget for GTK+ 3.x. It's used by
51 gnome-terminal among other programs.
52
53 %description -l pl.UTF-8
54 Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
55 przez gnome-terminal oraz inne programy.
56
57 %package common
58 Summary:        Common files for vte and vte0
59 Summary(pl.UTF-8):      Pliki wspólne dla vte i vte0
60 Group:          X11/Libraries
61 Requires(pre):  utempter
62
63 %description common
64 Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
65
66 %description common -l pl.UTF-8
67 Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
68
69 %package devel
70 Summary:        Header files for VTE for GTK+ 3
71 Summary(pl.UTF-8):      Pliki nagłówkowe VTE dla GTK+ 3
72 Group:          X11/Development/Libraries
73 Requires:       %{name} = %{version}-%{release}
74 Requires:       glib2-devel >= 1:2.40.0
75 Requires:       gnutls-devel >= 3.2.7
76 Requires:       gtk+3-devel >= 3.8.0
77 Requires:       ncurses-devel
78 Requires:       pango-devel >= 1:1.22.0
79 Requires:       pcre2-8-devel >= 10.21
80 Requires:       zlib-devel
81 Conflicts:      gnome-libs-devel < 1.4.1.2
82
83 %description devel
84 This package contains header files for GTK+ 3 based vte library.
85
86 %description devel -l pl.UTF-8
87 Pliki nagłówkowe potrzebne do kompilowania programów używających
88 biblioteki vte opartej na GTK+ 3.
89
90 %package static
91 Summary:        Static VTE library for GTK+ 3
92 Summary(pl.UTF-8):      Statyczna biblioteka VTE dla GTK+ 3
93 Group:          X11/Development/Libraries
94 Requires:       %{name}-devel = %{version}-%{release}
95 Conflicts:      gnome-libs-static < 1.4.1.2
96
97 %description static
98 Static version of VTE library for GTK+ 3.
99
100 %description static -l pl.UTF-8
101 Statyczna wersja biblioteki VTE dla GTK+ 3.
102
103 %package glade
104 Summary:        VTE catalog file for Glade
105 Summary(pl.UTF-8):      Plik katalogu VTE dla Glade
106 Group:          X11/Development/Libraries
107 Requires:       %{name}-devel = %{version}-%{release}
108 Requires:       glade >= 3
109
110 %description glade
111 VTE catalog file for Glade.
112
113 %description glade -l pl.UTF-8
114 Plik katalogu VTE dla Glade.
115
116 %package -n vala-vte
117 Summary:        Vala API for VTE library
118 Summary(pl.UTF-8):      API języka Vala dla biblioteki VTE
119 Group:          Development/Libraries
120 Requires:       %{name}-devel = %{version}-%{release}
121 Requires:       vala >= 2:0.24
122 %if "%{_rpmversion}" >= "5"
123 BuildArch:      noarch
124 %endif
125
126 %description -n vala-vte
127 Vala API for VTE library.
128
129 %description -n vala-vte -l pl.UTF-8
130 API języka Vala dla biblioteki VTE.
131
132 %package apidocs
133 Summary:        VTE API documentation (GTK+ 3 version)
134 Summary(pl.UTF-8):      Dokumentacja API VTE (wersja dla GTK+ 3)
135 Group:          Documentation
136 Requires:       gtk-doc-common
137 %if "%{_rpmversion}" >= "5"
138 BuildArch:      noarch
139 %endif
140
141 %description apidocs
142 VTE API documentation (GTK+ 3 version).
143
144 %description apidocs -l pl.UTF-8
145 Dokumentacja API VTE (wersja dla GTK+ 3).
146
147 %prep
148 %setup -q
149 %patch0 -p1
150
151 %build
152 %{__gtkdocize}
153 %{__glib_gettextize}
154 %{__intltoolize}
155 %{__libtoolize}
156 %{__aclocal}
157 %{__autoheader}
158 %{__automake}
159 %{__autoconf}
160 %configure \
161         --disable-silent-rules \
162         %{?with_glade:--enable-glade-catalogue} \
163         --enable-gtk-doc \
164         --enable-introspection \
165         --with-html-dir=%{_gtkdocdir}
166 %{__make}
167
168 %install
169 rm -rf $RPM_BUILD_ROOT
170
171 %{__make} install \
172         DESTDIR=$RPM_BUILD_ROOT
173
174 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
175
176 %find_lang %{name}-2.91
177
178 %clean
179 rm -rf $RPM_BUILD_ROOT
180
181 %post   -p /sbin/ldconfig
182 %postun -p /sbin/ldconfig
183
184 %files -f vte-2.91.lang
185 %defattr(644,root,root,755)
186 %doc AUTHORS ChangeLog NEWS README
187 %attr(755,root,root) %{_bindir}/vte-2.91
188 %attr(755,root,root) %{_libdir}/libvte-2.91.so.*.*.*
189 %attr(755,root,root) %ghost %{_libdir}/libvte-2.91.so.0
190 %{_libdir}/girepository-1.0/Vte-2.91.typelib
191 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.sh
192
193 %files devel
194 %defattr(644,root,root,755)
195 %attr(755,root,root) %{_libdir}/libvte-2.91.so
196 %{_includedir}/vte-2.91
197 %{_pkgconfigdir}/vte-2.91.pc
198 %{_datadir}/gir-1.0/Vte-2.91.gir
199
200 %files static
201 %defattr(644,root,root,755)
202 %{_libdir}/libvte-2.91.a
203
204 %if %{with glade}
205 %files glade
206 %defattr(644,root,root,755)
207 %{_datadir}/glade/catalogs/vte-2.91.xml
208 %{_datadir}/glade/pixmaps/hicolor/16x16/actions/widget-vte-terminal.png
209 %{_datadir}/glade/pixmaps/hicolor/22x22/actions/widget-vte-terminal.png
210 %endif
211
212 %files -n vala-vte
213 %defattr(644,root,root,755)
214 %{_datadir}/vala/vapi/vte-2.91.vapi
215
216 %files apidocs
217 %defattr(644,root,root,755)
218 %{_gtkdocdir}/vte-2.91
This page took 0.088246 seconds and 3 git commands to generate.